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": "2eb85abb-ea0e-4b57-91c3-a38156d7c2fd",
"ParentId": "c86fcd81-7e1d-4dce-afff-32b8f285ec86",
"Fields": {
"sample string 1": {},
"sample string 3": {}
},
"LinkedEntities": {
"Contacts": [
"f0f0ce03-bcdd-4abd-8044-4418c2658b3f",
"173eb8ee-d8fa-4bb1-8ba1-8f678df3ef91"
],
"Companies": [
"0a9e5f29-29a4-44ed-8873-31258af6e9f2",
"746cd38f-9f13-46d3-934f-08c615a2677e"
],
"Groups": [
"ca8da4df-4dab-4a8e-896c-d15e603b11fa",
"793bcc03-d324-4a88-8140-653b80d054aa"
],
"Opportunities": [
"6c5737b1-f941-46f9-8771-15dcea7801ae",
"ba72542a-6a35-490c-8277-68ba0a8719b6"
]
}
}
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:
"b20d8823-20d6-4cf6-a4f4-7796309e1ae2"