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": "7050eabf-8c7d-4ef7-a841-71b7f90a3637",
"ParentId": "31679c4b-1de8-4d7a-8070-5982f2518a0c",
"Fields": {
"sample string 1": {},
"sample string 3": {}
},
"LinkedEntities": {
"Contacts": [
"6a48adc4-b07f-4dbc-b259-5f7fc553702a",
"90c79da7-312c-4379-a67c-283db51573a8"
],
"Companies": [
"1d125125-be01-40e7-9940-00d44ab1a289",
"dbee75db-82fa-488b-8e6c-3532276f65ad"
],
"Groups": [
"a3673fb6-ef7a-4b4b-a7c6-eb4a6da04a32",
"c919ac8f-4a8a-422c-9cb4-40a0b457db0f"
],
"Opportunities": [
"c142e48c-9dfa-476e-b1d7-73d761bee571",
"26553b97-da8b-4bbc-a793-f0e8e94d2eaf"
]
}
}
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:
"434fb7e2-5dff-4ce5-9f18-bc4bff1ad8bb"