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": "b772e4b2-59a3-4354-b8a2-e4599ee3fa87",
"ParentId": "8f76686f-28a5-477c-bad4-2b0f5a1b086a",
"Fields": {
"sample string 1": {},
"sample string 3": {}
},
"LinkedEntities": {
"Contacts": [
"ee733788-8056-47b1-befd-a288a8deb7ce",
"6e066bfb-5b5c-4e1b-8486-f81d3f459942"
],
"Companies": [
"5a4ba608-a744-4e31-bc94-d1cc21f813e2",
"cd86aa65-4ef0-413b-ac63-1b3d45d0804e"
],
"Groups": [
"6e5362b3-d4f8-4e79-97ac-fd1749c1d38b",
"9f2185fd-83fd-4533-9ab0-3b43b9b8c2b9"
],
"Opportunities": [
"3c0c0a0c-e45d-4d29-bde9-0edb9c2cdd4e",
"f70097fa-558d-44ab-8812-16967dd77312"
]
}
}
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:
"8aff2765-0cfe-48c0-84f9-508fb221d658"