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": "d3c72232-1be4-4ccb-9750-d83911c08ffa",
"ParentId": "6af0502a-e076-4f9a-a77a-1c9fcc78c6f5",
"Fields": {
"sample string 1": {},
"sample string 3": {}
},
"LinkedEntities": {
"Contacts": [
"0bd32020-ef82-441a-a86e-a215d9b0cf22",
"cb6fa7e4-878d-40f3-94eb-a79e42c683d3"
],
"Companies": [
"28e7e2f5-d41f-4926-ab37-dd28d4490017",
"28051da2-e224-4d85-a0ed-e5c6bb720386"
],
"Groups": [
"2a5b95e2-4280-4584-a321-68c6831877d9",
"3e7176de-8cf3-46a5-908f-3a7d3d7939ba"
],
"Opportunities": [
"0ee9365d-ef98-42a5-b715-1231270989ba",
"d015e343-a4ca-4e47-90ce-ca12a7c7da62"
]
}
}
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:
"3089891d-d6c7-42c0-995e-dee9e45ef999"