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": "cd5c2924-c8d1-4b50-9970-e9277b78f777",
"ParentId": "9dc72e21-b01c-48c5-8a6d-730b11782567",
"Fields": {
"sample string 1": {},
"sample string 3": {}
},
"LinkedEntities": {
"Contacts": [
"3c0c2e33-008f-4e61-b7d5-cb3f646a8b48",
"f6f89c22-68d8-48f7-9828-2090bb92f4ec"
],
"Companies": [
"b51435cf-1518-4f82-88d0-1806130e4d66",
"904a8821-374b-4b73-b240-9675005d77ca"
],
"Groups": [
"8e7177cf-c409-4150-a45f-f21b74b2a975",
"649ed379-d8d8-4612-a0da-4f725ff0d8a5"
],
"Opportunities": [
"bd611a1a-5fde-43a1-bad7-dbadfbfa291d",
"64456229-d715-45c6-8dc3-113cf726e735"
]
}
}
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:
"ef01f833-6c0d-471e-9cad-9fd0b22be66b"