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": "352dcfc4-8b17-4d5d-99d8-2c67d620ac54",
"ParentId": "60f07667-ff42-46b3-8957-3a74d2dc3a07",
"Fields": {
"sample string 1": {},
"sample string 3": {}
},
"LinkedEntities": {
"Contacts": [
"712070b2-e8c4-4934-b78a-635ae671c95d",
"a6d8aa1f-7d86-48fc-8df2-2a7786b010a8"
],
"Companies": [
"f2ad1544-6630-4cd2-b0dd-eb789a5cdb60",
"e9dd02db-6506-4200-83b6-d9cfe8287e41"
],
"Groups": [
"f1699ec8-af62-474f-a15d-8c11a7642ebb",
"18a8f1f5-acbb-4893-81af-0811eb53cfc7"
],
"Opportunities": [
"9bb3a63c-34e8-44c6-8afa-7526b22dc905",
"6ce0a64e-e0fa-4016-9578-550dc6cb3129"
]
}
}
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:
"76365ee6-23fb-4eaf-984e-adfdbe618055"