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": "407cb2f7-e80f-4de7-b6bd-0009e94694ec", "ParentId": "58ca75f1-97a2-44dc-92f8-b41390a23103", "Fields": { "sample string 1": {}, "sample string 3": {} }, "LinkedEntities": { "Contacts": [ "2496f80a-fdf2-46e2-925c-2e81fbc3d417", "8f6d3133-5b58-4b07-a4f4-4141c6d5c2d7" ], "Companies": [ "2cc6eaae-cabb-4095-b892-1fd15d139da6", "5847f445-ce1c-495d-a0c2-609bdd967df8" ], "Groups": [ "4156a9cd-032b-4f27-80b3-5b3c1a290f36", "40fa59e0-bdc2-4df2-9ab1-09103d061221" ], "Opportunities": [ "5b000b94-74c1-4cb6-a286-3211e26438f8", "dadd450a-1a56-4be0-82db-4b7448bfbeda" ] } }
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:
"8a60899f-74b2-44df-b87c-faac825ee13a"