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": "e6d035e0-35e7-49f8-8438-0095aa4742dc",
"ParentId": "b16d6932-8f2b-4131-a7c2-7a55d0ffaf6b",
"Fields": {
"sample string 1": {},
"sample string 3": {}
},
"LinkedEntities": {
"Contacts": [
"9dc4ed06-4f8c-4cb9-ad94-8f5323805f6c",
"8bdc0bc3-b9eb-4eab-9187-d876b6936a25"
],
"Companies": [
"78852309-445c-432d-9d84-75ba56fec9ae",
"696abe6d-14c1-4ac6-9c81-d7ced6db1bc7"
],
"Groups": [
"f429a499-1d2f-4889-9734-c16a8c4fe057",
"be410d81-4405-4efd-b9b8-d14a4fae941d"
],
"Opportunities": [
"326eed39-6643-403f-86c9-90efe3e20da2",
"c588647a-1e75-4bb6-80a1-f8f0582240c1"
]
}
}
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:
"b0a1ba56-b9e0-4c88-9f24-571adc3d6cc1"