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": "bc8cc5d5-7374-4e56-9172-d86eb926e57d", "ParentId": "d2b4057d-1fd2-4096-9031-1d70e522e5f3", "Fields": { "sample string 1": {}, "sample string 3": {} }, "LinkedEntities": { "Contacts": [ "3766d0a8-5789-40f3-844a-1b08dc3dec1b", "a8626f5e-12b0-4be7-a7c8-ea6acbdbf307" ], "Companies": [ "46952c87-4d96-4dc8-a440-e7dcac2d9072", "b9c3435b-0a42-4a9f-9671-9df0f8c89de0" ], "Groups": [ "2ea405ed-ccd4-4ef6-8dda-bff2ed24a5cb", "65de14a5-8d83-4443-baf3-72ac2cfaad12" ], "Opportunities": [ "c43509d5-78ed-4ba1-97ae-2ac1e6224201", "1356ad15-73a2-4f3c-8e5f-355ed544c350" ] } }
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:
"0bcef378-0ed2-4c3a-8a03-1d8606669ead"