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": "2eb5f795-db8c-485e-9a08-8388d05cb73e",
"ParentId": "20970a59-3722-4675-84d6-729192073f4d",
"Fields": {
"sample string 1": {},
"sample string 3": {}
},
"LinkedEntities": {
"Contacts": [
"19ab95f6-8acd-4c9a-81f1-14eff9e6c7bd",
"59e0065f-4014-49bb-ab7c-3692ac2e09a0"
],
"Companies": [
"614aa130-2406-4140-bcca-4b902c292eda",
"26515f9a-2470-47dc-92f8-82f46f4931f1"
],
"Groups": [
"cab27653-55be-4fb6-b489-1d6f1e230e87",
"5a6fcb7c-ffd3-4b7a-81be-c703b3178033"
],
"Opportunities": [
"dbd4b8f1-7367-4807-afcf-2f152cb2a37b",
"8b4eb03e-ba9e-4c80-ba7d-d308bb52e3d0"
]
}
}
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:
"90dbc9d9-0d00-4c0b-9e53-0f23dab7f835"