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": "13cac9b6-7b19-49df-b2b5-a8d2227f5d79",
"ParentId": "eb40e0a0-88a9-4a76-b522-216f0e78094b",
"Fields": {
"sample string 1": {},
"sample string 3": {}
},
"LinkedEntities": {
"Contacts": [
"28f83b0e-17a5-4f03-b452-d0e0dec681bb",
"fa028e8a-6758-4efb-8c93-efe8bc371355"
],
"Companies": [
"a45e4e24-ac7a-41bd-a5eb-08ebdf25c5ea",
"862ba24c-d3ec-4ddf-b5b7-619873c127f7"
],
"Groups": [
"33da83b2-461f-48c6-9994-2acd560f9cc6",
"b95a9a83-bca6-41f9-a27f-b7d4ef4acc0b"
],
"Opportunities": [
"ef2c372d-a54a-4064-9a3c-4df632866cc4",
"06fafdac-55e3-47c4-9f1b-ee62cc3f7142"
]
}
}
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:
"fd2c2b8f-9e10-43c4-99a0-57a4abdf6c0f"