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": "0d471a26-5c8f-49f1-ae31-c4e02f0d75af",
"ParentId": "cb890815-a4ef-4deb-a7ae-32ac99afa40d",
"Fields": {
"sample string 1": {},
"sample string 3": {}
},
"LinkedEntities": {
"Contacts": [
"b3b02d87-c1f9-46f6-85cc-b18dd078ee7a",
"7aab790e-f875-4cf6-a577-9312610dac93"
],
"Companies": [
"fc7da1d8-4e93-43e5-bb97-9817eba415ab",
"1aba3430-335b-4740-9328-6680ed9f5e44"
],
"Groups": [
"407a77f7-a785-4377-87fa-af0e5ced4cf8",
"153863d4-251f-4b05-8f91-1a7242a35acc"
],
"Opportunities": [
"d3d7b6de-642b-48a8-af7b-120e95e8babd",
"1d1529e0-88d7-46fe-893f-3ef648a997fb"
]
}
}
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:
"25a8943c-74f7-4e37-9420-8d704ab4aaab"