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": "d7b65fe9-4e2b-47ee-b883-d99e6de300c2",
"ParentId": "86b46a08-fd65-4d44-8c67-c0921487d4dd",
"Fields": {
"sample string 1": {},
"sample string 3": {}
},
"LinkedEntities": {
"Contacts": [
"4ad0fef4-8ca1-4e2a-adcb-1745d18636be",
"f7b8d312-9a8d-4fb4-a607-cc4485a78a18"
],
"Companies": [
"0deb4dce-1d17-4d16-96a8-7f656a0e7733",
"e92f9c1c-62d1-4a7e-ac0d-1344aa7ba24b"
],
"Groups": [
"f61fbd30-99b0-4fc8-84d4-4564ee3c2472",
"9d6a358f-e64a-4099-94c6-3aa75166c376"
],
"Opportunities": [
"1db33628-e0fc-4ccf-8fa3-1acfef4892eb",
"fb2f0ca1-c1b5-4361-b197-50f4e1ba63a0"
]
}
}
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:
"73dd68ce-af82-4b68-9fc6-d45f4d8492c1"