POST v1/bunits/{bunitId}/consolequeries
Create a console query
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
bunitId |
integer |
Required |
Body Parameters
ConsoleQueryName | Description | Type | Additional information |
---|---|---|---|
Query |
The query to be used in the console |
string |
Required. |
Description |
A description of the query |
string |
None. |
Favorite |
Whether or not the console query is a favorite for the current user |
boolean |
None. |
Id |
A unique ID for the object. |
integer |
Read-only. |
CreatedDate |
Time and date the object was created. |
date |
Read-only. |
ArchivedDate |
Time and date the object was or is going to be archived. Unarchived objects have no value in ArchivedDate |
date |
Read-only. |
Operations |
Collection of OperationResult |
None. |
Request Formats
application/json
Sample:
Sample not available.
text/json
Sample:
Sample not available.
Response Information
Resource Description
ConsoleQueryName | Description | Type | Additional information |
---|---|---|---|
Query |
The query to be used in the console |
string |
Required. |
Description |
A description of the query |
string |
None. |
Favorite |
Whether or not the console query is a favorite for the current user |
boolean |
None. |
Id |
A unique ID for the object. |
integer |
Read-only. |
CreatedDate |
Time and date the object was created. |
date |
Read-only. |
ArchivedDate |
Time and date the object was or is going to be archived. Unarchived objects have no value in ArchivedDate |
date |
Read-only. |
Operations |
Collection of OperationResult |
None. |
Response Formats
application/json
Sample:
Sample not available.
text/json
Sample:
Sample not available.