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": "a05912a5-dd1a-446d-b331-f9840f5d6d6f", "ParentId": "92b719c4-3ca0-48ba-bc40-f1e7171e43f1", "Fields": { "sample string 1": {}, "sample string 3": {} }, "LinkedEntities": { "Contacts": [ "04459d7a-d061-43d7-bd1c-4502ddfa90ba", "44de9595-e07b-40d9-83f8-796dba4290a2" ], "Companies": [ "ddb3ff91-907e-49bd-ab5b-56b4f083d7fe", "9ebdabb1-4a24-4710-afa5-6882767f21ef" ], "Groups": [ "e889c923-708c-4c2f-82ee-fc9f68ea6c75", "37a4786d-feeb-41e9-86a2-5fd9467818ff" ], "Opportunities": [ "00046d7d-fa54-465a-88a7-76d68de88e62", "e5df6aa8-3367-4a12-867f-170aa1cccba3" ] } }
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:
"b0ee8b9f-359d-46ab-ac4c-41177a923684"