POST api/Groups
Create a new Group Record.
Request Information
URI Parameters
None.
Body Parameters
The Group record data must be passed in through the body of the request in Json format. Set Content-Type header to application/json
MutableEntityExtendedName | Description | Type | Additional information |
---|---|---|---|
Id | globally unique identifier |
None. |
|
ParentId |
This field will only include data when working with Group records. |
globally unique identifier |
None. |
Fields | Dictionary of string [key] and Object [value] |
None. |
|
LinkedEntities | LinkedEntities |
None. |
Request Formats
application/json, text/json
Sample:
{ "Id": "a6d10619-e0f2-4e30-a81e-7c0ece1b1b87", "ParentId": "30d7eba9-3a20-405a-b88b-50eeb2c28e54", "Fields": { "sample string 1": {}, "sample string 3": {} }, "LinkedEntities": { "Contacts": [ "be90193d-6ea5-4c77-8dd4-055ee499b37e", "b5f30612-45b6-477c-97c0-319ea1962663" ], "Companies": [ "bc1ec208-3ad2-4406-8b34-9798acf7286f", "8ddfb58b-9bae-4a8e-b686-e94022a0605a" ], "Groups": [ "b5a5e807-4324-4112-a88e-4128ddcff6e9", "ea8114a3-0879-4906-ba13-19d701bb348c" ], "Opportunities": [ "1a5738e2-3631-432d-8d3c-2495e0cef47b", "1bd29771-00fe-464f-aa77-063ae4080309" ] } }
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
This endpoint returns the GUID of the Group record once it is created.
globally unique identifierResponse Formats
application/json, text/json
Sample:
"7c0826cf-6388-4c7b-9dc8-6042339fafde"