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": "d1b83f5b-d41d-49cd-a50f-9401b1223e48",
"ParentId": "8cc5ee75-c885-44a1-9076-d22768cf0f9a",
"Fields": {
"sample string 1": {},
"sample string 3": {}
},
"LinkedEntities": {
"Contacts": [
"7f38de8c-9a23-4f80-b78c-c6efbdd4b9bc",
"5367e4b0-0ce7-4cce-9882-78a436eb093d"
],
"Companies": [
"dc02b621-2d0f-42d8-9f7d-4083076ff0d0",
"da9465a9-e9fe-4f07-ad90-ff621bd06a04"
],
"Groups": [
"1f94f98e-6008-4093-a1a2-1dc6beac3f1c",
"4f67057b-2f53-4dec-9f6e-f2ffb42f0d80"
],
"Opportunities": [
"03fa927d-d348-489c-aa18-a5ff2fe3ae90",
"5a4e0698-e061-4f0f-bf77-5e17ace76d9a"
]
}
}
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:
"dbb4a6bd-c3db-4946-b80a-d0c8577477fd"