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": "2647aecf-4f1b-401e-8243-42087ca42c8b",
"ParentId": "f8ecfd05-922c-4b3c-bb7d-28d132a9afe6",
"Fields": {
"sample string 1": {},
"sample string 3": {}
},
"LinkedEntities": {
"Contacts": [
"b7796128-07fc-44e9-9b62-86864035f6b2",
"1bdf1271-70df-436c-bfdc-16034d4b7af6"
],
"Companies": [
"8bd71dc9-233f-4935-90ca-2c727790b5be",
"1a882734-9b2c-479a-b7e4-eadad2e18c96"
],
"Groups": [
"92fca39e-0df0-4ffc-a910-9383ce839106",
"7240e47b-2034-4f15-9e84-4e0757253f89"
],
"Opportunities": [
"5cab10cd-5b6d-45fc-b916-800a659dd1ba",
"979dd820-aaaa-466e-8391-c5d82cdb78ad"
]
}
}
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:
"01d10bc7-ddba-48b4-8aa7-1983e69b23ce"