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": "2d5a7ead-00ab-47ee-8978-8067ee54e3b7",
"ParentId": "c7ad7cce-4d43-4ab9-981c-89d3f13e1a69",
"Fields": {
"sample string 1": {},
"sample string 3": {}
},
"LinkedEntities": {
"Contacts": [
"187920fb-5d02-458b-9d22-c1c689cbe0de",
"52a2d956-7adf-440e-96c6-8c8281f768ef"
],
"Companies": [
"44e2c8eb-0a86-4cf3-9d68-b6bdf6e66182",
"8fbc4ab3-63eb-4af5-9b00-5a962e289ea4"
],
"Groups": [
"2f326e4a-f24a-4d5c-a7c0-d6a1f7ee1e3e",
"95318d6d-afaa-4f30-aefb-517dfaab2223"
],
"Opportunities": [
"eee5efbb-baba-487b-a355-98db9e81f08b",
"9cf963e0-4422-4307-83f8-3ecbebae9914"
]
}
}
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:
"aae73fa7-4d7f-453d-bcb8-dd14413d54a3"