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": "afbc2bc6-f308-4b90-82fb-81e22ca45b9e",
"ParentId": "5c96b202-68bb-46f3-873b-dac0399c827f",
"Fields": {
"sample string 1": {},
"sample string 3": {}
},
"LinkedEntities": {
"Contacts": [
"e0b3aca5-a1ff-4d34-acf4-38b0de93facb",
"79cbbdd2-06a1-4e9e-ac0e-1832ab429c2e"
],
"Companies": [
"aa7e565a-6af0-474a-bd96-a55d47850f95",
"bcfcdcfa-d2fd-471b-a5a8-1de4e43ae1e6"
],
"Groups": [
"31853689-e1ed-4fb5-87a6-c388f6794ff2",
"3b12c0da-87d7-428a-aa62-bf7aa8a56be6"
],
"Opportunities": [
"9472042a-d8fe-4ff7-85c7-009daaf5d3d5",
"8a4b6d9a-90bd-4744-9c86-dd9945e8460e"
]
}
}
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:
"5853950b-95cc-4721-9533-d866a137d624"