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": "ee638706-123f-43b8-9de0-c0f3efddea9f",
"ParentId": "48c98b9b-8d52-463c-9753-6ee465225884",
"Fields": {
"sample string 1": {},
"sample string 3": {}
},
"LinkedEntities": {
"Contacts": [
"67d58b32-fafe-419e-86c7-64bee83b8eba",
"c93c964c-58a1-4be1-b032-4a9ac30d5364"
],
"Companies": [
"b7f0c916-d9b7-44ca-9dba-f59a1eff47b8",
"11c6088b-70f0-4395-99eb-89584ec99d18"
],
"Groups": [
"591cb7b3-52f6-42f5-9de3-1232b75fece0",
"f5d7f5fa-64cc-4e9d-99cf-484fdf0ea237"
],
"Opportunities": [
"489d04e2-dcf0-4ab2-8558-4a799c7a856c",
"bc0519f0-cf17-4f3c-8744-88e943a6c4b8"
]
}
}
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:
"e0ca5033-c2e8-4f3a-b326-0913160e9692"