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": "2adb7e77-557e-4c85-90bd-37c0aecc855e",
"ParentId": "48b765c6-5dfd-4757-8c79-773664f2956b",
"Fields": {
"sample string 1": {},
"sample string 3": {}
},
"LinkedEntities": {
"Contacts": [
"fccbd6f8-ba76-4a5a-9867-ec4643717091",
"fa136fac-2a95-473d-a0e1-0bec169c4bf4"
],
"Companies": [
"77cefad8-091c-474f-84d6-bd1df2eb26d3",
"fb9178e4-ea52-47dd-8b5d-0e8fa57b218b"
],
"Groups": [
"af99a89e-7262-468c-9b09-9542b908ca67",
"6c3ff2d0-c05c-43c6-84fc-3033df77080a"
],
"Opportunities": [
"2979f7ad-f4a0-4f33-8fd3-a1bac41e6ba6",
"5ed21484-6a3b-41d5-8ea5-af150ec25ddb"
]
}
}
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:
"c8ae0e08-2073-4b5e-8d3e-83b6f6fb21fa"