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": "12a987bf-9966-42af-b5bc-1976914e6788",
"ParentId": "46caadf3-dc3f-48bc-bbb5-d13c45115cc4",
"Fields": {
"sample string 1": {},
"sample string 3": {}
},
"LinkedEntities": {
"Contacts": [
"03e7bf78-3e07-44c7-aad9-403cb9e47ad0",
"fc2f3e12-db07-4a37-8a51-027640703364"
],
"Companies": [
"abf191dc-a702-41dd-b088-11a353f0501e",
"764d1736-10ea-4bc1-b715-868a58fed5e7"
],
"Groups": [
"e410f142-bfea-48a3-a224-4338be4a7541",
"fdd09826-b64b-48e5-9831-5ce867a0ee16"
],
"Opportunities": [
"8490aa0a-d7a6-45a2-8726-f8eb16e37f3b",
"3a5a654c-8175-4ba0-81fd-4194b59d77e4"
]
}
}
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:
"14b4592f-9ba3-4926-b376-c87216b12c8d"