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": "9abb6243-1eab-4a9e-bf34-e69086268048",
"ParentId": "73a53370-ce03-45f4-afb5-5363006985ab",
"Fields": {
"sample string 1": {},
"sample string 3": {}
},
"LinkedEntities": {
"Contacts": [
"456fad18-8153-4168-8227-25d69dab3068",
"1385d0f5-a419-43e5-a44c-7e94c817298b"
],
"Companies": [
"a8137c60-2159-404c-8f46-5592b2702d2c",
"633208d7-662d-40a6-97b3-16adeefa4580"
],
"Groups": [
"5be93d57-89cd-4e49-b2ef-4a828edce963",
"1892393d-cd81-4133-9559-95a82d06b1ef"
],
"Opportunities": [
"5c83f1c1-a480-42ca-9a4f-39e6d806e335",
"a34b1411-4c58-48b3-a390-c8a0af011b3b"
]
}
}
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:
"2979f7bd-8588-4b5b-9edb-0c7358b1d5cf"