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": "9e0fa5d1-cee7-4c9e-8a11-3aad7da31adf",
"ParentId": "18226324-2d07-4454-8018-cc713c1adb97",
"Fields": {
"sample string 1": {},
"sample string 3": {}
},
"LinkedEntities": {
"Contacts": [
"469c2b86-55cd-4f91-90ae-6e5ce5e51e0d",
"a6cf2118-11d1-4b40-9e15-4e4e233f3844"
],
"Companies": [
"eeef977f-f289-45b0-b0d4-f6d509a39f53",
"e39c6143-127a-40d7-b297-e6a01c223f57"
],
"Groups": [
"75a3c1e2-23ea-44e7-b87d-9cf1ad8091f7",
"25ceb53d-6f2b-4a5a-bfda-fe7aaf4fa2f8"
],
"Opportunities": [
"5a2d9fcd-32da-490a-8c91-1f52b3a1af94",
"122cc9c3-9827-4661-8d7d-d7013c540b1d"
]
}
}
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:
"20ca9813-efc4-4fed-af28-309c23c7fc07"