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": "97dd5210-c7c1-44bd-87a1-5bd74fb5eb01",
"ParentId": "ffdcb80c-1422-4182-8686-0f26dbb8487e",
"Fields": {
"sample string 1": {},
"sample string 3": {}
},
"LinkedEntities": {
"Contacts": [
"c39f5316-7ecd-45b5-9adf-ee3da86c7c1c",
"07345e0a-cd5d-457e-942a-5cf3bd7f0ded"
],
"Companies": [
"9c59810e-1348-4f05-9850-e07484c6c163",
"19017f78-9aaa-4995-9238-72d176a064ef"
],
"Groups": [
"c9ccb90e-3c17-48d7-9458-617a7f41bfae",
"befbc95c-9559-4985-a212-266cf2fb1347"
],
"Opportunities": [
"8a33b864-2671-4bfa-aaa1-f206df42c909",
"f81ab803-bcda-490d-a8a7-359da21ffd05"
]
}
}
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:
"08c6132d-7255-4c66-bba8-35002dc160e8"