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": "8b3b9326-3e22-459f-ae67-abbb29bfad2e",
"ParentId": "f59ff7c2-d01a-47e2-b20e-301e05c3c4e1",
"Fields": {
"sample string 1": {},
"sample string 3": {}
},
"LinkedEntities": {
"Contacts": [
"923a8a3d-4e26-450b-9f22-50b526fa70c7",
"7dfbbcc8-c5ee-4453-be15-5b3df9152280"
],
"Companies": [
"ff59dff8-cab2-4722-92a2-482ff871096b",
"e3ca4ef4-ef8d-4206-8e1f-a54295bff652"
],
"Groups": [
"e5562fed-c1c7-4b1c-b085-09727fd0446f",
"f41f21a2-0451-4c93-b4ab-2f05a285004e"
],
"Opportunities": [
"125e7bb4-f0bb-4b9b-8350-aac502d599a5",
"6310cd61-1deb-4a1d-9ac5-8b3ff8d2874f"
]
}
}
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:
"6da4232e-2a41-454a-97a7-d5f7617bf894"