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": "7267d518-b236-4079-8edd-0886227c22b2",
"ParentId": "59b9f234-7721-4325-9596-e65028964067",
"Fields": {
"sample string 1": {},
"sample string 3": {}
},
"LinkedEntities": {
"Contacts": [
"12ac4838-a49b-49d0-8798-0a56e58658c1",
"260e3590-cc29-4370-a45f-526108ef9b8a"
],
"Companies": [
"3d6475eb-d294-4287-a817-ee708b56735e",
"8b378cdd-7e40-4977-b7c8-a24b40b88058"
],
"Groups": [
"2d10af23-e82e-4f84-b7f6-110aed5bbc62",
"f029662f-91a2-4a8f-9d21-1d28c01c25d9"
],
"Opportunities": [
"20cc90ac-7398-47d6-839d-f2f368a8ff06",
"05d9520c-0001-4a92-8e7c-7927e8f3a29c"
]
}
}
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:
"38731617-f13f-4747-8e45-83e66551dcda"