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": "9ec115d3-065d-49b5-b961-768d6b03eac9",
"ParentId": "19d49b05-e163-494f-a84d-817f6cbc61ba",
"Fields": {
"sample string 1": {},
"sample string 3": {}
},
"LinkedEntities": {
"Contacts": [
"af462113-6bfd-4a7f-8291-b34e33e8ffb1",
"11551fda-1adb-40b9-bf46-e0958a98f822"
],
"Companies": [
"85c06076-4cbe-45ab-ac1c-7539410074d5",
"2142e6ba-efd2-43fe-9344-eba7e22df4c1"
],
"Groups": [
"e29f6e4a-f3be-47f1-80b2-fbd53de12f7a",
"01409e73-e65c-4484-bd5c-42ed1758c825"
],
"Opportunities": [
"c8864d25-e1a3-4ade-9b63-eaf2d770cc88",
"008e3f09-9e87-4413-8380-2f81ae9b0c71"
]
}
}
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:
"5f77a2ec-c0a2-4c0e-abbd-688dd86fa15a"