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": "755d00a2-5489-4aba-b493-3167845761a3",
"ParentId": "983caaa9-1940-4614-99c5-3a5d35cb37c2",
"Fields": {
"sample string 1": {},
"sample string 3": {}
},
"LinkedEntities": {
"Contacts": [
"c97795f6-eaad-43a0-ba28-bc860bdd7ca3",
"718a4c47-6da0-44ab-8c3a-c9957f1aa819"
],
"Companies": [
"8ab0ca2a-569e-48c7-9f93-cc56d8311369",
"23dc0868-b197-48a0-8f1a-59ef4d2e7960"
],
"Groups": [
"9b34d6b2-7564-40f4-91de-dae0a1888206",
"7b345af8-433a-4232-82a2-df72cebbeca8"
],
"Opportunities": [
"5ffc20b0-93db-4b36-bbb4-b1a3a279ba1b",
"ff26f554-b0c3-4cb4-a053-06ad1ef46733"
]
}
}
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:
"b699176f-a180-44c1-9cb7-8875a4f336ed"