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": "69f1d66c-87f9-4a38-915c-5f63218e243e",
"ParentId": "c4334462-11ff-49d1-8718-2b95046a63fc",
"Fields": {
"sample string 1": {},
"sample string 3": {}
},
"LinkedEntities": {
"Contacts": [
"1a4875e0-35a8-4a9a-81fd-087eea295a88",
"7994ca48-1afd-47fb-bed4-c8e0f6acdcca"
],
"Companies": [
"6b717dd0-682c-43ef-b4b5-39cd7e9cfb89",
"a5d885ae-7134-4d41-ac2a-733963210630"
],
"Groups": [
"cbb2152c-5ac4-4161-9b82-75d970a50fab",
"52a64e81-8fb6-4afc-bd17-3f711ff3d96e"
],
"Opportunities": [
"301db337-cd18-41b2-9285-efe8be163b0f",
"b158c6be-3ed4-4643-88e7-9a14c535bef7"
]
}
}
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:
"46168fbc-1fde-45d9-89f8-fe76d67e03d7"