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": "30162322-1db3-47ec-9a62-1ec092173560",
"ParentId": "561f6051-3bb6-41f8-a47c-5e4bea487df7",
"Fields": {
"sample string 1": {},
"sample string 3": {}
},
"LinkedEntities": {
"Contacts": [
"ae772976-e578-4def-ba1f-6d53e761eeed",
"b57009dc-c473-4664-9356-031dd4e21a1a"
],
"Companies": [
"bae0d112-2be6-4031-9a2f-2824f09480ea",
"9d11969a-a79e-449a-bac2-92022a753fa8"
],
"Groups": [
"b96bb6a5-5e9e-4cbf-bd8c-b7ddade346b0",
"30ae1e14-918f-4c7c-a839-3b2aa79ad8c4"
],
"Opportunities": [
"c4e22e15-404b-4ade-87b8-0f00fe66fe69",
"91c15d39-1021-48a4-8b7c-15833eff81cd"
]
}
}
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:
"5ca9b904-957f-4e68-9765-5f6c31587fa8"