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": "b1c9ce79-64ac-4157-8a70-62206aa8e5fb",
"ParentId": "c2126c21-e388-459a-a3b4-4f7e1205ac99",
"Fields": {
"sample string 1": {},
"sample string 3": {}
},
"LinkedEntities": {
"Contacts": [
"42e7aa2b-340e-4860-9db3-1818c0e6afa4",
"2b0b7e8c-e28a-4d65-bb25-d24c1f194ab2"
],
"Companies": [
"b9d38a48-67e2-4639-8cc6-928d0fac108d",
"39147992-e2ee-4f01-8774-5ec27abc9b8d"
],
"Groups": [
"29be263b-b4b2-4a51-924e-af45e7950979",
"981c751b-4957-4702-916c-c4ba237e6438"
],
"Opportunities": [
"c98916a1-df43-48a1-a8d8-23624b54b816",
"c32bd473-fd08-48e1-ae6b-fce1ecd869c0"
]
}
}
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:
"36191169-0d5b-461c-9b8e-45d941d208ae"