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": "a17872ac-5d7e-46c7-aa39-f5c1bc2dc79b",
"ParentId": "d50b93ea-cc65-41ad-84ba-f9e951ffb6bc",
"Fields": {
"sample string 1": {},
"sample string 3": {}
},
"LinkedEntities": {
"Contacts": [
"4e7ded0f-21e8-497f-83b9-22e392209ff6",
"d06dcb04-2cea-45e9-bc0b-a54aca5c0489"
],
"Companies": [
"5c3cf0a0-90a7-4f3f-9c2b-05382457e676",
"a12c0295-2167-47ee-9ed1-593670c5cdee"
],
"Groups": [
"6c42e50f-a474-4927-9431-e52f33e9d563",
"33e3d0e2-99f8-4cc1-ad91-5f129f22339c"
],
"Opportunities": [
"31ecc10b-450f-4082-9dcd-bed2588b35e8",
"b19d5cb5-3613-40c0-a803-2e74496f78da"
]
}
}
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:
"7170c907-6c5a-43b4-aa63-7704a16f58f2"