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": "ca10cd9b-275d-4894-a96d-a2c081a15146",
"ParentId": "f285f315-fec5-468f-be64-158da6793182",
"Fields": {
"sample string 1": {},
"sample string 3": {}
},
"LinkedEntities": {
"Contacts": [
"db2393a5-3934-4af3-97aa-3e626c32b7bb",
"d545bd0d-5236-42e3-976c-fc6738abeb0c"
],
"Companies": [
"9686bfd4-9727-4a6a-9370-86bc26aee017",
"682b6a8a-3b97-4cb0-95ed-5318817c50ea"
],
"Groups": [
"60792390-06fe-48eb-93f5-6e7d3a2e4549",
"a03d2bf1-5575-4657-91e9-0ec48238cc92"
],
"Opportunities": [
"30c1fe4e-194a-4d35-b260-bc60294c99ba",
"cb17ed58-7af8-463f-a4f1-a69e637d1b26"
]
}
}
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:
"e4792d8d-9239-4f3a-a31f-947972ff763e"