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": "24263592-2691-49c7-9a51-632dd77ba12e",
"ParentId": "f88cbc40-8f62-48df-adc5-fe014823cfdd",
"Fields": {
"sample string 1": {},
"sample string 3": {}
},
"LinkedEntities": {
"Contacts": [
"321b82a8-f437-4d53-8e40-d66093a4bcb9",
"9fb5233d-e53f-4cf5-b8ea-ea022c87a5e0"
],
"Companies": [
"4dfa8f42-b340-4db3-8876-f7bf09c38ac7",
"428dc9ca-1a88-4233-a163-1bd5f38f246e"
],
"Groups": [
"341cdebe-4c0e-4947-b00f-63e2a8fb955a",
"98722d84-3eb6-4f01-8095-b71a21e8b571"
],
"Opportunities": [
"dabc6146-af07-4a20-926a-bda0be8ea7b5",
"dec8e1b0-13ad-4ad7-8afe-2e0e6bfad227"
]
}
}
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:
"4cd642b1-44a6-4d77-bec6-7ba51b5883fd"