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": "44f9f1a0-1ca4-4484-ac36-542085305f8f",
"ParentId": "32b37aec-34be-41b8-bf83-11200da9f32c",
"Fields": {
"sample string 1": {},
"sample string 3": {}
},
"LinkedEntities": {
"Contacts": [
"ca56e38b-1d5e-44c8-9f7e-e1460f11a64d",
"5fbabde2-43f0-4161-ac65-18dc9f6ed9da"
],
"Companies": [
"a448db95-54a3-46cc-8242-2d2f38e1667d",
"d8556cdd-f7ca-4b2c-94a0-5e74f04d60c2"
],
"Groups": [
"49565ab0-1962-416c-b402-1983041aecd0",
"7fd4fe8e-94d0-4da9-9f66-61fa38f638b2"
],
"Opportunities": [
"bf9d3c65-a330-460f-8dd9-63c7b1984e6e",
"741d3a3a-28b9-4143-98f4-b213114dd138"
]
}
}
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:
"bfef21a2-6935-43c0-9e54-3d8fcbf104de"