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": "f99cbf26-8ad5-4ba5-8de9-3bf7dc386e34",
"ParentId": "dc7d9c44-5e06-4963-8938-168c983ea8e3",
"Fields": {
"sample string 1": {},
"sample string 3": {}
},
"LinkedEntities": {
"Contacts": [
"7dfd14ce-ab13-4ad9-9511-3a1f0556451e",
"5b475089-e2a3-4a3e-bc3d-6610f175b12e"
],
"Companies": [
"36b02324-8432-4418-b64a-c2f1c592570b",
"8e202cd5-0752-44e7-aace-da17d8a82d08"
],
"Groups": [
"6baa58c9-6eba-45d0-978e-7cb52635055c",
"ccd98eaf-b95e-43f7-807b-99aa254443be"
],
"Opportunities": [
"196732f7-0c0d-4c61-ac07-caf886a8ffa9",
"a0a16a9a-b4d0-4211-a790-7023172ed672"
]
}
}
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:
"9ad614a3-4a58-4c99-92cb-dff06fe81490"