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": "cdcd5d08-fa49-4bb1-a072-60016cc9e616",
"ParentId": "7f0eac84-55d7-42fb-8a62-9ae4c80eb358",
"Fields": {
"sample string 1": {},
"sample string 3": {}
},
"LinkedEntities": {
"Contacts": [
"81ead31d-bcfe-42eb-ae56-10909ab1fc9d",
"3847fe54-99fa-46ad-b90b-50a6993464b0"
],
"Companies": [
"57e7aea3-b15e-4071-b5ef-850663a08231",
"f4e79814-c564-4a64-95a3-197e8095781c"
],
"Groups": [
"555f666a-9889-49b5-870f-e2330d312408",
"9862fc54-e0b5-40e1-9b1f-d8b6d4f02fca"
],
"Opportunities": [
"906f2d91-fe20-47d2-a403-e337d87a0f35",
"f1d7bc6f-c090-4a41-92df-db79fd4cc61b"
]
}
}
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:
"3fee11a9-4ec8-49e3-9d07-63b4ffbb31ad"