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": "ce01c043-5426-4fe2-81ea-1a0cbfb86416",
"ParentId": "7bd729c4-2d99-4d99-8235-dde2be67675f",
"Fields": {
"sample string 1": {},
"sample string 3": {}
},
"LinkedEntities": {
"Contacts": [
"a7880180-d601-4174-9ee1-62f92a43162d",
"7a10226f-af9c-4c32-8386-5b3e71b508bf"
],
"Companies": [
"1fa56ea2-2eda-4404-828f-e0eae12c01e6",
"0a42eb4c-af02-4d23-ae84-4e779f9a3eaa"
],
"Groups": [
"b2af5746-5913-422c-aa8c-20518579d9a4",
"512c55ee-6272-42cf-a5e8-e4d735d5e8db"
],
"Opportunities": [
"e4c5c792-88e3-40cf-9b3a-7604edb852b1",
"e7a3f1be-87cf-4068-bc1c-0c20ee631d64"
]
}
}
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:
"320ed4a1-1ebf-4c20-ac75-8d2c691c3a2f"