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": "05f6f571-05f6-4afa-9a55-2cc22858ac88",
"ParentId": "7c81747f-728a-4973-b523-ec15d6058e26",
"Fields": {
"sample string 1": {},
"sample string 3": {}
},
"LinkedEntities": {
"Contacts": [
"530e22a3-c37d-4d52-a502-ea631245dfac",
"f4f122cc-721d-4c18-b41b-0b6bb05c7623"
],
"Companies": [
"2b3ddebb-6e14-4a55-9e95-4f427da1a861",
"a4e36083-f536-4ccb-9ed0-40f5299e7543"
],
"Groups": [
"28a52b34-a520-49cc-8027-8740d8700aba",
"f206b74d-74d1-458a-ab85-11e3ffc2e95e"
],
"Opportunities": [
"1c9c0d76-c71b-4d10-afe8-69bb0d365f75",
"6c98e64a-37c2-41ba-9848-407e93b92d03"
]
}
}
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:
"49d5aadf-f197-41fe-9bdf-c1cfca45aed9"