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": "6542cd19-2ea3-497e-9708-af9d4063cec5",
"ParentId": "3a13318a-910f-4fa5-bddf-448bd03ba562",
"Fields": {
"sample string 1": {},
"sample string 3": {}
},
"LinkedEntities": {
"Contacts": [
"8ed30263-e412-4463-a537-4d9298e8b3c3",
"44138cee-863f-467a-a91e-48e4df62761a"
],
"Companies": [
"34f183c5-3de3-4ca4-ab31-7b38821ec5f1",
"358720f5-4e01-42e2-a647-88b91184ba33"
],
"Groups": [
"1f9dc4e0-498e-4d8e-a78b-c3a3fbba8923",
"2d7ad971-397c-4b96-9b72-3226b8a57bef"
],
"Opportunities": [
"88e1c9c4-462d-4758-b6e6-c3bd20f63f77",
"552c7768-ad37-45af-9828-32a37305e199"
]
}
}
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:
"f53da3ff-e04e-4689-8a98-7fe0f334eb07"