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": "0b583d6e-da9a-4df8-92c8-8a83db00c0c8",
"ParentId": "2d953a46-a772-4c7e-9b59-0355b9976ea3",
"Fields": {
"sample string 1": {},
"sample string 3": {}
},
"LinkedEntities": {
"Contacts": [
"0e6c4ae3-694f-453c-90aa-4484054b0d9a",
"3dc9755e-3fb8-42ee-af36-f8adf978205a"
],
"Companies": [
"032ad776-d1bc-4e5e-a27e-edc996445ca9",
"b4fdfc3c-b262-4dfc-b6e6-bceb1f14a083"
],
"Groups": [
"994114c2-e584-4eed-885f-51dcfd79648b",
"9945667a-8bf6-4670-8a48-e41a4cc85ac7"
],
"Opportunities": [
"eea5ab8c-ab34-478b-bb41-0b0419d77184",
"0e63fff1-651f-4209-8290-ecfe46380092"
]
}
}
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:
"018b1a8a-da41-4649-9c77-48dd0bcd2790"