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": "d6da7bd5-33ff-4044-9223-d3fc98e3d3e9",
"ParentId": "e2abbb6e-485e-48e6-bd51-f8a86b7c1f6a",
"Fields": {
"sample string 1": {},
"sample string 3": {}
},
"LinkedEntities": {
"Contacts": [
"250f3419-ee29-4edf-ae1a-b1e97bb66823",
"57363709-6da8-4a70-9e29-32b50cd5fb2a"
],
"Companies": [
"ec91952b-a0ff-4d5b-bead-3a129a1ceb89",
"bc29fc82-392b-424b-a27d-05ef8efb90b8"
],
"Groups": [
"cb074d62-b70a-423b-800b-2727cea65bc6",
"0a7e74aa-2def-460a-a21b-3c92364e046b"
],
"Opportunities": [
"86e9fab0-2968-4018-9a2a-4324aa0fe044",
"050d3b3a-1519-437a-80b0-6d52f1889e17"
]
}
}
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:
"455c7383-9f4c-4469-99d2-f4e830410121"