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": "d412fcac-fc35-43c8-8f9a-08e1f2246ac1",
"ParentId": "f48cfce0-47a9-4022-844c-adaae6bce19d",
"Fields": {
"sample string 1": {},
"sample string 3": {}
},
"LinkedEntities": {
"Contacts": [
"c60752d5-3557-4fbc-9032-8ce913579ec1",
"3e189641-8d05-43be-b882-f60c1959acca"
],
"Companies": [
"34d5b440-08c1-4a8f-a7ab-efe29f9e0346",
"4311cdb8-e5b9-48cb-aa98-e0e95c27291b"
],
"Groups": [
"01313119-70ff-466e-a1dd-8a28e0bab0c3",
"120251cf-c12a-48d7-b7e3-ecef67f82697"
],
"Opportunities": [
"ccafa88f-8954-46f0-b0cf-8c2217a7d300",
"b1c1e8cc-d13a-4a01-a0f3-f8e7811b670d"
]
}
}
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:
"b07c0041-a865-4673-a1e6-dd5c95463fe3"