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": "4998c90a-586e-40d3-9af8-cb6c178c7224",
"ParentId": "c7b1590c-a830-497f-973b-a887170a9a93",
"Fields": {
"sample string 1": {},
"sample string 3": {}
},
"LinkedEntities": {
"Contacts": [
"7e9bb592-7ffc-4f9f-85c2-114ecbbfdbbd",
"e5a5e4e2-77f6-4e5a-a994-5446e7c3dca2"
],
"Companies": [
"b9de63a4-0a91-48cf-b97d-4a1b80226822",
"54610c8c-f6c8-4e2e-bdfd-0d6983b48428"
],
"Groups": [
"9a3a087a-5f91-4d38-8478-26494e42a0e0",
"7a773099-282a-42f1-8583-645d20dbf455"
],
"Opportunities": [
"c0486979-d094-4c91-843a-ef92d9552ceb",
"93e67858-4005-4919-8e8e-96ebe90b9bdf"
]
}
}
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:
"82bc7283-df7e-4e5b-9c68-af3288c6f6bf"