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": "6d3d9ab9-6224-4b8b-aa82-49e097cb14dd",
"ParentId": "ef9598af-0f12-433c-be97-a2858f68249c",
"Fields": {
"sample string 1": {},
"sample string 3": {}
},
"LinkedEntities": {
"Contacts": [
"93512af9-476d-410e-93c9-efcfe820db2b",
"12b70216-c2fc-4ab6-9e53-25b93aab1cb6"
],
"Companies": [
"00344678-a79e-4091-a53c-41037b204243",
"4e427cee-5621-4bbe-b358-591245726ab5"
],
"Groups": [
"d23fbc49-17a8-483e-90d7-5b039db38d1a",
"638c7333-b5b3-464a-9d18-b40efe188f8c"
],
"Opportunities": [
"4ab91db2-5408-470c-bf79-3f37574cffde",
"4d3801e9-3105-402f-b8e2-46ae163d8ec6"
]
}
}
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:
"4893bd99-018a-4160-922a-1d1ba2fd210f"