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": "3eefb03e-1a67-4cbd-b8e4-f9b9c23f4ecf",
"ParentId": "44e51be0-8023-4bd9-9188-8e40c595b6d4",
"Fields": {
"sample string 1": {},
"sample string 3": {}
},
"LinkedEntities": {
"Contacts": [
"57bfd5ac-c164-4dc5-b94f-a78853243c86",
"5b187b04-9bef-4d5d-8b9b-e5544bf22549"
],
"Companies": [
"e042ba80-74e0-4ce4-a104-5f10e87182fc",
"32362b37-5ce1-4222-8206-a8e6a55dbbd9"
],
"Groups": [
"49e9095f-2819-473e-8653-758fc0ba1b97",
"50f3750d-ba46-49ae-be6b-919b5a8682c8"
],
"Opportunities": [
"2152269a-3ff5-4b05-89b3-cac6c428500f",
"0d01dca5-5ca5-4e6b-8e68-5cf56b5057d0"
]
}
}
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:
"12bcef71-327c-418b-8aec-a58651068588"