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": "33c5cd1f-4ba7-4248-8333-2961c7fbbda0",
"ParentId": "1b382386-7c8e-4989-958c-cd919456b5bd",
"Fields": {
"sample string 1": {},
"sample string 3": {}
},
"LinkedEntities": {
"Contacts": [
"6bea6356-3797-428f-8134-12227e899029",
"ae59f040-f64f-475d-9668-6d41faf112ff"
],
"Companies": [
"3f764ef8-844f-46da-80c0-51dff034ebab",
"a4cd3f49-4d00-4aa3-9306-4be7da3428b9"
],
"Groups": [
"4297ec8e-9ece-429a-98e3-8f165dd1b934",
"53e54a85-3f6d-440b-95b5-ecd468f13423"
],
"Opportunities": [
"f8a17d10-b736-445e-a0fd-d633cb73b3f5",
"8600f391-f979-43cb-a5ec-ea6d8570d56c"
]
}
}
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:
"d2ff718c-56ac-4e49-8931-64328e7a920c"