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": "a25072a1-6899-4b54-8b77-9e023deaeed8",
"ParentId": "c23ef147-173b-4cde-97ee-e21ec84fbc7f",
"Fields": {
"sample string 1": {},
"sample string 3": {}
},
"LinkedEntities": {
"Contacts": [
"3fd47304-d9ad-442a-850c-a85c4dd35280",
"5d9d83f1-f896-4e4b-8383-2b85dc550896"
],
"Companies": [
"3ff24a45-8ca5-4373-bae9-c6645d96d258",
"99b56151-5a87-48fe-9b9d-8ef130703489"
],
"Groups": [
"f057dfb3-6974-4943-88d8-f61a301cacfe",
"cf8d9e99-1d12-4898-84f9-6404ff29c408"
],
"Opportunities": [
"c8c1e946-a4f1-44a7-be92-4dc862b60bc9",
"2f5c7049-5e7e-4882-ac6a-909276f53f45"
]
}
}
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:
"999a7409-b163-4f2e-b989-ada145aa89e7"