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": "2523daae-009e-42ec-bca9-16215630ec7b",
"ParentId": "dc9c9e76-7d23-4fc4-b5e6-d196be0fb12e",
"Fields": {
"sample string 1": {},
"sample string 3": {}
},
"LinkedEntities": {
"Contacts": [
"68beaa13-043d-4f1c-b909-0a188ec0f0e1",
"f4199134-0c05-49c5-8bec-b1ebcf22dbd8"
],
"Companies": [
"cf20d92c-48a0-49ce-9668-8f73ad9fd42f",
"971b6e80-9213-467b-a94d-cb47960528ed"
],
"Groups": [
"f8cacf1f-373f-4fc0-ac3a-e71ab389460c",
"08bdc0e3-7aac-48ce-861a-2ca78dbac5cf"
],
"Opportunities": [
"6b99c943-9844-47a9-b1f9-a4d78941b50d",
"b80bfc45-769e-45a9-9c98-8afbac6f951e"
]
}
}
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:
"db0eff42-e8d2-4eec-b729-7627f185c82d"