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": "dba0248b-4fa1-4927-93ed-49e683134457",
"ParentId": "1d910da0-0262-4789-876c-7bec77c9a801",
"Fields": {
"sample string 1": {},
"sample string 3": {}
},
"LinkedEntities": {
"Contacts": [
"34647d0c-18d2-4cd3-8a63-0abe139eeda9",
"b315bf4c-4fb0-4040-a5f0-77365ab96cf4"
],
"Companies": [
"523598c4-a2d8-4c47-89a8-03ccde05fc64",
"edb12f82-7cfa-42f8-8058-23984fb1f14b"
],
"Groups": [
"10502445-d410-4cd5-b1e6-a519aa41da7b",
"84523891-ecb1-4f41-819e-3d42bdbf5e64"
],
"Opportunities": [
"7ce1b17c-554a-43ea-a5b0-d4550c864f40",
"54a723a0-67a6-4dfe-b8b2-a05a186e5248"
]
}
}
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:
"3041a8da-4872-43f3-8ce8-b1874efb4c30"