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": "4a08101a-557f-40f5-aaa6-c02d61758eaa",
"ParentId": "ca6d2ac3-5af1-41fa-bda8-e6e98417ed9d",
"Fields": {
"sample string 1": {},
"sample string 3": {}
},
"LinkedEntities": {
"Contacts": [
"0c9e0284-b69d-4b4e-98a2-3167a221e1d4",
"40168fd4-6046-4c78-b740-a97ed272eb6e"
],
"Companies": [
"281723e6-d50a-4df3-a48f-9bcd212f65b3",
"dd583eb4-085b-4411-91b5-88d1b22c962d"
],
"Groups": [
"a9cd06c5-858c-4677-af5a-9917251986f5",
"4703dc59-2866-4d44-8847-95bf18e3b3b2"
],
"Opportunities": [
"791aa373-742a-4be8-a8e9-3fad2fa2f984",
"285175a1-47e8-4a73-8f3a-a3c8ae9aedcd"
]
}
}
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:
"84fc7dde-2824-4929-aa2f-85b01675d9f3"