Get Hours of Service Rules
get
/trackingEvents/{iTransactionNo}/hosRules
Request
Path Parameters
-
iTransactionNo(required): string
Resource ID
Query Parameters
-
expand: string
Comma-delimited string of child resource names that you want to expand so that the contents return with the parent in the same GET request.
-
fields: string
Comma-delimited string of field names that you wanted returned in a GET request.
-
limit: integer(int32)
Positive integer value that specifies the maximum number of items returned by the server.
-
offset: integer(int32)
Non-negative integer values that specifies the index of the first item to be returned. The offset index begins at 0. By default, the offset is 0, which returns all items starting from the first item in the collection.
-
orderBy: string
Comma-separated string of field names, each optionally followed by asc or desc, that specifies the order of items returned in the response payload.
-
q: string
Filter (a 'where'clause) to restrict the items returned in the collection. By default, no filtering is applied.
-
totalResults: boolean
Boolean value that specifies whether to calculate the totalResults property. By default, this value is set to false indicating that totalResults is not calculated.
There's no request body for this operation.
Back to TopResponse
Supported Media Types
- application/vnd.oracle.resource+json;type=collection
Default Response
Default Response.
Nested Schema : trackingEvents.hosRules
Type:
Show Source
object
-
activityTime:
activityTime
The activity time associated with the hours of service reported for the tracking event.
-
activityTimeRemain:
activityTimeRemain
The activity time remaining against that hours of service.
-
domainName: string
Database domain where this data is stored.
-
hosRuleGid: string
The hours of service rule GID for the given tracking event.
-
iRecNo: number
(int64)
The record number primary key identifier for the tracking event specified.
-
links: array
links
Read Only:
true
-
ruleBeginTime:
ruleBeginTime
The begin time defined for the hours of service rule.
Nested Schema : activityTime
The activity time associated with the hours of service reported for the tracking event.
Match All
The activity time associated with the hours of service reported for the tracking event.
Show Source
Nested Schema : activityTimeRemain
The activity time remaining against that hours of service.
Match All
The activity time remaining against that hours of service.
Show Source
Nested Schema : ruleBeginTime
The begin time defined for the hours of service rule.
Match All
The begin time defined for the hours of service rule.
Show Source
Nested Schema : amountType
Type:
Show Source
object
-
unit: string
Unit of measure
-
value: number
Numeric value that specifies an amount
Nested Schema : dateTimeType
Type:
Show Source
object
-
timezone: string
Timezone in Olson database format
-
value: string
(date-time)
Date in ISO 8601 format