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": "9bb75423-cdec-4a6f-969e-e70992fbbfa8",
"ParentId": "d7240eea-461c-430f-b91b-509f83ea9819",
"Fields": {
"sample string 1": {},
"sample string 3": {}
},
"LinkedEntities": {
"Contacts": [
"6efc842f-dec0-41ab-abe4-45cac214b670",
"8c0869dc-9a02-4e5f-8a88-579acf71b2d6"
],
"Companies": [
"28d46a8a-542f-498d-8fdd-08c136526eb0",
"116abe8a-0e1d-426f-8b29-8d0213a60ed7"
],
"Groups": [
"f8d456fd-7c11-436f-ade1-40b0f9fc863f",
"039e67a1-fa45-4b27-a376-1b94fbba758e"
],
"Opportunities": [
"2bf26cee-23ca-42a2-bc64-682a783af62f",
"f24eeae2-f247-4d69-b6c5-77e21346ffc6"
]
}
}
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:
"f194875a-c21d-4947-bdfe-d154b0e758f1"