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": "375415db-ece9-447d-9b52-3a64e8c93848",
"ParentId": "925d3516-4382-4aae-94cc-306a51e1cf14",
"Fields": {
"sample string 1": {},
"sample string 3": {}
},
"LinkedEntities": {
"Contacts": [
"988be2c0-697b-4a2d-99a1-50e901e77bec",
"4221dcbd-64ac-4d00-8627-39aef6e89b46"
],
"Companies": [
"e285276d-272e-49da-9360-d3296696091d",
"19708072-056f-4e32-9e7f-6d74cf27b6fa"
],
"Groups": [
"80cab2cd-903f-45ed-9301-bdded35eaf44",
"b0266624-fe6f-4d8f-bfb7-74ea40c02d20"
],
"Opportunities": [
"37e00c91-01d1-4580-be1b-dcdae9506dec",
"e69d5536-8840-4210-bc9e-eb98bcfd8f99"
]
}
}
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:
"9b0387a8-8ae2-42e1-a9e2-603852ba1b44"