Create a Calendar
post
/drivers/{driverGid}/calendars
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
-
activityCalendarGid: string
The activity calendar of the driver defined for this work profile.
-
domainName: string
Database domain where this data is stored.
-
effectiveDate:
effectiveDate
The effective date for this driver work profile.
-
expiryDate:
expiryDate
The expiry date for this driver work profile.
-
homeLocationGid: string
The home location of the driver defined for this work profile.
-
isShiftBased: string
Allows you to select whether the work profile for the driver is Shift Based or not. If you set this to Yes, then the work profile is evaluated when you try and get the driver home. The driver will be sent home at the end of each shift, and they will start from their home location for their next assignment.
-
links: array
links
Read Only:
true
Nested Schema : effectiveDate
The effective date for this driver work profile.
Match All
The effective date for this driver work profile.
Show Source
Nested Schema : expiryDate
The expiry date for this driver work profile.
Match All
The expiry date for this driver work profile.
Show Source
Root Schema : schema
Type:
Show Source
object
-
activityCalendarGid: string
The activity calendar of the driver defined for this work profile.
-
domainName: string
Database domain where this data is stored.
-
effectiveDate:
effectiveDate
The effective date for this driver work profile.
-
expiryDate:
expiryDate
The expiry date for this driver work profile.
-
homeLocationGid: string
The home location of the driver defined for this work profile.
-
isShiftBased: string
Allows you to select whether the work profile for the driver is Shift Based or not. If you set this to Yes, then the work profile is evaluated when you try and get the driver home. The driver will be sent home at the end of each shift, and they will start from their home location for their next assignment.
-
links: array
links
Read Only:
true
Nested Schema : effectiveDate
The effective date for this driver work profile.
Match All
The effective date for this driver work profile.
Show Source
Nested Schema : expiryDate
The expiry date for this driver work profile.
Match All
The expiry date for this driver work profile.
Show Source
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
-
activityCalendarGid: string
The activity calendar of the driver defined for this work profile.
-
domainName: string
Database domain where this data is stored.
-
effectiveDate:
effectiveDate
The effective date for this driver work profile.
-
expiryDate:
expiryDate
The expiry date for this driver work profile.
-
homeLocationGid: string
The home location of the driver defined for this work profile.
-
isShiftBased: string
Allows you to select whether the work profile for the driver is Shift Based or not. If you set this to Yes, then the work profile is evaluated when you try and get the driver home. The driver will be sent home at the end of each shift, and they will start from their home location for their next assignment.
-
links: array
links
Read Only:
true
Nested Schema : effectiveDate
The effective date for this driver work profile.
Match All
The effective date for this driver work profile.
Show Source
Nested Schema : expiryDate
The expiry date for this driver work profile.
Match All
The expiry date for this driver work profile.
Show Source