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": "f16b70f8-4a10-4414-8fbf-e590bd2ad671",
"ParentId": "40d0b776-4242-4a81-8f6c-aa74ecebb210",
"Fields": {
"sample string 1": {},
"sample string 3": {}
},
"LinkedEntities": {
"Contacts": [
"083cc920-4d47-4591-8c13-72bf92ee742b",
"773bf028-7ecc-4673-8517-df5c61328b11"
],
"Companies": [
"cc1c72bc-a839-4faa-8192-6a4b0a35b593",
"698f8397-f5f3-45a6-8988-d190ff1f401e"
],
"Groups": [
"5e02b4c0-5c59-4124-87cf-69bb41f35589",
"74e9f081-0f69-4f7b-9f1c-edc8d784c40a"
],
"Opportunities": [
"f19e092e-e88b-4a86-8b94-5ed847447492",
"652bc682-e921-4e71-b403-c04c08ae8b46"
]
}
}
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:
"3bdefc87-95b0-4a3e-aee9-cccf5cc2f939"