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": "ba107c4c-729d-4c70-be3c-32a0f43a296f",
"ParentId": "653d502e-5ad1-4dcd-a222-1f0891ce73e6",
"Fields": {
"sample string 1": {},
"sample string 3": {}
},
"LinkedEntities": {
"Contacts": [
"4f7c66da-a331-47a5-b442-c4ceab42407e",
"afe5c4b8-367c-48fe-9a51-105a8602d325"
],
"Companies": [
"362dd666-2183-4f0f-aae1-da7c8e6bc780",
"f72dc737-c78f-42e4-9852-a28834422064"
],
"Groups": [
"615a6dbc-8efd-4c02-9349-2a267e377296",
"74a39736-8677-4f8c-a79e-12a9dfab0f67"
],
"Opportunities": [
"0eac7d00-0ac2-460b-9d6e-dfc02aa1bd0d",
"787c2d84-97ec-48e2-986d-8da99258a79a"
]
}
}
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:
"72b4d28f-3016-43b6-a403-b7e6b9a4d98b"