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": "6f2df7a5-b383-4598-b0c9-178dbf1a82eb", "ParentId": "28a27ad2-0494-4abf-900c-f63a1234eab4", "Fields": { "sample string 1": {}, "sample string 3": {} }, "LinkedEntities": { "Contacts": [ "f2a1be23-d197-4684-8896-ca3a974984b4", "1bff3ebe-1779-477b-a56c-62e889eea89a" ], "Companies": [ "eddfc64e-12ce-48ad-8535-8cbae9736ce1", "6f14d63f-286d-41e6-a247-0d02cd504644" ], "Groups": [ "200adcce-d6a8-410f-95b6-e4a1ca7617c5", "c203d4b5-ec78-465c-baa9-2152e8765a81" ], "Opportunities": [ "0cab5eb5-9b1e-48ad-8cf4-cb77e6296757", "3c9ec040-e4a4-4efa-ba02-cf858f06ed28" ] } }
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:
"7dc060c2-ac89-477d-8d5c-6ddfe9522d54"