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": "b20cd24f-f414-43f6-ab61-7688a2d1f012",
"ParentId": "a4ca998d-f9d4-4193-85f3-bf2ee30d322b",
"Fields": {
"sample string 1": {},
"sample string 3": {}
},
"LinkedEntities": {
"Contacts": [
"152db59e-6131-465b-ad2a-4eae50446f12",
"43c9c379-8549-48bf-a2a0-ffb5968d9030"
],
"Companies": [
"0ceaa2d3-e439-4469-9765-7de18426e148",
"0180dcba-20f8-47ba-9f7f-e8b8e303dbe5"
],
"Groups": [
"e7b43765-b22d-4bc9-b070-5cc36cc79ac7",
"8768dd93-f54a-4a10-b3b5-a939126d754b"
],
"Opportunities": [
"ae6d95e7-7667-4588-9404-7ca07f739dbf",
"99a974e9-bbcb-439e-871b-549958e94979"
]
}
}
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:
"3b11aa21-1bc2-4bbf-9ef6-9af27fdc0319"