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": "97adab43-0159-4bdd-9e53-2abcd5990fdc",
"ParentId": "b79321b8-bb7b-4581-8ee0-f1aa92655209",
"Fields": {
"sample string 1": {},
"sample string 3": {}
},
"LinkedEntities": {
"Contacts": [
"5befb8b1-3b25-4ea4-b4c2-33ebcead7514",
"fabcadf8-004c-4093-a12e-e0a42a6b52a3"
],
"Companies": [
"0765935a-b1c5-4c5e-95f1-c3e0c623a471",
"7397239a-3380-463e-979a-60c286957663"
],
"Groups": [
"66916f92-2711-4431-928b-6a9eedab8e6c",
"f93621fb-f049-41fd-a87c-50e4188b0a25"
],
"Opportunities": [
"788cc1e3-17f9-4460-a920-b06f0379e233",
"d387430a-4aeb-49bd-9da8-8339628b9fc7"
]
}
}
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:
"9f7865eb-433b-405f-9e68-b94a89c2347b"