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": "a0603fe5-4b4f-4929-b941-54807afbc487",
"ParentId": "44eaf9c4-dfd6-4608-8ddb-18244fae08ac",
"Fields": {
"sample string 1": {},
"sample string 3": {}
},
"LinkedEntities": {
"Contacts": [
"b0754ac9-a818-47cb-a03f-03a2064c277d",
"b1317679-592c-474a-bb37-929c8ae00f07"
],
"Companies": [
"56d11265-827b-47cc-934e-69b2809c5c6c",
"5248e7d0-381e-48ce-a3d9-ceaa5a820ca0"
],
"Groups": [
"a1463ca3-9815-4637-9db2-968a2bf3749e",
"4e2c465a-3742-487d-a973-91dbf032197f"
],
"Opportunities": [
"2a042f6d-e70c-4c19-8e8d-adb53b85f209",
"8dbabad2-b6f4-4d3e-8b60-b0316ee70a60"
]
}
}
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:
"ab9de3ef-0dee-48d8-acc2-aef50103cb6e"