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": "0347a61f-0a7d-4a52-be23-a9faa68692c7",
"ParentId": "1224f193-b2ea-48f1-bbe9-7f36c42fe47d",
"Fields": {
"sample string 1": {},
"sample string 3": {}
},
"LinkedEntities": {
"Contacts": [
"ac3198e7-fe54-44ee-89bf-0c70ad25a93f",
"348b4faa-8123-4265-aa72-cb7d9d5caec6"
],
"Companies": [
"06bd3011-2b16-48f6-9d6e-5a8e5d17eed4",
"ea5eb0e9-d873-4950-9063-8e760570c3db"
],
"Groups": [
"98828a0d-c768-435d-b909-4fa2a08cc9d5",
"b16d43f2-8caf-4513-af53-f171ed06b2dc"
],
"Opportunities": [
"1971da6a-50f6-4122-98c6-402df1608280",
"4886a4a8-b130-42be-ac9a-2ae88a8f813b"
]
}
}
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:
"2abb2d58-6f02-445d-9e98-2a38ab0d76e4"