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": "644fc172-5a82-4cb1-b6d9-c725f5003617",
"ParentId": "e1821dd8-77f9-4380-a350-42713bb4c9b9",
"Fields": {
"sample string 1": {},
"sample string 3": {}
},
"LinkedEntities": {
"Contacts": [
"e0a19029-9d49-4f11-8de8-89ec17176ec9",
"1b33a6f1-f142-483b-8467-91abfb3dbb22"
],
"Companies": [
"655dac1d-07eb-465e-baf9-5475897794f7",
"bca28d13-6da5-4d7e-8286-8a34fb5c203e"
],
"Groups": [
"2124d950-4a28-4524-8870-3305e4b8ac83",
"bcea82c6-274c-4aaf-b24f-4ce1bb187ff2"
],
"Opportunities": [
"121f49e7-5514-45a9-96a6-538895ca9943",
"b2a77fd7-50f0-45b8-89a7-5f3b8ff125d1"
]
}
}
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:
"dc1b76b0-a1a2-455c-8b83-45ab98d82cde"