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": "afbe3565-0f37-4232-8b3f-04582566f88c",
"ParentId": "926874cf-d165-4c93-b1c2-c1f882d40b68",
"Fields": {
"sample string 1": {},
"sample string 3": {}
},
"LinkedEntities": {
"Contacts": [
"35763255-87ca-4665-943b-a08ffc21e37e",
"d6fa6c8e-b2e9-4c9b-8d86-42158ab08a95"
],
"Companies": [
"3370f75e-c3b4-42ec-999f-b94dcb5fae31",
"74ed58af-100f-4a60-9052-f0addd410962"
],
"Groups": [
"215fec31-7b0d-4c9c-8fb2-76e49d39ef44",
"2a768952-82cc-4671-919e-38e483f770e0"
],
"Opportunities": [
"ea133bb6-d9eb-4ea2-bd8d-1ff9351927b8",
"cbfe3ca2-26c4-472b-891a-e1fb70d0541e"
]
}
}
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:
"940633ee-6028-4a0b-b722-bb1978d158cb"