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": "bd14b746-f95c-4f10-a7eb-5cf6e8a57f57",
"ParentId": "8dc60ebe-2071-4332-9711-f4d2c9a0fd13",
"Fields": {
"sample string 1": {},
"sample string 3": {}
},
"LinkedEntities": {
"Contacts": [
"20792d4a-9786-4a2f-bbfb-0aa6abde0f8b",
"8de1db0c-11e3-4f15-af1e-255e2f886e0f"
],
"Companies": [
"aaca5ad4-325d-484a-8a50-93f46df466d8",
"b3c511f7-388b-4016-89de-3daf8194394b"
],
"Groups": [
"20b70f9c-7b4d-401f-b3ba-b628eda330b5",
"bdfb88da-ffdf-4687-be9d-eb69ccd8687d"
],
"Opportunities": [
"719f9b63-c48e-4dbf-aeb0-bb40b2be38fa",
"f0c07fd5-731a-4491-9c52-1801bede698b"
]
}
}
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:
"09d602ec-eed4-44d0-83ac-ae2ba5836f0b"