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": "2985fd1d-cb17-4aef-b51c-41a07e331d22",
"ParentId": "ef2b8d01-e46b-4d25-aa47-ba962b19ca7f",
"Fields": {
"sample string 1": {},
"sample string 3": {}
},
"LinkedEntities": {
"Contacts": [
"4fdc99e6-efef-47c1-91cb-33f4a8d4f7ce",
"f73857c3-ec9b-41e1-979b-12bd716f2813"
],
"Companies": [
"158861a3-03e8-4f19-b579-18173745b89d",
"3eb4b7c7-07fc-43fd-993f-2713898de729"
],
"Groups": [
"d0b75a4f-5ce9-4eaf-a04e-477d6b7eddb1",
"46768841-8552-4b6d-a106-c1df27250928"
],
"Opportunities": [
"a1af542e-5dab-4e08-92da-4048e47883e3",
"4fcb184e-3358-4ab7-a2fd-9bd022fa7674"
]
}
}
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:
"ab5256a1-4b62-416f-9324-0aee57dbf4cc"