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": "85c0ef34-6dc3-4dff-9633-abbbaa5df34a",
"ParentId": "dfa6b33f-a1cb-4e9d-ac4c-2cc6732cf3d9",
"Fields": {
"sample string 1": {},
"sample string 3": {}
},
"LinkedEntities": {
"Contacts": [
"66826f2b-fc70-4b31-9a99-9c604fe6bd88",
"653497cd-5a33-401b-a76e-607aac12916c"
],
"Companies": [
"bc2bdb72-c1c6-43ee-bd6c-310c3d860ae8",
"866b27a7-02d6-453e-8d76-b62e9e954ccf"
],
"Groups": [
"9cb4f2cd-cc40-4bfb-956f-4f3a43a7ffb7",
"eb077d25-aa6f-4fd7-aa2a-f3f5ecaa79c0"
],
"Opportunities": [
"ca03c263-f5b7-4295-a53d-14febf2ee42a",
"c3d00d35-0d90-4ace-983b-cc682389b29b"
]
}
}
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:
"5722a9a9-b048-4e0a-be7d-5e289655ff06"