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": "f7f6657a-f425-40b1-b134-e1f5985e13d9",
"ParentId": "20508d8b-d9a5-4900-be02-2bef83f645c7",
"Fields": {
"sample string 1": {},
"sample string 3": {}
},
"LinkedEntities": {
"Contacts": [
"678b5758-8b8d-46e7-ae3e-8c6d3252b515",
"324e9fdf-f127-43a2-9eeb-1b586c41204c"
],
"Companies": [
"b3d944e1-fab7-492d-bf4b-022be8d77b3c",
"cc913119-8a0e-479c-8ffc-669865d6c7a8"
],
"Groups": [
"abf99639-f202-4f3d-9690-066ae81187e1",
"99af3f1c-ff1c-4e31-9741-e29704759877"
],
"Opportunities": [
"a6f4a497-868c-4506-a18d-c280b6a2a362",
"e02d3589-e81d-4838-8e29-5075b342b68e"
]
}
}
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:
"fd7d919f-7f25-402e-9de0-2d22a9e999f2"