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": "8077bc6d-c944-43f9-b01f-8b63abd32832",
"ParentId": "0cfcb418-6476-4414-b669-c7d0036af5cd",
"Fields": {
"sample string 1": {},
"sample string 3": {}
},
"LinkedEntities": {
"Contacts": [
"8ddd3045-6573-48a6-8b97-d6f5e609d946",
"4a07f5de-5a73-4365-9262-6ec11f1bc002"
],
"Companies": [
"41d7ccda-7098-4df7-b757-4c265f4e4af3",
"bb73c34b-8af3-46e7-b71a-629a5e78b8d4"
],
"Groups": [
"69793713-4307-4c35-b266-89c7b1af7599",
"608653c6-2afc-4f09-8048-f00753270b52"
],
"Opportunities": [
"dee32ea1-ca03-45ed-841d-d7dc4fcd12c9",
"4d531eaf-06f6-45de-8fbf-34fe96046e8c"
]
}
}
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:
"e3982203-ade4-4b33-9559-af82337207a1"