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": "a8bc20f2-55f2-49e1-8880-21db586fbd83", "ParentId": "ecff3e23-b8cd-4380-950c-32d8048f97f9", "Fields": { "sample string 1": {}, "sample string 3": {} }, "LinkedEntities": { "Contacts": [ "24365f1b-ac1b-4e04-af35-05772f8bff99", "fd22e36e-cce8-4810-9885-707c26f7363f" ], "Companies": [ "3e7d1daa-a188-43da-b598-a8249aa4886a", "1d0e62d3-f69c-4493-8289-936edd6bdfeb" ], "Groups": [ "152c28f4-96e5-4f37-a58b-d13f71509b35", "5c06a11e-27f8-45f8-978c-fba420325578" ], "Opportunities": [ "845f6c07-52ca-4889-b1f0-73dda80c1ee0", "e0dfff72-95f6-49d9-8998-7f57fb99bdff" ] } }
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:
"35ac745b-9fe4-4821-be07-54b449b36699"