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": "d6c07c56-1763-447c-a2d4-65a9c8662582",
"ParentId": "7aabb6e3-5d94-40c6-b402-a85ce3a3b596",
"Fields": {
"sample string 1": {},
"sample string 3": {}
},
"LinkedEntities": {
"Contacts": [
"d93507aa-068b-48a2-92a6-e8c298814627",
"99ceb835-92a6-4c7d-853a-855588700a63"
],
"Companies": [
"bd96600b-eb60-415b-b5d2-f060d533c28b",
"91032065-fa53-4e9a-a901-bd4737c2d271"
],
"Groups": [
"01a58cf4-2c6b-4a0c-8627-001450840ff6",
"d6fc2985-1091-4e6b-bb1c-f6f44fee3ae0"
],
"Opportunities": [
"0d1bc353-5101-4fff-bb5b-cfd3fbc5662b",
"a4056513-0bd4-469f-aa79-4033ab77e95d"
]
}
}
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:
"3c4c4647-8ade-48c4-bb25-c96817cd991f"