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": "f314414d-41c9-46d2-8979-9c3b70aeac36",
"ParentId": "5de37437-729e-422d-b99f-9ac9ad9a7d1e",
"Fields": {
"sample string 1": {},
"sample string 3": {}
},
"LinkedEntities": {
"Contacts": [
"0c70a3da-9bd5-4c26-bcb0-60b83931dd53",
"05ec3e40-68eb-4f7c-b54a-82077684f5cd"
],
"Companies": [
"cc44023f-0ec7-486c-84be-0e28e4d7ec23",
"9806fd1f-3284-44e5-a148-d320959d175f"
],
"Groups": [
"de31890b-fb14-4764-95f6-bdc965aae414",
"2750eb76-6c88-49a1-940c-484038c7dacd"
],
"Opportunities": [
"a27fbbeb-64cf-403b-8dab-381468b85284",
"c0b598bc-0f1b-488b-80d2-b9c70e5486e6"
]
}
}
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:
"230b7f12-645e-42f9-8411-e88f160b7bba"