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": "e224f02e-9d5e-4f46-b904-0369986ca28b",
"ParentId": "8d892578-2ff5-417e-9b0d-48ec7972b00e",
"Fields": {
"sample string 1": {},
"sample string 3": {}
},
"LinkedEntities": {
"Contacts": [
"4ab95e03-f33b-4970-b5fc-b202e96b1c57",
"e3d5001b-f256-497d-b51c-1671fb70221a"
],
"Companies": [
"d345d5d9-59e0-4be6-928a-bad13fa9f2dc",
"b0fc2221-cbb7-48cb-a60a-3f152de997cf"
],
"Groups": [
"88b80cce-8aa6-426f-951f-706faace4b62",
"6a98624d-7658-4bce-9f4c-de2addbd173c"
],
"Opportunities": [
"76cacc8d-d456-49de-a535-9648ad76b106",
"9a6f9215-7383-4660-8d10-dff5be1d1b2c"
]
}
}
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:
"6e84d18a-40d3-4025-a0d2-afbdf323b7bf"