Create a Power Unit
post
/drivers/{driverGid}/powerUnits
Request
Path Parameters
-
driverGid(required): string
Resource ID
Supported Media Types
- application/vnd.oracle.resource+json;type=singular
- application/vnd.oracle.resource+json;type=collection
Nested Schema : schema
Type:
Show Source
object
-
calendarGid: string
The GID for the calendar that determines the day and times when the power unit can be used with the driver. For example, if you select a calendar for Monday through Friday, 8 a.m.-8 p.m., that power unit would be used with that driver Monday through Friday, 8 a.m.-8 p.m.. On a different driver you could then select a time of Monday through Friday, 8 p.m. -8 a.m., as well as on any time on Saturday and Sunday, and assign the same power unit to a different driver. Only calendars with an activity of Driver Work will be considered for overlap when other drivers share the same power unit. Validation checks against other calendars for duplicate assignments when you save. By establishing power unit availability to multiple drivers through the use of a calendar, you are defining "slip seating".
-
domainName: string
Database domain where this data is stored.
-
effectiveDate:
effectiveDate
The effective date for this Driver and Power Unit union.
-
expirationDate:
expirationDate
The expiration date for this Driver and Power Unit union.
-
links: array
links
Read Only:
true
-
powerUnitGid: string
The power unit assigned to the driver.
-
sequence: number
(int64)
Primary key of the table.
Nested Schema : effectiveDate
The effective date for this Driver and Power Unit union.
Match All
Show Source
Nested Schema : expirationDate
The expiration date for this Driver and Power Unit union.
Match All
Show Source
Nested Schema : dateTimeType
Type:
Show Source
object
-
timezone: string
Timezone in Olson database format
-
value: string
(date-time)
Date in ISO 8601 format
Root Schema : schema
Type:
Show Source
object
-
calendarGid: string
The GID for the calendar that determines the day and times when the power unit can be used with the driver. For example, if you select a calendar for Monday through Friday, 8 a.m.-8 p.m., that power unit would be used with that driver Monday through Friday, 8 a.m.-8 p.m.. On a different driver you could then select a time of Monday through Friday, 8 p.m. -8 a.m., as well as on any time on Saturday and Sunday, and assign the same power unit to a different driver. Only calendars with an activity of Driver Work will be considered for overlap when other drivers share the same power unit. Validation checks against other calendars for duplicate assignments when you save. By establishing power unit availability to multiple drivers through the use of a calendar, you are defining "slip seating".
-
domainName: string
Database domain where this data is stored.
-
effectiveDate:
effectiveDate
The effective date for this Driver and Power Unit union.
-
expirationDate:
expirationDate
The expiration date for this Driver and Power Unit union.
-
links: array
links
Read Only:
true
-
powerUnitGid: string
The power unit assigned to the driver.
-
sequence: number
(int64)
Primary key of the table.
Nested Schema : effectiveDate
The effective date for this Driver and Power Unit union.
Match All
Show Source
Nested Schema : expirationDate
The expiration date for this Driver and Power Unit union.
Match All
Show Source
Nested Schema : dateTimeType
Type:
Show Source
object
-
timezone: string
Timezone in Olson database format
-
value: string
(date-time)
Date in ISO 8601 format
Response
Supported Media Types
- application/vnd.oracle.resource+json;type=singular
- application/vnd.oracle.resource+json;type=collection
Default Response
Default Response.
Root Schema : schema
Type:
Show Source
object
-
calendarGid: string
The GID for the calendar that determines the day and times when the power unit can be used with the driver. For example, if you select a calendar for Monday through Friday, 8 a.m.-8 p.m., that power unit would be used with that driver Monday through Friday, 8 a.m.-8 p.m.. On a different driver you could then select a time of Monday through Friday, 8 p.m. -8 a.m., as well as on any time on Saturday and Sunday, and assign the same power unit to a different driver. Only calendars with an activity of Driver Work will be considered for overlap when other drivers share the same power unit. Validation checks against other calendars for duplicate assignments when you save. By establishing power unit availability to multiple drivers through the use of a calendar, you are defining "slip seating".
-
domainName: string
Database domain where this data is stored.
-
effectiveDate:
effectiveDate
The effective date for this Driver and Power Unit union.
-
expirationDate:
expirationDate
The expiration date for this Driver and Power Unit union.
-
links: array
links
Read Only:
true
-
powerUnitGid: string
The power unit assigned to the driver.
-
sequence: number
(int64)
Primary key of the table.
Nested Schema : effectiveDate
The effective date for this Driver and Power Unit union.
Match All
Show Source
Nested Schema : expirationDate
The expiration date for this Driver and Power Unit union.
Match All
Show Source
Nested Schema : dateTimeType
Type:
Show Source
object
-
timezone: string
Timezone in Olson database format
-
value: string
(date-time)
Date in ISO 8601 format