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": "8f9c8aa9-bc6a-48f5-bcd3-b582ec85f277",
"ParentId": "f5927fd4-a3ea-49fd-aa67-1d4dc6436830",
"Fields": {
"sample string 1": {},
"sample string 3": {}
},
"LinkedEntities": {
"Contacts": [
"052b49da-cc68-4fe6-9768-0e18b3436ff8",
"2e6fefe2-41ac-4a02-acc1-f3134826846b"
],
"Companies": [
"945022e4-fa38-4677-ae5f-23ae01b939e3",
"2ce4ddce-dc2a-4c4c-8521-2000ae359b2b"
],
"Groups": [
"8839cd6f-8f72-4e8e-8f5c-3bda06c7c8e9",
"f41ca304-ec7a-4f01-a3cd-45c1b695d0b1"
],
"Opportunities": [
"e38e8a10-68ee-4ea3-ae72-4ab019bff338",
"805e5e28-6f98-40f9-b830-1b833863f9ea"
]
}
}
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:
"e5275675-1f04-407f-84e1-6bfd7fdf3efc"