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": "95306000-c79a-43d5-a57d-4970913bfb9f",
"ParentId": "5ed383c5-f98a-41a8-9ef7-7fd2744cbf79",
"Fields": {
"sample string 1": {},
"sample string 3": {}
},
"LinkedEntities": {
"Contacts": [
"bae8d07b-cbb3-419a-95a5-63c702a06fa3",
"19c90d0d-36e5-4940-b363-9649910893c1"
],
"Companies": [
"5f8f2528-8e3e-40b2-be5d-165d9d1a12f8",
"9c64a52d-3780-49ab-b985-b1a3be4e4aae"
],
"Groups": [
"c872c0d9-73b2-414b-9e37-098ad6ab82f9",
"e808617e-5499-4206-a2b5-48df7b909ea9"
],
"Opportunities": [
"62b35255-a406-4d6b-aa3f-4a150e174b47",
"dd84f4ec-90f9-4187-b78b-b3cefc1e384e"
]
}
}
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:
"9ca68f35-c22a-4c08-b40a-ac7f132538a9"