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": "0c0c6210-4e51-4c62-90c8-d184ac8e2fa1",
"ParentId": "6afa783f-ed9c-4cc5-98ce-c6d5b73a7b85",
"Fields": {
"sample string 1": {},
"sample string 3": {}
},
"LinkedEntities": {
"Contacts": [
"3759fe52-29bc-4f90-8bfb-6302c65fa44d",
"8119d7b8-178e-4077-9397-3bbd5f7869b7"
],
"Companies": [
"ee99406a-ed99-4f3a-ae5a-64738acfacf4",
"f64dbb71-9575-434d-88ae-63b03131e39d"
],
"Groups": [
"432a6ac7-79be-4318-bfd0-d75c6b1cf747",
"ddcd19a6-6137-4065-ad71-1e71b8750dcd"
],
"Opportunities": [
"e0101ed3-481e-492e-a04b-f80bae1bd047",
"7bbebf9d-598f-481e-a8a5-512600ef4f4d"
]
}
}
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:
"0165967c-5160-42d3-9eeb-ddc862ebc532"