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": "5c07095f-df25-47eb-a3c8-98e434eea6f8",
"ParentId": "bc84195d-d4a8-4139-b926-e68dddbcab39",
"Fields": {
"sample string 1": {},
"sample string 3": {}
},
"LinkedEntities": {
"Contacts": [
"53582a8e-dcd9-4abe-9832-5d8053009c31",
"8afe1b80-999b-4f34-ab66-69aa8b0662b8"
],
"Companies": [
"53ad0b85-0a6b-4fcf-b278-8dbc8b9abb67",
"bc74cc10-33a1-4f38-9552-1083ef7e5ecb"
],
"Groups": [
"51a3a05a-347b-4c02-a26f-258128408d83",
"c770971a-8e26-4612-b1ee-836ccaa6b405"
],
"Opportunities": [
"cd538800-db33-44dc-9f9b-07f96ec0b238",
"9b91484b-45be-4604-9575-5891322cf3a9"
]
}
}
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:
"8d9a50f6-ede8-48fb-8977-2b5dfb365d75"