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": "75ef8292-ed9d-4399-bd04-a40aa287c896", "ParentId": "15a1b94d-65ed-4657-949d-0cc22825a4dd", "Fields": { "sample string 1": {}, "sample string 3": {} }, "LinkedEntities": { "Contacts": [ "8774dff7-d990-4f31-bf8f-26d27073d4b4", "5a1aa2dc-87e1-4689-9971-6650c053144b" ], "Companies": [ "74da05a6-3e77-4591-9f3c-5e28f4b1934f", "2d98fc63-7802-4394-90a9-732573cd1742" ], "Groups": [ "d94f92c9-7a7b-4dde-adaa-2f2bc0a06109", "9e335a7f-ca87-46a5-82f8-ce38af525285" ], "Opportunities": [ "38b13fec-30f7-4cfb-9e8b-b402adadf567", "9670a25b-0f6c-456b-9518-529af190c673" ] } }
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:
"e9a497e4-d403-43dc-aa0e-c5639804874f"