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": "4830ddcf-1c7f-4902-b04f-3bb6d139d39f",
"ParentId": "0f59ce80-479c-4cc3-9a21-8909f6c1c3e8",
"Fields": {
"sample string 1": {},
"sample string 3": {}
},
"LinkedEntities": {
"Contacts": [
"a1b09635-9d65-4801-9cdd-15e796d56a5d",
"cf444397-9b08-44aa-82f1-5a078b40d2bb"
],
"Companies": [
"6d8d6f45-024f-477a-8728-01fabdf3ddd0",
"e6fe6214-4e80-4365-85f2-a4106abed5d3"
],
"Groups": [
"59ce27fb-1e51-4a05-87a7-859212efbc45",
"b5c879ce-9a18-4f71-b6ae-1d8dad282427"
],
"Opportunities": [
"87940885-462d-4111-a4f3-9430dc43c550",
"5517e251-7416-46ab-a225-20f23c4ea1a1"
]
}
}
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:
"46da2699-89a2-4aad-86a8-c99303069cbe"