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": "93623b51-d9c3-4b05-a94f-6320620f1479",
"ParentId": "a4c1716a-cd11-42fc-9fbc-e011a5cedb56",
"Fields": {
"sample string 1": {},
"sample string 3": {}
},
"LinkedEntities": {
"Contacts": [
"8a39bc8a-bb89-4905-bc0c-28c3ede8aa9b",
"4046f88a-9e11-45f8-8446-ac733ff19f96"
],
"Companies": [
"c140287e-3728-4063-ac22-dee6f6d2d4cd",
"8e8b6e2c-5984-46d2-96fa-8fa8fac61188"
],
"Groups": [
"3075b904-7e3c-4a3d-8680-4a5e5124a0fd",
"a2dbd6f1-b484-4e8d-b8ff-deefb662e5bd"
],
"Opportunities": [
"83c4d098-bdcc-44aa-b894-c2d65e2ce7fe",
"d562bf14-a19c-4d2c-b39e-04d48d746001"
]
}
}
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:
"1c33ee7d-5869-4fbe-9e09-28de14f3e28d"