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": "d98fa415-ddd3-4582-a69b-a6b02d5be2e6",
"ParentId": "12b00c12-4f56-486b-a128-c78ea686f7f4",
"Fields": {
"sample string 1": {},
"sample string 3": {}
},
"LinkedEntities": {
"Contacts": [
"a4874887-49a1-4e13-a6cf-4eeaf315fdc0",
"f6ef8cf1-feb9-43e1-93b9-b82303437d52"
],
"Companies": [
"8bd32e21-7245-4ca9-8b1a-17239e25bb29",
"639608fb-1ce4-4ce7-b21b-db79176c7be0"
],
"Groups": [
"c0c75141-71a3-402e-89ca-6493c95cf7e2",
"6b0d9355-768c-404b-99f4-7edd0c3c54de"
],
"Opportunities": [
"d1a9a3f3-7c06-4df1-8bf0-ade84ae7fd27",
"04379821-37cd-456e-98d4-95e6b3812f25"
]
}
}
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:
"1f0dea4b-40ac-4219-a881-2394376cc5f1"