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": "b6a9f3ce-44d6-40a9-986f-762d7c2d058b",
"ParentId": "efcad855-e49e-485c-8615-58ce247f2751",
"Fields": {
"sample string 1": {},
"sample string 3": {}
},
"LinkedEntities": {
"Contacts": [
"8d69fd01-e512-4a0b-94dd-5d481a0a2343",
"45bdbbbc-5c8c-4c08-8682-6f461b513462"
],
"Companies": [
"3a06beee-de45-451c-a239-0b026fbcb983",
"ad7b98a6-5ccc-4c4c-be7f-51135fa6b6af"
],
"Groups": [
"52638f3b-e0a1-492c-a032-2b36bf04f37f",
"2791549d-6d76-419d-b4fc-1cc0672e1043"
],
"Opportunities": [
"98ad0fd8-98a3-4436-8cf3-e6b00773bd65",
"df189745-b7f0-4264-a38a-325550640b3f"
]
}
}
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:
"4d52bff7-4d0e-4e19-8d3f-85647b456f63"