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": "bc3c9d3e-aa25-4aaf-a12a-3df9e8576790",
"ParentId": "1fec7e07-e0a1-4f14-bac2-d0c3e07857ce",
"Fields": {
"sample string 1": {},
"sample string 3": {}
},
"LinkedEntities": {
"Contacts": [
"b700ceed-ddc7-4a77-af43-0c861777dbfd",
"307d07bd-d35a-4acd-ab0b-0e6aab8e2904"
],
"Companies": [
"bb60dcd0-ec74-44ba-aede-c268dc22df25",
"f68dbf1b-cbae-4d75-8432-d85f864b6e3b"
],
"Groups": [
"f84e7760-e049-451c-b529-1c6169f7808e",
"5ac58925-b32e-43d6-b0f3-4b5f9c304e06"
],
"Opportunities": [
"875346d2-3802-43ad-b205-788152d5c269",
"e37f0e32-d88b-43f2-8777-5e4bc72d72b8"
]
}
}
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:
"dad8b597-48ca-4e74-a02b-235e9f871bec"