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": "20f11e8a-c7ba-459a-9f93-e436d39eb199",
"ParentId": "f3d5345c-13bf-4d99-a15e-3a70e94ded00",
"Fields": {
"sample string 1": {},
"sample string 3": {}
},
"LinkedEntities": {
"Contacts": [
"1f893fe8-174d-4528-b860-d0b086549fb6",
"76dc2ef2-5d2f-4445-bda3-362c01107780"
],
"Companies": [
"2dfa6637-dba9-4e9c-b373-0307386ec7b7",
"cc512971-b3ac-45c2-8e05-a058dd951272"
],
"Groups": [
"03682936-de91-464c-ac7c-db959e439901",
"af2770b7-0276-4fc3-8243-5bd593f7bac8"
],
"Opportunities": [
"91fa4611-bc1a-4ec9-9da4-515624ef752b",
"f3dfa480-f9f4-4140-92d3-39d027bcdc80"
]
}
}
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:
"6ac12c31-5b97-436d-bf2f-0bc8e3adcd76"