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": "45023d29-14dc-49e8-add4-7eef722d51c4",
"ParentId": "ceaa05a2-c55a-4118-8a73-814700afa042",
"Fields": {
"sample string 1": {},
"sample string 3": {}
},
"LinkedEntities": {
"Contacts": [
"0820a005-7d21-417f-ad36-a30f8d64962a",
"2fc0ff2c-3e1b-4367-a75a-47c8a385cfe8"
],
"Companies": [
"824a9308-44ef-42a9-98f3-4367e1c9add2",
"6314e1b7-0d65-485f-8458-a19e20386468"
],
"Groups": [
"19f51279-6f5b-4246-bd0d-af51e1188a4a",
"10762563-7110-4da1-b37c-ff79031a5d65"
],
"Opportunities": [
"95070467-2cfc-489b-b239-9be2b2bd5f4d",
"0d169b26-54d3-4453-9ae3-f738b2536245"
]
}
}
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:
"c9f2e5f2-e86e-470d-8d70-6710428ac21c"