Root Schema : showBookingGrid
Type: object
Show Source
{
"properties":{
"duration":{
"description":"The estimated duration of the activity in minutes.",
"type":"integer"
},
"travelTime":{
"description":"The average travel time (in minutes) to the activity.",
"type":"integer"
},
"actualAtTime":{
"description":"UTC timestamp in format YYYY-MM-DD HH:MM:SS for which the response was calculated.",
"type":"string"
},
"workZone":{
"description":"The label of the work zone determined for the activity.",
"type":"string"
},
"timeSlotsDictionary":{
"description":"The dictionary of time slots on the top level, which includes all time slots defined for the capacity areas and filtered by defined capacity categories.",
"type":"array",
"items":{
"type":"object",
"title":"time slot info",
"properties":{
"label":{
"description":"The label of the timeslot. ",
"type":"string"
},
"name":{
"description":"The name of the timeslot.",
"type":"string"
},
"timeFrom":{
"description":"The start time of the timeslot.",
"type":"string"
},
"timeTo":{
"description":"The end time of the timeslot.",
"type":"string"
}
}
}
},
"resourcesDictionary":{
"items":{
"type":"object",
"title":"resource",
"properties":{
"timeZone":{
"type":"string",
"description":"The name of the resource's time zone. This field accepts both Oracle Field Service time zone names (for example, Eastern) and IANA standard time zone names (for example, America/New_York). It is recommended that you specify IANA names. In the response, this field contains the Oracle Field Service time zone name, while the field 'timeZoneIANA' contains the IANA time zone name. For a list of supported time zones, see <a href=\"OFSC_Supported_Time_Zones.html\">Supported Time Zones</a>.",
"title":"Time Zone"
},
"timeZoneIANA":{
"type":"string",
"title":"Time Zone IANA Name",
"description":"The IANA name of the resource's time zone (for example, America/New_York). For the list of IANA time zone names, see <a href=https://www.iana.org/time-zones>IANA Time Zones</a><p>This is a read-only field and is only returned in responses."
},
"email":{
"x-nullable":true,
"type":"string",
"description":"The email ID of the resource. The maximum character length of this field is 255 characters. If more than 255 characters are specified, then only the first 255 characters are saved and the rest are ignored.",
"title":"Email"
},
"phone":{
"type":"string",
"x-nullable":true,
"description":"<p>The phone number of the resource. The maximum character length of this field is 16 characters. If more than 16 characters are specified, then only the first 16 characters are saved and the rest are ignored.</p><p><i>Note</i>: The phone number is saved in Oracle Field Service with the '+' symbol and all other non-digit characters are removed. For example, if you enter the phone number as +1(234)234-23_42, it is saved in Oracle Field Service as +12342342342.</p>",
"title":"Phone"
},
"name":{
"type":"string",
"minLength":1,
"description":"The name of the resource. The maximum character length of this field is 40 characters. If more than 40 characters are specified, then only the first 40 characters are saved and the rest are ignored.",
"title":"Name"
},
"resourceType":{
"type":"string",
"description":"The type of the resource.",
"title":"Resource Type"
},
"resourceId":{
"x-nullable":true,
"type":"string",
"description":"The identifier of the resource in the external system. The maximum character length of this field is 32 characters. If more than 32 characters are specified, the operation fails with HTTP status 400 error.",
"title":"Resource ID"
},
"status":{
"type":"string",
"enum":[
"active",
"inactive"
],
"description":"The status of the resource.",
"title":"Status"
},
"parentResourceId":{
"type":"string",
"description":"The unique identifier of the parent resource.",
"title":"Parent Resource ID"
}
},
"description":"The resource used for an activity. For example, a resource can be a technician, a truck, or a bucket. <p><b>Note</b>: This resource is not the same as a REST resource.</p>"
},
"type":"array",
"description":"An array of resource items. Depend on 'resourceFields' parameter the field set of resource object may vary."
},
"areas":{
"description":"The array of available booking options. Each item in the array contains the available booking options for a capacity area.",
"type":"array",
"items":{
"type":"object",
"title":"area",
"properties":{
"label":{
"description":"The label of the area.",
"type":"string"
},
"name":{
"description":"The name of the area.",
"type":"string"
},
"bucket":{
"description":"The external identifier of a bucket that represents a Capacity Area.",
"type":"string"
},
"timeZone":{
"description":"The IANA name (for example, 'America/New_York') of the time zone. If the IANA name is not defined for a given time zone (if the time zone differences are entered manually), then the operation returns a label or name of the time zone. The labels are used to identify the time zones in public API calls.",
"type":"string"
},
"areaTimeSlots":{
"description":"The list of time slot labels which are specified for the area.",
"type":"array",
"items":{
"title":"time slot name",
"type":"string"
}
},
"averageBucketTravel":{
"type":"integer",
"title":"Average Travel Time On The Technician Bucket",
"description":"Contains the value of average travel time over the bucket."
},
"averageTravelKeyTravel":{
"type":"integer",
"title":"Average Travel Time On The FMR Activity Travel Key",
"description":"Contains the value of average travel time for the traveling withing the same travel key as of bookable activity."
},
"dates":{
"description":"The array of available booking options. Each item in the array contains the available booking options for a particular day.",
"type":"array",
"items":{
"type":"object",
"title":"date",
"properties":{
"date":{
"description":"An item of the array that contains data for a single day.",
"type":"string",
"format":"date",
"example":"2016-07-22"
},
"timeZoneDiff":{
"description":"The time zone difference in minutes for current capacity area (according to configured time zone) for current date.",
"type":"integer"
},
"originalQuota":{
"description":"The quota value that is defined on a day level. For interval-based booking, if there is no quota defined, this parameter is not returned.",
"type":"integer"
},
"remainingQuota":{
"description":"The quota available on the day level after the activity booking. If there is no quota defined, the parameter is not returned.",
"type":"integer"
},
"timeSlots":{
"description":"The list of time slots at which the activity can be started.",
"type":"array",
"items":{
"type":"object",
"title":"timeSlot",
"properties":{
"label":{
"description":"The label of the time slot. The parameter is not returned for the custom service window.",
"type":"string"
},
"originalQuota":{
"description":"The minimum quota value defined on a time slot level for activity fields or capacity categories. The parameter is returned only for timeslot-based booking.",
"type":"integer"
},
"remainingQuota":{
"description":"The available quota after activity booking. If there are multiple constraints (for example, day and category quota), the minimal quota value is returned. The parameter is returned only for timeslot-based booking.",
"type":"integer"
},
"recommendationInfo":{
"type":"object",
"description":"This structure is provided for options that are recommended by the system.",
"properties":{
"level":{
"description":"This attribute may be used in user interfaces for booking to mark the options with two levels of recommendations.",
"type":"string",
"enum":[
"good",
"best"
]
},
"nearbyDistance":{
"description":"The distance in kilometers to the nearby activity (e.g. 'nearbyDistance': 12.5). This value is provided for Capacity Areas with Quota based booking.",
"type":"number"
},
"nearbyTravel":{
"description":"The estimated travel time in minutes to or from the nearby activity. This value is provided for Capacity Areas with Direct Assignment based booking.",
"type":"integer"
},
"additionalTravel":{
"type":"integer",
"title":"Additional Travel",
"description":"The difference in minutes between total travel in the current route and travel in the proposed route where the booking activity added."
},
"travelKeyMatch":{
"type":"boolean",
"title":"Travel Key Match",
"description":"Contains one of the following values: true or false. If true, either the previous or the following activity has the same travel travel key value as the activity specified in request. If false, then the previous or the following activity has the different travel travel key values as the activity specified in request."
}
}
},
"reason":{
"description":"<p>This value may be returned if the request parameter <code>returnReasons: true</code> was specified. It is returned for the options that should not be used for booking and contains the reason why.</p><p>The meaning of the values:</p><ul><li>timeInPast: This time slot is already in the past;</li><li>noCapacity: For the time-slot based booking: Quota is exceeded on some level(s); For other booking types: activity cannot be assigned to this time slot without violating time constraints;</li><li>closedTimeSlot: For the time-slot based booking only: the time slot has been closed in the booking status;</li><li>allCategoriesAreClosed: For the time-slot based booking only: all the Capacity Categories have been closed.</li><li>tooLongTravel: additionalTravel exceeds averageBucketTravel by more than 20%, and there is no travelKeyMatch (If the \"Using forecasted activities flow\" option is activated either through the GUI or API parameters)</li></ul>",
"type":"string",
"enum":[
"timeInPast",
"noCapacity",
"closedTimeSlot",
"allCategoriesAreClosed",
"tooLongTravel"
]
},
"resourceId":{
"title":"Resource ID",
"description":"The unique identifier of the resource in Oracle Field Service.",
"type":"string"
},
"setPositionInRoute":{
"properties":{
"position":{
"type":"string",
"enum":[
"first",
"last",
"notOrdered",
"byServiceWindow",
"afterActivity"
],
"description":"The position of the activity in the route.",
"title":"Position"
},
"activityId":{
"type":"integer",
"title":"Activity ID",
"description":"The unique identifier of some pending ordered activity in the target route. It is used along with the 'afterActivity' value of the 'position' parameter so that to put one activity in the position after another."
}
},
"type":"object",
"description":"The value of this element determines the position of the activity in the route. If this element is present then activity will be put to specified position in route. The parameter is optional, if it is absent then the value \"position: byServiceWindow\" is used."
}
}
}
},
"hasNearbyActivities":{
"type":"boolean",
"title":"Contains Nearby Activities",
"description":"Contains one of the following values: true or false. If true, either the previous or the following activity is in close proximity of the activity specified in request. If false, then the previous or the following activity is not in close proximity of the activity specified in request."
},
"hasForecastedActivities":{
"type":"boolean",
"title":"Contains Forecasted Activities",
"description":"Contains one of the following values: true or false. If true, the activity flow forecast was used to calculate the additional travel. If false, then only activities already present in the route were used to calculate the additional travel."
}
}
}
}
}
}
}
}
}
Nested Schema : areas
Type: array
The array of available booking options. Each item in the array contains the available booking options for a capacity area.
Show Source
{
"description":"The array of available booking options. Each item in the array contains the available booking options for a capacity area.",
"type":"array",
"items":{
"type":"object",
"title":"area",
"properties":{
"label":{
"description":"The label of the area.",
"type":"string"
},
"name":{
"description":"The name of the area.",
"type":"string"
},
"bucket":{
"description":"The external identifier of a bucket that represents a Capacity Area.",
"type":"string"
},
"timeZone":{
"description":"The IANA name (for example, 'America/New_York') of the time zone. If the IANA name is not defined for a given time zone (if the time zone differences are entered manually), then the operation returns a label or name of the time zone. The labels are used to identify the time zones in public API calls.",
"type":"string"
},
"areaTimeSlots":{
"description":"The list of time slot labels which are specified for the area.",
"type":"array",
"items":{
"title":"time slot name",
"type":"string"
}
},
"averageBucketTravel":{
"type":"integer",
"title":"Average Travel Time On The Technician Bucket",
"description":"Contains the value of average travel time over the bucket."
},
"averageTravelKeyTravel":{
"type":"integer",
"title":"Average Travel Time On The FMR Activity Travel Key",
"description":"Contains the value of average travel time for the traveling withing the same travel key as of bookable activity."
},
"dates":{
"description":"The array of available booking options. Each item in the array contains the available booking options for a particular day.",
"type":"array",
"items":{
"type":"object",
"title":"date",
"properties":{
"date":{
"description":"An item of the array that contains data for a single day.",
"type":"string",
"format":"date",
"example":"2016-07-22"
},
"timeZoneDiff":{
"description":"The time zone difference in minutes for current capacity area (according to configured time zone) for current date.",
"type":"integer"
},
"originalQuota":{
"description":"The quota value that is defined on a day level. For interval-based booking, if there is no quota defined, this parameter is not returned.",
"type":"integer"
},
"remainingQuota":{
"description":"The quota available on the day level after the activity booking. If there is no quota defined, the parameter is not returned.",
"type":"integer"
},
"timeSlots":{
"description":"The list of time slots at which the activity can be started.",
"type":"array",
"items":{
"type":"object",
"title":"timeSlot",
"properties":{
"label":{
"description":"The label of the time slot. The parameter is not returned for the custom service window.",
"type":"string"
},
"originalQuota":{
"description":"The minimum quota value defined on a time slot level for activity fields or capacity categories. The parameter is returned only for timeslot-based booking.",
"type":"integer"
},
"remainingQuota":{
"description":"The available quota after activity booking. If there are multiple constraints (for example, day and category quota), the minimal quota value is returned. The parameter is returned only for timeslot-based booking.",
"type":"integer"
},
"recommendationInfo":{
"type":"object",
"description":"This structure is provided for options that are recommended by the system.",
"properties":{
"level":{
"description":"This attribute may be used in user interfaces for booking to mark the options with two levels of recommendations.",
"type":"string",
"enum":[
"good",
"best"
]
},
"nearbyDistance":{
"description":"The distance in kilometers to the nearby activity (e.g. 'nearbyDistance': 12.5). This value is provided for Capacity Areas with Quota based booking.",
"type":"number"
},
"nearbyTravel":{
"description":"The estimated travel time in minutes to or from the nearby activity. This value is provided for Capacity Areas with Direct Assignment based booking.",
"type":"integer"
},
"additionalTravel":{
"type":"integer",
"title":"Additional Travel",
"description":"The difference in minutes between total travel in the current route and travel in the proposed route where the booking activity added."
},
"travelKeyMatch":{
"type":"boolean",
"title":"Travel Key Match",
"description":"Contains one of the following values: true or false. If true, either the previous or the following activity has the same travel travel key value as the activity specified in request. If false, then the previous or the following activity has the different travel travel key values as the activity specified in request."
}
}
},
"reason":{
"description":"<p>This value may be returned if the request parameter <code>returnReasons: true</code> was specified. It is returned for the options that should not be used for booking and contains the reason why.</p><p>The meaning of the values:</p><ul><li>timeInPast: This time slot is already in the past;</li><li>noCapacity: For the time-slot based booking: Quota is exceeded on some level(s); For other booking types: activity cannot be assigned to this time slot without violating time constraints;</li><li>closedTimeSlot: For the time-slot based booking only: the time slot has been closed in the booking status;</li><li>allCategoriesAreClosed: For the time-slot based booking only: all the Capacity Categories have been closed.</li><li>tooLongTravel: additionalTravel exceeds averageBucketTravel by more than 20%, and there is no travelKeyMatch (If the \"Using forecasted activities flow\" option is activated either through the GUI or API parameters)</li></ul>",
"type":"string",
"enum":[
"timeInPast",
"noCapacity",
"closedTimeSlot",
"allCategoriesAreClosed",
"tooLongTravel"
]
},
"resourceId":{
"title":"Resource ID",
"description":"The unique identifier of the resource in Oracle Field Service.",
"type":"string"
},
"setPositionInRoute":{
"properties":{
"position":{
"type":"string",
"enum":[
"first",
"last",
"notOrdered",
"byServiceWindow",
"afterActivity"
],
"description":"The position of the activity in the route.",
"title":"Position"
},
"activityId":{
"type":"integer",
"title":"Activity ID",
"description":"The unique identifier of some pending ordered activity in the target route. It is used along with the 'afterActivity' value of the 'position' parameter so that to put one activity in the position after another."
}
},
"type":"object",
"description":"The value of this element determines the position of the activity in the route. If this element is present then activity will be put to specified position in route. The parameter is optional, if it is absent then the value \"position: byServiceWindow\" is used."
}
}
}
},
"hasNearbyActivities":{
"type":"boolean",
"title":"Contains Nearby Activities",
"description":"Contains one of the following values: true or false. If true, either the previous or the following activity is in close proximity of the activity specified in request. If false, then the previous or the following activity is not in close proximity of the activity specified in request."
},
"hasForecastedActivities":{
"type":"boolean",
"title":"Contains Forecasted Activities",
"description":"Contains one of the following values: true or false. If true, the activity flow forecast was used to calculate the additional travel. If false, then only activities already present in the route were used to calculate the additional travel."
}
}
}
}
}
}
}
Nested Schema : resourcesDictionary
Type: array
An array of resource items. Depend on 'resourceFields' parameter the field set of resource object may vary.
Show Source
-
Array of:
object resource
Title: resource
The resource used for an activity. For example, a resource can be a technician, a truck, or a bucket.
Note: This resource is not the same as a REST resource.
{
"items":{
"type":"object",
"title":"resource",
"properties":{
"timeZone":{
"type":"string",
"description":"The name of the resource's time zone. This field accepts both Oracle Field Service time zone names (for example, Eastern) and IANA standard time zone names (for example, America/New_York). It is recommended that you specify IANA names. In the response, this field contains the Oracle Field Service time zone name, while the field 'timeZoneIANA' contains the IANA time zone name. For a list of supported time zones, see <a href=\"OFSC_Supported_Time_Zones.html\">Supported Time Zones</a>.",
"title":"Time Zone"
},
"timeZoneIANA":{
"type":"string",
"title":"Time Zone IANA Name",
"description":"The IANA name of the resource's time zone (for example, America/New_York). For the list of IANA time zone names, see <a href=https://www.iana.org/time-zones>IANA Time Zones</a><p>This is a read-only field and is only returned in responses."
},
"email":{
"x-nullable":true,
"type":"string",
"description":"The email ID of the resource. The maximum character length of this field is 255 characters. If more than 255 characters are specified, then only the first 255 characters are saved and the rest are ignored.",
"title":"Email"
},
"phone":{
"type":"string",
"x-nullable":true,
"description":"<p>The phone number of the resource. The maximum character length of this field is 16 characters. If more than 16 characters are specified, then only the first 16 characters are saved and the rest are ignored.</p><p><i>Note</i>: The phone number is saved in Oracle Field Service with the '+' symbol and all other non-digit characters are removed. For example, if you enter the phone number as +1(234)234-23_42, it is saved in Oracle Field Service as +12342342342.</p>",
"title":"Phone"
},
"name":{
"type":"string",
"minLength":1,
"description":"The name of the resource. The maximum character length of this field is 40 characters. If more than 40 characters are specified, then only the first 40 characters are saved and the rest are ignored.",
"title":"Name"
},
"resourceType":{
"type":"string",
"description":"The type of the resource.",
"title":"Resource Type"
},
"resourceId":{
"x-nullable":true,
"type":"string",
"description":"The identifier of the resource in the external system. The maximum character length of this field is 32 characters. If more than 32 characters are specified, the operation fails with HTTP status 400 error.",
"title":"Resource ID"
},
"status":{
"type":"string",
"enum":[
"active",
"inactive"
],
"description":"The status of the resource.",
"title":"Status"
},
"parentResourceId":{
"type":"string",
"description":"The unique identifier of the parent resource.",
"title":"Parent Resource ID"
}
},
"description":"The resource used for an activity. For example, a resource can be a technician, a truck, or a bucket. <p><b>Note</b>: This resource is not the same as a REST resource.</p>"
},
"type":"array",
"description":"An array of resource items. Depend on 'resourceFields' parameter the field set of resource object may vary."
}
Nested Schema : timeSlotsDictionary
Type: array
The dictionary of time slots on the top level, which includes all time slots defined for the capacity areas and filtered by defined capacity categories.
Show Source
{
"description":"The dictionary of time slots on the top level, which includes all time slots defined for the capacity areas and filtered by defined capacity categories.",
"type":"array",
"items":{
"type":"object",
"title":"time slot info",
"properties":{
"label":{
"description":"The label of the timeslot. ",
"type":"string"
},
"name":{
"description":"The name of the timeslot.",
"type":"string"
},
"timeFrom":{
"description":"The start time of the timeslot.",
"type":"string"
},
"timeTo":{
"description":"The end time of the timeslot.",
"type":"string"
}
}
}
}
Nested Schema : area
Type: object
Title: area
Show Source
-
areaTimeSlots:
array areaTimeSlots
The list of time slot labels which are specified for the area.
-
averageBucketTravel:
integer
Title: Average Travel Time On The Technician Bucket
Contains the value of average travel time over the bucket.
-
averageTravelKeyTravel:
integer
Title: Average Travel Time On The FMR Activity Travel Key
Contains the value of average travel time for the traveling withing the same travel key as of bookable activity.
-
bucket:
string
The external identifier of a bucket that represents a Capacity Area.
-
dates:
array dates
The array of available booking options. Each item in the array contains the available booking options for a particular day.
-
label:
string
-
name:
string
-
timeZone:
string
The IANA name (for example, 'America/New_York') of the time zone. If the IANA name is not defined for a given time zone (if the time zone differences are entered manually), then the operation returns a label or name of the time zone. The labels are used to identify the time zones in public API calls.
{
"type":"object",
"title":"area",
"properties":{
"label":{
"description":"The label of the area.",
"type":"string"
},
"name":{
"description":"The name of the area.",
"type":"string"
},
"bucket":{
"description":"The external identifier of a bucket that represents a Capacity Area.",
"type":"string"
},
"timeZone":{
"description":"The IANA name (for example, 'America/New_York') of the time zone. If the IANA name is not defined for a given time zone (if the time zone differences are entered manually), then the operation returns a label or name of the time zone. The labels are used to identify the time zones in public API calls.",
"type":"string"
},
"areaTimeSlots":{
"description":"The list of time slot labels which are specified for the area.",
"type":"array",
"items":{
"title":"time slot name",
"type":"string"
}
},
"averageBucketTravel":{
"type":"integer",
"title":"Average Travel Time On The Technician Bucket",
"description":"Contains the value of average travel time over the bucket."
},
"averageTravelKeyTravel":{
"type":"integer",
"title":"Average Travel Time On The FMR Activity Travel Key",
"description":"Contains the value of average travel time for the traveling withing the same travel key as of bookable activity."
},
"dates":{
"description":"The array of available booking options. Each item in the array contains the available booking options for a particular day.",
"type":"array",
"items":{
"type":"object",
"title":"date",
"properties":{
"date":{
"description":"An item of the array that contains data for a single day.",
"type":"string",
"format":"date",
"example":"2016-07-22"
},
"timeZoneDiff":{
"description":"The time zone difference in minutes for current capacity area (according to configured time zone) for current date.",
"type":"integer"
},
"originalQuota":{
"description":"The quota value that is defined on a day level. For interval-based booking, if there is no quota defined, this parameter is not returned.",
"type":"integer"
},
"remainingQuota":{
"description":"The quota available on the day level after the activity booking. If there is no quota defined, the parameter is not returned.",
"type":"integer"
},
"timeSlots":{
"description":"The list of time slots at which the activity can be started.",
"type":"array",
"items":{
"type":"object",
"title":"timeSlot",
"properties":{
"label":{
"description":"The label of the time slot. The parameter is not returned for the custom service window.",
"type":"string"
},
"originalQuota":{
"description":"The minimum quota value defined on a time slot level for activity fields or capacity categories. The parameter is returned only for timeslot-based booking.",
"type":"integer"
},
"remainingQuota":{
"description":"The available quota after activity booking. If there are multiple constraints (for example, day and category quota), the minimal quota value is returned. The parameter is returned only for timeslot-based booking.",
"type":"integer"
},
"recommendationInfo":{
"type":"object",
"description":"This structure is provided for options that are recommended by the system.",
"properties":{
"level":{
"description":"This attribute may be used in user interfaces for booking to mark the options with two levels of recommendations.",
"type":"string",
"enum":[
"good",
"best"
]
},
"nearbyDistance":{
"description":"The distance in kilometers to the nearby activity (e.g. 'nearbyDistance': 12.5). This value is provided for Capacity Areas with Quota based booking.",
"type":"number"
},
"nearbyTravel":{
"description":"The estimated travel time in minutes to or from the nearby activity. This value is provided for Capacity Areas with Direct Assignment based booking.",
"type":"integer"
},
"additionalTravel":{
"type":"integer",
"title":"Additional Travel",
"description":"The difference in minutes between total travel in the current route and travel in the proposed route where the booking activity added."
},
"travelKeyMatch":{
"type":"boolean",
"title":"Travel Key Match",
"description":"Contains one of the following values: true or false. If true, either the previous or the following activity has the same travel travel key value as the activity specified in request. If false, then the previous or the following activity has the different travel travel key values as the activity specified in request."
}
}
},
"reason":{
"description":"<p>This value may be returned if the request parameter <code>returnReasons: true</code> was specified. It is returned for the options that should not be used for booking and contains the reason why.</p><p>The meaning of the values:</p><ul><li>timeInPast: This time slot is already in the past;</li><li>noCapacity: For the time-slot based booking: Quota is exceeded on some level(s); For other booking types: activity cannot be assigned to this time slot without violating time constraints;</li><li>closedTimeSlot: For the time-slot based booking only: the time slot has been closed in the booking status;</li><li>allCategoriesAreClosed: For the time-slot based booking only: all the Capacity Categories have been closed.</li><li>tooLongTravel: additionalTravel exceeds averageBucketTravel by more than 20%, and there is no travelKeyMatch (If the \"Using forecasted activities flow\" option is activated either through the GUI or API parameters)</li></ul>",
"type":"string",
"enum":[
"timeInPast",
"noCapacity",
"closedTimeSlot",
"allCategoriesAreClosed",
"tooLongTravel"
]
},
"resourceId":{
"title":"Resource ID",
"description":"The unique identifier of the resource in Oracle Field Service.",
"type":"string"
},
"setPositionInRoute":{
"properties":{
"position":{
"type":"string",
"enum":[
"first",
"last",
"notOrdered",
"byServiceWindow",
"afterActivity"
],
"description":"The position of the activity in the route.",
"title":"Position"
},
"activityId":{
"type":"integer",
"title":"Activity ID",
"description":"The unique identifier of some pending ordered activity in the target route. It is used along with the 'afterActivity' value of the 'position' parameter so that to put one activity in the position after another."
}
},
"type":"object",
"description":"The value of this element determines the position of the activity in the route. If this element is present then activity will be put to specified position in route. The parameter is optional, if it is absent then the value \"position: byServiceWindow\" is used."
}
}
}
},
"hasNearbyActivities":{
"type":"boolean",
"title":"Contains Nearby Activities",
"description":"Contains one of the following values: true or false. If true, either the previous or the following activity is in close proximity of the activity specified in request. If false, then the previous or the following activity is not in close proximity of the activity specified in request."
},
"hasForecastedActivities":{
"type":"boolean",
"title":"Contains Forecasted Activities",
"description":"Contains one of the following values: true or false. If true, the activity flow forecast was used to calculate the additional travel. If false, then only activities already present in the route were used to calculate the additional travel."
}
}
}
}
}
}
Nested Schema : areaTimeSlots
Type: array
The list of time slot labels which are specified for the area.
Show Source
{
"description":"The list of time slot labels which are specified for the area.",
"type":"array",
"items":{
"title":"time slot name",
"type":"string"
}
}
Nested Schema : dates
Type: array
The array of available booking options. Each item in the array contains the available booking options for a particular day.
Show Source
{
"description":"The array of available booking options. Each item in the array contains the available booking options for a particular day.",
"type":"array",
"items":{
"type":"object",
"title":"date",
"properties":{
"date":{
"description":"An item of the array that contains data for a single day.",
"type":"string",
"format":"date",
"example":"2016-07-22"
},
"timeZoneDiff":{
"description":"The time zone difference in minutes for current capacity area (according to configured time zone) for current date.",
"type":"integer"
},
"originalQuota":{
"description":"The quota value that is defined on a day level. For interval-based booking, if there is no quota defined, this parameter is not returned.",
"type":"integer"
},
"remainingQuota":{
"description":"The quota available on the day level after the activity booking. If there is no quota defined, the parameter is not returned.",
"type":"integer"
},
"timeSlots":{
"description":"The list of time slots at which the activity can be started.",
"type":"array",
"items":{
"type":"object",
"title":"timeSlot",
"properties":{
"label":{
"description":"The label of the time slot. The parameter is not returned for the custom service window.",
"type":"string"
},
"originalQuota":{
"description":"The minimum quota value defined on a time slot level for activity fields or capacity categories. The parameter is returned only for timeslot-based booking.",
"type":"integer"
},
"remainingQuota":{
"description":"The available quota after activity booking. If there are multiple constraints (for example, day and category quota), the minimal quota value is returned. The parameter is returned only for timeslot-based booking.",
"type":"integer"
},
"recommendationInfo":{
"type":"object",
"description":"This structure is provided for options that are recommended by the system.",
"properties":{
"level":{
"description":"This attribute may be used in user interfaces for booking to mark the options with two levels of recommendations.",
"type":"string",
"enum":[
"good",
"best"
]
},
"nearbyDistance":{
"description":"The distance in kilometers to the nearby activity (e.g. 'nearbyDistance': 12.5). This value is provided for Capacity Areas with Quota based booking.",
"type":"number"
},
"nearbyTravel":{
"description":"The estimated travel time in minutes to or from the nearby activity. This value is provided for Capacity Areas with Direct Assignment based booking.",
"type":"integer"
},
"additionalTravel":{
"type":"integer",
"title":"Additional Travel",
"description":"The difference in minutes between total travel in the current route and travel in the proposed route where the booking activity added."
},
"travelKeyMatch":{
"type":"boolean",
"title":"Travel Key Match",
"description":"Contains one of the following values: true or false. If true, either the previous or the following activity has the same travel travel key value as the activity specified in request. If false, then the previous or the following activity has the different travel travel key values as the activity specified in request."
}
}
},
"reason":{
"description":"<p>This value may be returned if the request parameter <code>returnReasons: true</code> was specified. It is returned for the options that should not be used for booking and contains the reason why.</p><p>The meaning of the values:</p><ul><li>timeInPast: This time slot is already in the past;</li><li>noCapacity: For the time-slot based booking: Quota is exceeded on some level(s); For other booking types: activity cannot be assigned to this time slot without violating time constraints;</li><li>closedTimeSlot: For the time-slot based booking only: the time slot has been closed in the booking status;</li><li>allCategoriesAreClosed: For the time-slot based booking only: all the Capacity Categories have been closed.</li><li>tooLongTravel: additionalTravel exceeds averageBucketTravel by more than 20%, and there is no travelKeyMatch (If the \"Using forecasted activities flow\" option is activated either through the GUI or API parameters)</li></ul>",
"type":"string",
"enum":[
"timeInPast",
"noCapacity",
"closedTimeSlot",
"allCategoriesAreClosed",
"tooLongTravel"
]
},
"resourceId":{
"title":"Resource ID",
"description":"The unique identifier of the resource in Oracle Field Service.",
"type":"string"
},
"setPositionInRoute":{
"properties":{
"position":{
"type":"string",
"enum":[
"first",
"last",
"notOrdered",
"byServiceWindow",
"afterActivity"
],
"description":"The position of the activity in the route.",
"title":"Position"
},
"activityId":{
"type":"integer",
"title":"Activity ID",
"description":"The unique identifier of some pending ordered activity in the target route. It is used along with the 'afterActivity' value of the 'position' parameter so that to put one activity in the position after another."
}
},
"type":"object",
"description":"The value of this element determines the position of the activity in the route. If this element is present then activity will be put to specified position in route. The parameter is optional, if it is absent then the value \"position: byServiceWindow\" is used."
}
}
}
},
"hasNearbyActivities":{
"type":"boolean",
"title":"Contains Nearby Activities",
"description":"Contains one of the following values: true or false. If true, either the previous or the following activity is in close proximity of the activity specified in request. If false, then the previous or the following activity is not in close proximity of the activity specified in request."
},
"hasForecastedActivities":{
"type":"boolean",
"title":"Contains Forecasted Activities",
"description":"Contains one of the following values: true or false. If true, the activity flow forecast was used to calculate the additional travel. If false, then only activities already present in the route were used to calculate the additional travel."
}
}
}
}
Nested Schema : date
Type: object
Title: date
Show Source
-
date:
string(date)
An item of the array that contains data for a single day.
Example: 2016-07-22
-
hasForecastedActivities:
boolean
Title: Contains Forecasted Activities
Contains one of the following values: true or false. If true, the activity flow forecast was used to calculate the additional travel. If false, then only activities already present in the route were used to calculate the additional travel.
-
hasNearbyActivities:
boolean
Title: Contains Nearby Activities
Contains one of the following values: true or false. If true, either the previous or the following activity is in close proximity of the activity specified in request. If false, then the previous or the following activity is not in close proximity of the activity specified in request.
-
originalQuota:
integer
The quota value that is defined on a day level. For interval-based booking, if there is no quota defined, this parameter is not returned.
-
remainingQuota:
integer
The quota available on the day level after the activity booking. If there is no quota defined, the parameter is not returned.
-
timeSlots:
array timeSlots
The list of time slots at which the activity can be started.
-
timeZoneDiff:
integer
The time zone difference in minutes for current capacity area (according to configured time zone) for current date.
{
"type":"object",
"title":"date",
"properties":{
"date":{
"description":"An item of the array that contains data for a single day.",
"type":"string",
"format":"date",
"example":"2016-07-22"
},
"timeZoneDiff":{
"description":"The time zone difference in minutes for current capacity area (according to configured time zone) for current date.",
"type":"integer"
},
"originalQuota":{
"description":"The quota value that is defined on a day level. For interval-based booking, if there is no quota defined, this parameter is not returned.",
"type":"integer"
},
"remainingQuota":{
"description":"The quota available on the day level after the activity booking. If there is no quota defined, the parameter is not returned.",
"type":"integer"
},
"timeSlots":{
"description":"The list of time slots at which the activity can be started.",
"type":"array",
"items":{
"type":"object",
"title":"timeSlot",
"properties":{
"label":{
"description":"The label of the time slot. The parameter is not returned for the custom service window.",
"type":"string"
},
"originalQuota":{
"description":"The minimum quota value defined on a time slot level for activity fields or capacity categories. The parameter is returned only for timeslot-based booking.",
"type":"integer"
},
"remainingQuota":{
"description":"The available quota after activity booking. If there are multiple constraints (for example, day and category quota), the minimal quota value is returned. The parameter is returned only for timeslot-based booking.",
"type":"integer"
},
"recommendationInfo":{
"type":"object",
"description":"This structure is provided for options that are recommended by the system.",
"properties":{
"level":{
"description":"This attribute may be used in user interfaces for booking to mark the options with two levels of recommendations.",
"type":"string",
"enum":[
"good",
"best"
]
},
"nearbyDistance":{
"description":"The distance in kilometers to the nearby activity (e.g. 'nearbyDistance': 12.5). This value is provided for Capacity Areas with Quota based booking.",
"type":"number"
},
"nearbyTravel":{
"description":"The estimated travel time in minutes to or from the nearby activity. This value is provided for Capacity Areas with Direct Assignment based booking.",
"type":"integer"
},
"additionalTravel":{
"type":"integer",
"title":"Additional Travel",
"description":"The difference in minutes between total travel in the current route and travel in the proposed route where the booking activity added."
},
"travelKeyMatch":{
"type":"boolean",
"title":"Travel Key Match",
"description":"Contains one of the following values: true or false. If true, either the previous or the following activity has the same travel travel key value as the activity specified in request. If false, then the previous or the following activity has the different travel travel key values as the activity specified in request."
}
}
},
"reason":{
"description":"<p>This value may be returned if the request parameter <code>returnReasons: true</code> was specified. It is returned for the options that should not be used for booking and contains the reason why.</p><p>The meaning of the values:</p><ul><li>timeInPast: This time slot is already in the past;</li><li>noCapacity: For the time-slot based booking: Quota is exceeded on some level(s); For other booking types: activity cannot be assigned to this time slot without violating time constraints;</li><li>closedTimeSlot: For the time-slot based booking only: the time slot has been closed in the booking status;</li><li>allCategoriesAreClosed: For the time-slot based booking only: all the Capacity Categories have been closed.</li><li>tooLongTravel: additionalTravel exceeds averageBucketTravel by more than 20%, and there is no travelKeyMatch (If the \"Using forecasted activities flow\" option is activated either through the GUI or API parameters)</li></ul>",
"type":"string",
"enum":[
"timeInPast",
"noCapacity",
"closedTimeSlot",
"allCategoriesAreClosed",
"tooLongTravel"
]
},
"resourceId":{
"title":"Resource ID",
"description":"The unique identifier of the resource in Oracle Field Service.",
"type":"string"
},
"setPositionInRoute":{
"properties":{
"position":{
"type":"string",
"enum":[
"first",
"last",
"notOrdered",
"byServiceWindow",
"afterActivity"
],
"description":"The position of the activity in the route.",
"title":"Position"
},
"activityId":{
"type":"integer",
"title":"Activity ID",
"description":"The unique identifier of some pending ordered activity in the target route. It is used along with the 'afterActivity' value of the 'position' parameter so that to put one activity in the position after another."
}
},
"type":"object",
"description":"The value of this element determines the position of the activity in the route. If this element is present then activity will be put to specified position in route. The parameter is optional, if it is absent then the value \"position: byServiceWindow\" is used."
}
}
}
},
"hasNearbyActivities":{
"type":"boolean",
"title":"Contains Nearby Activities",
"description":"Contains one of the following values: true or false. If true, either the previous or the following activity is in close proximity of the activity specified in request. If false, then the previous or the following activity is not in close proximity of the activity specified in request."
},
"hasForecastedActivities":{
"type":"boolean",
"title":"Contains Forecasted Activities",
"description":"Contains one of the following values: true or false. If true, the activity flow forecast was used to calculate the additional travel. If false, then only activities already present in the route were used to calculate the additional travel."
}
}
}
Nested Schema : timeSlots
Type: array
The list of time slots at which the activity can be started.
Show Source
{
"description":"The list of time slots at which the activity can be started.",
"type":"array",
"items":{
"type":"object",
"title":"timeSlot",
"properties":{
"label":{
"description":"The label of the time slot. The parameter is not returned for the custom service window.",
"type":"string"
},
"originalQuota":{
"description":"The minimum quota value defined on a time slot level for activity fields or capacity categories. The parameter is returned only for timeslot-based booking.",
"type":"integer"
},
"remainingQuota":{
"description":"The available quota after activity booking. If there are multiple constraints (for example, day and category quota), the minimal quota value is returned. The parameter is returned only for timeslot-based booking.",
"type":"integer"
},
"recommendationInfo":{
"type":"object",
"description":"This structure is provided for options that are recommended by the system.",
"properties":{
"level":{
"description":"This attribute may be used in user interfaces for booking to mark the options with two levels of recommendations.",
"type":"string",
"enum":[
"good",
"best"
]
},
"nearbyDistance":{
"description":"The distance in kilometers to the nearby activity (e.g. 'nearbyDistance': 12.5). This value is provided for Capacity Areas with Quota based booking.",
"type":"number"
},
"nearbyTravel":{
"description":"The estimated travel time in minutes to or from the nearby activity. This value is provided for Capacity Areas with Direct Assignment based booking.",
"type":"integer"
},
"additionalTravel":{
"type":"integer",
"title":"Additional Travel",
"description":"The difference in minutes between total travel in the current route and travel in the proposed route where the booking activity added."
},
"travelKeyMatch":{
"type":"boolean",
"title":"Travel Key Match",
"description":"Contains one of the following values: true or false. If true, either the previous or the following activity has the same travel travel key value as the activity specified in request. If false, then the previous or the following activity has the different travel travel key values as the activity specified in request."
}
}
},
"reason":{
"description":"<p>This value may be returned if the request parameter <code>returnReasons: true</code> was specified. It is returned for the options that should not be used for booking and contains the reason why.</p><p>The meaning of the values:</p><ul><li>timeInPast: This time slot is already in the past;</li><li>noCapacity: For the time-slot based booking: Quota is exceeded on some level(s); For other booking types: activity cannot be assigned to this time slot without violating time constraints;</li><li>closedTimeSlot: For the time-slot based booking only: the time slot has been closed in the booking status;</li><li>allCategoriesAreClosed: For the time-slot based booking only: all the Capacity Categories have been closed.</li><li>tooLongTravel: additionalTravel exceeds averageBucketTravel by more than 20%, and there is no travelKeyMatch (If the \"Using forecasted activities flow\" option is activated either through the GUI or API parameters)</li></ul>",
"type":"string",
"enum":[
"timeInPast",
"noCapacity",
"closedTimeSlot",
"allCategoriesAreClosed",
"tooLongTravel"
]
},
"resourceId":{
"title":"Resource ID",
"description":"The unique identifier of the resource in Oracle Field Service.",
"type":"string"
},
"setPositionInRoute":{
"properties":{
"position":{
"type":"string",
"enum":[
"first",
"last",
"notOrdered",
"byServiceWindow",
"afterActivity"
],
"description":"The position of the activity in the route.",
"title":"Position"
},
"activityId":{
"type":"integer",
"title":"Activity ID",
"description":"The unique identifier of some pending ordered activity in the target route. It is used along with the 'afterActivity' value of the 'position' parameter so that to put one activity in the position after another."
}
},
"type":"object",
"description":"The value of this element determines the position of the activity in the route. If this element is present then activity will be put to specified position in route. The parameter is optional, if it is absent then the value \"position: byServiceWindow\" is used."
}
}
}
}
Nested Schema : timeSlot
Type: object
Title: timeSlot
Show Source
-
label:
string
The label of the time slot. The parameter is not returned for the custom service window.
-
originalQuota:
integer
The minimum quota value defined on a time slot level for activity fields or capacity categories. The parameter is returned only for timeslot-based booking.
-
reason:
string
Allowed Values: [
"timeInPast",
"noCapacity",
"closedTimeSlot",
"allCategoriesAreClosed",
"tooLongTravel"
]
This value may be returned if the request parameter returnReasons: true
was specified. It is returned for the options that should not be used for booking and contains the reason why.
The meaning of the values:
- timeInPast: This time slot is already in the past;
- noCapacity: For the time-slot based booking: Quota is exceeded on some level(s); For other booking types: activity cannot be assigned to this time slot without violating time constraints;
- closedTimeSlot: For the time-slot based booking only: the time slot has been closed in the booking status;
- allCategoriesAreClosed: For the time-slot based booking only: all the Capacity Categories have been closed.
- tooLongTravel: additionalTravel exceeds averageBucketTravel by more than 20%, and there is no travelKeyMatch (If the "Using forecasted activities flow" option is activated either through the GUI or API parameters)
-
recommendationInfo:
object recommendationInfo
This structure is provided for options that are recommended by the system.
-
remainingQuota:
integer
The available quota after activity booking. If there are multiple constraints (for example, day and category quota), the minimal quota value is returned. The parameter is returned only for timeslot-based booking.
-
resourceId:
string
Title: Resource ID
The unique identifier of the resource in Oracle Field Service.
-
setPositionInRoute:
object setPositionInRoute
The value of this element determines the position of the activity in the route. If this element is present then activity will be put to specified position in route. The parameter is optional, if it is absent then the value "position: byServiceWindow" is used.
{
"type":"object",
"title":"timeSlot",
"properties":{
"label":{
"description":"The label of the time slot. The parameter is not returned for the custom service window.",
"type":"string"
},
"originalQuota":{
"description":"The minimum quota value defined on a time slot level for activity fields or capacity categories. The parameter is returned only for timeslot-based booking.",
"type":"integer"
},
"remainingQuota":{
"description":"The available quota after activity booking. If there are multiple constraints (for example, day and category quota), the minimal quota value is returned. The parameter is returned only for timeslot-based booking.",
"type":"integer"
},
"recommendationInfo":{
"type":"object",
"description":"This structure is provided for options that are recommended by the system.",
"properties":{
"level":{
"description":"This attribute may be used in user interfaces for booking to mark the options with two levels of recommendations.",
"type":"string",
"enum":[
"good",
"best"
]
},
"nearbyDistance":{
"description":"The distance in kilometers to the nearby activity (e.g. 'nearbyDistance': 12.5). This value is provided for Capacity Areas with Quota based booking.",
"type":"number"
},
"nearbyTravel":{
"description":"The estimated travel time in minutes to or from the nearby activity. This value is provided for Capacity Areas with Direct Assignment based booking.",
"type":"integer"
},
"additionalTravel":{
"type":"integer",
"title":"Additional Travel",
"description":"The difference in minutes between total travel in the current route and travel in the proposed route where the booking activity added."
},
"travelKeyMatch":{
"type":"boolean",
"title":"Travel Key Match",
"description":"Contains one of the following values: true or false. If true, either the previous or the following activity has the same travel travel key value as the activity specified in request. If false, then the previous or the following activity has the different travel travel key values as the activity specified in request."
}
}
},
"reason":{
"description":"<p>This value may be returned if the request parameter <code>returnReasons: true</code> was specified. It is returned for the options that should not be used for booking and contains the reason why.</p><p>The meaning of the values:</p><ul><li>timeInPast: This time slot is already in the past;</li><li>noCapacity: For the time-slot based booking: Quota is exceeded on some level(s); For other booking types: activity cannot be assigned to this time slot without violating time constraints;</li><li>closedTimeSlot: For the time-slot based booking only: the time slot has been closed in the booking status;</li><li>allCategoriesAreClosed: For the time-slot based booking only: all the Capacity Categories have been closed.</li><li>tooLongTravel: additionalTravel exceeds averageBucketTravel by more than 20%, and there is no travelKeyMatch (If the \"Using forecasted activities flow\" option is activated either through the GUI or API parameters)</li></ul>",
"type":"string",
"enum":[
"timeInPast",
"noCapacity",
"closedTimeSlot",
"allCategoriesAreClosed",
"tooLongTravel"
]
},
"resourceId":{
"title":"Resource ID",
"description":"The unique identifier of the resource in Oracle Field Service.",
"type":"string"
},
"setPositionInRoute":{
"properties":{
"position":{
"type":"string",
"enum":[
"first",
"last",
"notOrdered",
"byServiceWindow",
"afterActivity"
],
"description":"The position of the activity in the route.",
"title":"Position"
},
"activityId":{
"type":"integer",
"title":"Activity ID",
"description":"The unique identifier of some pending ordered activity in the target route. It is used along with the 'afterActivity' value of the 'position' parameter so that to put one activity in the position after another."
}
},
"type":"object",
"description":"The value of this element determines the position of the activity in the route. If this element is present then activity will be put to specified position in route. The parameter is optional, if it is absent then the value \"position: byServiceWindow\" is used."
}
}
}
Nested Schema : recommendationInfo
Type: object
This structure is provided for options that are recommended by the system.
Show Source
-
additionalTravel:
integer
Title: Additional Travel
The difference in minutes between total travel in the current route and travel in the proposed route where the booking activity added.
-
level:
string
Allowed Values: [
"good",
"best"
]
This attribute may be used in user interfaces for booking to mark the options with two levels of recommendations.
-
nearbyDistance:
number
The distance in kilometers to the nearby activity (e.g. 'nearbyDistance': 12.5). This value is provided for Capacity Areas with Quota based booking.
-
nearbyTravel:
integer
The estimated travel time in minutes to or from the nearby activity. This value is provided for Capacity Areas with Direct Assignment based booking.
-
travelKeyMatch:
boolean
Title: Travel Key Match
Contains one of the following values: true or false. If true, either the previous or the following activity has the same travel travel key value as the activity specified in request. If false, then the previous or the following activity has the different travel travel key values as the activity specified in request.
{
"type":"object",
"description":"This structure is provided for options that are recommended by the system.",
"properties":{
"level":{
"description":"This attribute may be used in user interfaces for booking to mark the options with two levels of recommendations.",
"type":"string",
"enum":[
"good",
"best"
]
},
"nearbyDistance":{
"description":"The distance in kilometers to the nearby activity (e.g. 'nearbyDistance': 12.5). This value is provided for Capacity Areas with Quota based booking.",
"type":"number"
},
"nearbyTravel":{
"description":"The estimated travel time in minutes to or from the nearby activity. This value is provided for Capacity Areas with Direct Assignment based booking.",
"type":"integer"
},
"additionalTravel":{
"type":"integer",
"title":"Additional Travel",
"description":"The difference in minutes between total travel in the current route and travel in the proposed route where the booking activity added."
},
"travelKeyMatch":{
"type":"boolean",
"title":"Travel Key Match",
"description":"Contains one of the following values: true or false. If true, either the previous or the following activity has the same travel travel key value as the activity specified in request. If false, then the previous or the following activity has the different travel travel key values as the activity specified in request."
}
}
}
Nested Schema : setPositionInRoute
Type: object
The value of this element determines the position of the activity in the route. If this element is present then activity will be put to specified position in route. The parameter is optional, if it is absent then the value "position: byServiceWindow" is used.
Show Source
-
activityId:
integer
Title: Activity ID
The unique identifier of some pending ordered activity in the target route. It is used along with the 'afterActivity' value of the 'position' parameter so that to put one activity in the position after another.
-
position:
string
Title: Position
Allowed Values: [
"first",
"last",
"notOrdered",
"byServiceWindow",
"afterActivity"
]
The position of the activity in the route.
{
"properties":{
"position":{
"type":"string",
"enum":[
"first",
"last",
"notOrdered",
"byServiceWindow",
"afterActivity"
],
"description":"The position of the activity in the route.",
"title":"Position"
},
"activityId":{
"type":"integer",
"title":"Activity ID",
"description":"The unique identifier of some pending ordered activity in the target route. It is used along with the 'afterActivity' value of the 'position' parameter so that to put one activity in the position after another."
}
},
"type":"object",
"description":"The value of this element determines the position of the activity in the route. If this element is present then activity will be put to specified position in route. The parameter is optional, if it is absent then the value \"position: byServiceWindow\" is used."
}
Nested Schema : resource
Type: object
Title: resource
The resource used for an activity. For example, a resource can be a technician, a truck, or a bucket.
Note: This resource is not the same as a REST resource.
Show Source
-
email:
string
Title: Email
The email ID of the resource. The maximum character length of this field is 255 characters. If more than 255 characters are specified, then only the first 255 characters are saved and the rest are ignored.
-
name:
string
Title: Name
Minimum Length: 1
The name of the resource. The maximum character length of this field is 40 characters. If more than 40 characters are specified, then only the first 40 characters are saved and the rest are ignored.
-
parentResourceId:
string
Title: Parent Resource ID
The unique identifier of the parent resource.
-
phone:
string
Title: Phone
The phone number of the resource. The maximum character length of this field is 16 characters. If more than 16 characters are specified, then only the first 16 characters are saved and the rest are ignored.
Note: The phone number is saved in Oracle Field Service with the '+' symbol and all other non-digit characters are removed. For example, if you enter the phone number as +1(234)234-23_42, it is saved in Oracle Field Service as +12342342342.
-
resourceId:
string
Title: Resource ID
The identifier of the resource in the external system. The maximum character length of this field is 32 characters. If more than 32 characters are specified, the operation fails with HTTP status 400 error.
-
resourceType:
string
Title: Resource Type
The type of the resource.
-
status:
string
Title: Status
Allowed Values: [
"active",
"inactive"
]
The status of the resource.
-
timeZone:
string
Title: Time Zone
The name of the resource's time zone. This field accepts both Oracle Field Service time zone names (for example, Eastern) and IANA standard time zone names (for example, America/New_York). It is recommended that you specify IANA names. In the response, this field contains the Oracle Field Service time zone name, while the field 'timeZoneIANA' contains the IANA time zone name. For a list of supported time zones, see
Supported Time Zones.
-
timeZoneIANA:
string
Title: Time Zone IANA Name
The IANA name of the resource's time zone (for example, America/New_York). For the list of IANA time zone names, see
IANA Time ZonesThis is a read-only field and is only returned in responses.
{
"type":"object",
"title":"resource",
"properties":{
"timeZone":{
"type":"string",
"description":"The name of the resource's time zone. This field accepts both Oracle Field Service time zone names (for example, Eastern) and IANA standard time zone names (for example, America/New_York). It is recommended that you specify IANA names. In the response, this field contains the Oracle Field Service time zone name, while the field 'timeZoneIANA' contains the IANA time zone name. For a list of supported time zones, see <a href=\"OFSC_Supported_Time_Zones.html\">Supported Time Zones</a>.",
"title":"Time Zone"
},
"timeZoneIANA":{
"type":"string",
"title":"Time Zone IANA Name",
"description":"The IANA name of the resource's time zone (for example, America/New_York). For the list of IANA time zone names, see <a href=https://www.iana.org/time-zones>IANA Time Zones</a><p>This is a read-only field and is only returned in responses."
},
"email":{
"x-nullable":true,
"type":"string",
"description":"The email ID of the resource. The maximum character length of this field is 255 characters. If more than 255 characters are specified, then only the first 255 characters are saved and the rest are ignored.",
"title":"Email"
},
"phone":{
"type":"string",
"x-nullable":true,
"description":"<p>The phone number of the resource. The maximum character length of this field is 16 characters. If more than 16 characters are specified, then only the first 16 characters are saved and the rest are ignored.</p><p><i>Note</i>: The phone number is saved in Oracle Field Service with the '+' symbol and all other non-digit characters are removed. For example, if you enter the phone number as +1(234)234-23_42, it is saved in Oracle Field Service as +12342342342.</p>",
"title":"Phone"
},
"name":{
"type":"string",
"minLength":1,
"description":"The name of the resource. The maximum character length of this field is 40 characters. If more than 40 characters are specified, then only the first 40 characters are saved and the rest are ignored.",
"title":"Name"
},
"resourceType":{
"type":"string",
"description":"The type of the resource.",
"title":"Resource Type"
},
"resourceId":{
"x-nullable":true,
"type":"string",
"description":"The identifier of the resource in the external system. The maximum character length of this field is 32 characters. If more than 32 characters are specified, the operation fails with HTTP status 400 error.",
"title":"Resource ID"
},
"status":{
"type":"string",
"enum":[
"active",
"inactive"
],
"description":"The status of the resource.",
"title":"Status"
},
"parentResourceId":{
"type":"string",
"description":"The unique identifier of the parent resource.",
"title":"Parent Resource ID"
}
},
"description":"The resource used for an activity. For example, a resource can be a technician, a truck, or a bucket. <p><b>Note</b>: This resource is not the same as a REST resource.</p>"
}
Nested Schema : time slot info
Type: object
Title: time slot info
Show Source
{
"type":"object",
"title":"time slot info",
"properties":{
"label":{
"description":"The label of the timeslot. ",
"type":"string"
},
"name":{
"description":"The name of the timeslot.",
"type":"string"
},
"timeFrom":{
"description":"The start time of the timeslot.",
"type":"string"
},
"timeTo":{
"description":"The end time of the timeslot.",
"type":"string"
}
}
}