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": "87417dff-9457-4308-88fd-9f389dc2d1fd",
"ParentId": "c06274c2-ec30-42de-a7c9-f23ea8737a52",
"Fields": {
"sample string 1": {},
"sample string 3": {}
},
"LinkedEntities": {
"Contacts": [
"8b6d8649-ef52-4cde-acfb-9e2ef72a7bea",
"49162155-1886-4df7-8e68-35fc72258a0f"
],
"Companies": [
"8397378d-6f5c-4780-8dd7-b08dfd02839e",
"d55b11a4-23c9-4734-b4c8-bc3bed5eba47"
],
"Groups": [
"b7064788-8197-4c2d-8422-84767c91ccc0",
"3276f5cb-0320-4422-a86b-7fc3ac84a2cc"
],
"Opportunities": [
"dc5e4880-08d7-4e3f-84ff-271cb1e8d108",
"ebf244d3-5c74-4c93-a187-d9a096594800"
]
}
}
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:
"03ba783c-362d-4855-a45f-f4e931a29344"