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": "8c584dfd-0309-4148-96dc-0dca34cb7888",
"ParentId": "5836255e-a4cf-4f43-8a26-5f1408d46cc1",
"Fields": {
"sample string 1": {},
"sample string 3": {}
},
"LinkedEntities": {
"Contacts": [
"509de461-ac9e-4ba0-af57-330ff4e66b41",
"7f459fb4-eb59-4d5a-aa1a-5300ab0cad18"
],
"Companies": [
"38087ae8-ec16-46ad-8baa-bf768ed379b2",
"93b6a19a-85d1-4d01-99d0-de5cbe074ce3"
],
"Groups": [
"baf9425e-f528-4e2d-949b-4ea6cb792243",
"d74ca7bb-e3b2-4828-bab5-ccc0065b6530"
],
"Opportunities": [
"b3af4dc8-214f-4149-a4e0-12809678e8d9",
"9029563d-65d8-404e-b436-ee6200e9eee4"
]
}
}
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:
"c7fade32-6f97-47e6-9898-7c952c8b1807"