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": "582ca09e-7216-4c65-9543-6bea54e977c8",
"ParentId": "05fb7387-921e-4b67-b1c4-c05de433c944",
"Fields": {
"sample string 1": {},
"sample string 3": {}
},
"LinkedEntities": {
"Contacts": [
"a9a49ccc-4d56-4b14-ae65-4a9316580eb2",
"7a34df46-c406-43c3-b0fa-dd2dec365828"
],
"Companies": [
"b4514b37-2188-4854-a7ac-7e545a8db4a3",
"45ce02a9-2300-4def-82a9-550aab161c4f"
],
"Groups": [
"1fb6e2fe-7b44-4fc1-af6f-f2979ba30137",
"950b27ff-edd5-4479-9b4b-224c74dd25c6"
],
"Opportunities": [
"636badd4-feef-441a-a961-b1426cb1f6cd",
"b1491f5b-fdec-4880-a98e-ee5c615e362c"
]
}
}
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:
"262ed1ef-350d-4c7d-acd3-5c4f7718ba50"