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": "c7720a14-80fb-4ee5-ad4c-58c628da94ed", "ParentId": "1543c05a-9fbb-47cb-aaf3-310350f9954a", "Fields": { "sample string 1": {}, "sample string 3": {} }, "LinkedEntities": { "Contacts": [ "7b227fb3-69a1-47fc-904e-458d05b547de", "164dddf5-14c1-4948-8114-edf622c51823" ], "Companies": [ "7d3e120f-508c-4165-be5d-93f8865a4918", "092d220c-43a7-4739-9745-768bb39ee314" ], "Groups": [ "e4c19a50-5f42-4133-b3c1-97cea9d5a36e", "05b9d1b5-2d66-4c4f-8f10-7c5ef77b53d0" ], "Opportunities": [ "6b2d93e7-b1b0-4987-b842-ec1f1053ec8f", "92e6c9b8-8d9e-49bd-9ca1-5cc55487f470" ] } }
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:
"23ad386f-1324-48e4-adff-6863c1e1f38e"