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": "7b060e89-93cc-4ebb-87df-b8150f7cebff",
"ParentId": "738ae76f-6530-4249-9b91-8add458959bc",
"Fields": {
"sample string 1": {},
"sample string 3": {}
},
"LinkedEntities": {
"Contacts": [
"53f21b4a-c550-4f3b-a580-41d05908c302",
"a0e8a41d-133b-4af9-a576-b0ccc5429a5f"
],
"Companies": [
"76cb1ec7-72f2-4c3f-9d1b-067b5eaf7650",
"f87f5f8c-10e9-4e54-8e3d-c76914bb2a7f"
],
"Groups": [
"f3f08cad-100a-4dbb-a5d0-011945a5ad5e",
"5fb07063-6f59-4eec-a95c-b956e5fd9456"
],
"Opportunities": [
"6f59f650-21c6-408c-82a7-2be7c6230a0d",
"ff064ec6-df13-459a-8945-1a7a8649882e"
]
}
}
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:
"515835c2-9941-411a-9b9a-fdbb8bf67ec8"