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": "9e5839ee-f758-4829-a863-717a6a0c0d6e",
"ParentId": "c2a8d8d2-9b36-4050-b942-cff61cbd187a",
"Fields": {
"sample string 1": {},
"sample string 3": {}
},
"LinkedEntities": {
"Contacts": [
"9917838f-d019-48b5-a6a7-a19e6425067a",
"43819d45-eff4-454b-8ded-27f2e6a46109"
],
"Companies": [
"35bffcac-6563-4266-9f99-434d4c05bcf4",
"c6c24264-8c30-4229-ad83-e10567eefbac"
],
"Groups": [
"86a1d7ca-f69d-4a85-ae7e-03faa5fcaee8",
"0af26156-f2d6-4499-aeed-9147413b151b"
],
"Opportunities": [
"69a2acec-038e-46e9-a02b-e0daaef84ce8",
"5a441daf-859e-49f2-b181-599a123d15ef"
]
}
}
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:
"5c53d86c-c658-429a-996c-7cb77ab72c77"