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": "33bd0641-1122-4968-8ae5-24f207263a78",
"ParentId": "70dac70b-f417-48fa-8f66-86df423a0286",
"Fields": {
"sample string 1": {},
"sample string 3": {}
},
"LinkedEntities": {
"Contacts": [
"39c4e2f0-f0b8-42e1-a710-8a6a3adfa51b",
"6c7ec976-0c67-4aa8-a0da-003521406cb2"
],
"Companies": [
"0160b80d-6e39-40d0-aa9a-e21e33dd8ece",
"3e723323-9856-4b35-a20e-03f6171d6dcc"
],
"Groups": [
"bef31be7-af47-4e58-945c-7273b461b3b4",
"d7a8cf66-fca7-4615-a256-862e3d02c2fc"
],
"Opportunities": [
"80f58895-4e11-4845-babb-8674e89107cf",
"fd82ce51-06a2-45dd-a831-403c2e10a45a"
]
}
}
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:
"77b81388-6ab6-4ab4-831f-fb4b18fcb4a4"