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": "0168b457-1d27-4282-a1b2-3315d59bfd07",
"ParentId": "d85f7a73-bc51-40ee-9196-4d6ace52fc9d",
"Fields": {
"sample string 1": {},
"sample string 3": {}
},
"LinkedEntities": {
"Contacts": [
"c082e5c0-052d-44cf-abe3-e7b495b07c7e",
"160dfe35-5412-4cd4-8d38-f8b06e913733"
],
"Companies": [
"f7eb1122-dfd4-49bf-a7c8-698d477d63f0",
"7fcbe430-c0a8-4365-a1ff-acd14b407e28"
],
"Groups": [
"019653eb-9910-4aae-a115-269f5fb991e1",
"9bf1f7df-3e8e-48c8-bfb4-c08741db1850"
],
"Opportunities": [
"afbabdb0-05ad-4685-a6a1-4cb44898ccee",
"df2ca944-19a2-4a18-b8f8-29aff5e8d96f"
]
}
}
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:
"b8f812c7-f45a-42a0-91f4-a86b5b264cee"