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": "e74b2d39-94e8-4e21-83db-57c1a63311dc",
"ParentId": "e202e71f-000f-405a-aa55-99c75ac743ec",
"Fields": {
"sample string 1": {},
"sample string 3": {}
},
"LinkedEntities": {
"Contacts": [
"7302af2e-1619-462b-b6c1-c7e6ab2f327c",
"28f260de-9a6f-4c7b-9ee7-691b2639b629"
],
"Companies": [
"2fe2498b-3e89-45d9-8b3b-1a899bbb531c",
"7ed87da1-71a7-4dc8-8472-f3e00acb537e"
],
"Groups": [
"6fed232e-806b-483c-9e50-d9c134d1db01",
"627ee401-9701-4bf5-accb-e3fa9ef2df97"
],
"Opportunities": [
"bf109c7d-4924-466c-b9a6-d386806a0345",
"396c16d2-9eac-4f4c-8faa-3ab258c368c4"
]
}
}
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:
"44b0b5ae-112e-4905-bd6b-2522bcdef8bd"