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
MutableEntityExtended| Name | 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": "79d26e3e-6140-4e9b-ae97-002d92f93a0b",
"ParentId": "32c10630-60be-48be-8dae-61a2f46a89a5",
"Fields": {
"sample string 1": {},
"sample string 3": {}
},
"LinkedEntities": {
"Contacts": [
"d4f86294-75d9-48b1-8984-0574f9bb8b17",
"6a3fa33d-e868-4eaa-b090-5f8fcf948417"
],
"Companies": [
"a41f0f5c-ffc2-468b-bcc2-031272e2607c",
"f703d7b8-4885-422e-a805-becb6f5c2536"
],
"Groups": [
"822b37b7-e73e-4e88-b309-6ebcddb0cf03",
"02c29b71-8566-4c34-83fb-6fce29fbeaed"
],
"Opportunities": [
"87e0cdf2-2e7c-4e59-9247-b0455c2613d8",
"07f2bb4a-eb5d-435d-a0fa-6512992041bb"
]
}
}
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:
"6d405df7-b152-4a81-8b3c-c8eed5ad8e64"