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": "8cc5dce0-0aa2-4dbc-9392-994ff8007a3d",
"ParentId": "8ea6d0bf-8236-4f50-baa0-aca7c9adfd0a",
"Fields": {
"sample string 1": {},
"sample string 3": {}
},
"LinkedEntities": {
"Contacts": [
"f7b77b75-3a07-4610-929c-bc70d085b93d",
"c2aee2d9-7343-47b2-a3ba-365e09138e29"
],
"Companies": [
"23cf74db-d844-4580-9b0d-3cd8f92c804b",
"ab7566fd-69f7-4f81-8abd-49e0e32d1aad"
],
"Groups": [
"b3abfd3c-8db1-4258-abee-2625da55af61",
"068c98af-b2d5-4adc-9ea7-03499217348e"
],
"Opportunities": [
"37555945-2834-48a2-8eb0-a7dd3721be9f",
"87217e51-9507-461e-9ac4-5af481a4fa04"
]
}
}
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:
"f21d552e-dea5-4e87-a4b6-3726a1ec2b37"