Retrieve all available comparison operators. Use a comparison operator when filtering report data by comparison operator.
Retrieve comparison operators via the following request:
HTTP Method | Request URI |
---|---|
GET |
https://api.vdms.io/report-builder/v1/operations |
This endpointIdentifies a request's connection point to our REST API service. only takes advantage of common request headers.
Unlike requests to api.edgecast.com, requests to our API gateway (api.vdms.io) require an access token (OAuth).
Request body parameters are not required by this endpoint.
The response to the above request includes an HTTP status code, response headers, and a response body.
A status code indicates whether the request was successfully performed.
The response for this endpoint only includes standard HTTP response headers.
The response body for a successful request contains the following response elements:
Name | Data Type | Description |
---|---|---|
@id | String | Indicates the relative path to the requested endpoint. |
@type |
String |
Returns Collection. |
Array |
Contains a list of comparison operators. |
The items array describes each comparison operator via the following properties:
Name | Data Type | Description |
---|---|---|
@id |
String |
Indicates the relative path to an endpoint through which you may retrieve the current comparison operator. |
@type |
String |
Returns Operation. |
description |
String |
Describes the purpose of the current comparison operator. |
field_types |
Array of String Values |
Indicates the data types that are supported by this comparison operator. A comparison operator may only be leveraged with dimensions whose data type is listed within this array. |
friendly_name |
String |
Identifies the comparison operator by its friendly name. |
id |
String |
Identifies the comparison operator by its system-defined ID. |
Boolean |
Determines whether the comparison operator supports multiple values.
|
|
name |
String |
Identifies the comparison operator by its friendly name. |
The response body for an unsuccessful request will contain an error response that provides additional information.
A sample JSON request is shown below.
GET https://api.vdms.io/report-builder/v1/operations HTTP/1.1
Accept: application/json
Content-Type: application/json
Host: api.vdms.io
A sample JSON response is shown below.
HTTP/1.1 200 OK
Cache-Control: no-cache
Content-Type: application/json; charset=utf-8
Date: Thu, 15 Apr 2021 12:00:00 GMT
Content-Length: 4196
{ "@id": "/report-builder/v1/operations", "@type": "Collection", "items": [{ "@id": "/report-builder/v1/operations/equals", "@type": "Operation", "description": "Performs the Equals operation", "field_types": ["number", "date_time", "string"], "friendly_name": "Equals", "id": "equals", "name": "Equals" }, { "@id": "/report-builder/v1/operations/does-not-equal", "@type": "Operation", "description": "Performs the Does Not Equal operation", "field_types": ["number", "date_time", "string"], "friendly_name": "Does Not Equal", "id": "does_not_equal", "name": "Does Not Equal" }, { "@id": "/report-builder/v1/operations/greater-than", "@type": "Operation", "description": "Performs the not greater than operation", "field_types": ["number", "date_time", "string"], "friendly_name": "greater than", "id": "greater_than", "name": "Greater Than" }, { "@id": "/report-builder/v1/operations/greater-than-or-equal-to", "@type": "Operation", "description": "Performs the not greater than or equal to operation", "field_types": ["number", "date_time", "string"], "friendly_name": "greater than equal to", "id": "greater_than_or_equal_to", "name": "Greater Than or Equal To" }, { "@id": "/report-builder/v1/operations/less-than", "@type": "Operation", "description": "Performs the less than operation", "field_types": ["number", "date_time", "string"], "friendly_name": "less than", "id": "less_than", "name": "Less Than" }, { "@id": "/report-builder/v1/operations/less-than-or-equal-to", "@type": "Operation", "description": "Performs the less than or equal to operation", "field_types": ["number", "date_time", "string"], "friendly_name": "less than equal to", "id": "less_than_or_equal_to", "name": "Less Than or Equal To" }, { "@id": "/report-builder/v1/operations/in", "@type": "Operation", "description": "Performs the in operation", "field_types": ["number", "date_time", "string"], "friendly_name": "in", "id": "in", "multi_value": true, "name": "In" }, { "@id": "/report-builder/v1/operations/like", "@type": "Operation", "description": "Performs the like (ANSI SQL) operation", "field_types": ["string"], "friendly_name": "like", "id": "like", "name": "Like" }, { "@id": "/report-builder/v1/operations/not-in", "@type": "Operation", "description": "Performs the not in operation", "field_types": ["number", "date_time", "string"], "friendly_name": "not in", "id": "not_in", "multi_value": true, "name": "Not In" }, { "@id": "/report-builder/v1/operations/not-like", "@type": "Operation", "description": "Performs the not like (ANSI SQL) operation", "field_types": ["string"], "friendly_name": "not like", "id": "not_like", "name": "Not Like" }, { "@id": "/report-builder/v1/operations/contains", "@type": "Operation", "field_types": ["string"], "friendly_name": "contains", "id": "contains", "name": "Contains" }, { "@id": "/report-builder/v1/operations/does-not-contain", "@type": "Operation", "field_types": ["string"], "friendly_name": "does not contain", "id": "does_not_contain", "name": "Does Not Contain" }, { "@id": "/report-builder/v1/operations/starts-with", "@type": "Operation", "field_types": ["string"], "friendly_name": "starts with", "id": "starts_with", "name": "Starts With" }, { "@id": "/report-builder/v1/operations/does-not-start-with", "@type": "Operation", "field_types": ["string"], "friendly_name": "does not start with", "id": "does_not_start_with", "name": "Does Not Start With" }, { "@id": "/report-builder/v1/operations/ends-with", "@type": "Operation", "field_types": ["string"], "friendly_name": "ends with", "id": "ends_with", "name": "Ends With" }, { "@id": "/report-builder/v1/operations/does-not-end-with", "@type": "Operation", "field_types": ["string"], "friendly_name": "does not end with", "id": "does_not_end_with", "name": "Does Not End With" } ] }