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": "b1681b72-a50e-4351-9eee-52ded4533378", "ParentId": "564ab6c0-16c7-479e-af3b-0e4a2fae6a20", "Fields": { "sample string 1": {}, "sample string 3": {} }, "LinkedEntities": { "Contacts": [ "033fb73e-1bb7-49d7-ae8c-407e2eecb0b7", "f9e4fe27-86cf-457d-8de5-802c849047a8" ], "Companies": [ "5acfd817-3a52-4793-bfbf-f838402f3617", "89d1ac30-ad14-44d7-82aa-e81e17fde09a" ], "Groups": [ "84ab9607-89c5-4dce-9220-99a588b8a6d0", "125217b7-297f-4c1b-b57d-fc357b993bdf" ], "Opportunities": [ "eeee5064-2d68-45ea-8e67-938ddba07687", "9b9a7dbf-c619-497b-a781-831c85305beb" ] } }
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:
"5c560a1a-9142-469c-92a9-ffe841a1fde3"