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": "4c407a3a-77d3-48f3-8c57-1ecd6d83619a", "ParentId": "c808257b-4163-4a57-97e2-8df8db77445f", "Fields": { "sample string 1": {}, "sample string 3": {} }, "LinkedEntities": { "Contacts": [ "5685af9f-5bb1-4fd6-92c4-1b3893a79db1", "afe38e4e-ff14-411a-9bd6-01135251765d" ], "Companies": [ "9f6fa523-9a21-47ce-ae98-32ecdea34a3e", "40880cdd-c5d4-4eaa-b9e6-2d60258e20ed" ], "Groups": [ "e21e0e41-bbc6-4d1e-a288-9a43f88d001c", "96261f31-1567-4ff6-a991-016ad8b49351" ], "Opportunities": [ "de5afaa6-5c2f-4427-93b5-eeb1c9ac67b8", "115bc7ab-4fb2-44cf-83fc-33aabdb489c7" ] } }
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:
"c2845019-d2fb-4aba-a590-d72545ddace8"