Create one requirement
/fscmRestApi/resources/11.13.18.05/maintenancePrograms/{MaintenanceProgramId}/child/workRequirements
Request
-
MaintenanceProgramId(required): integer(int64)
Value that uniquely identifies a maintenance program. The application generates this value and is referenced during retrieval and update of a maintenance program definition. This value can't be updated after its creation.
-
Metadata-Context:
If the REST API supports runtime customizations, the shape of the service may change during runtime. The REST client may isolate itself from these changes or choose to interact with the latest version of the API by specifying this header. For example: Metadata-Context:sandbox="TrackEmployeeFeature".
-
REST-Framework-Version:
The protocol version between a REST client and service. If the client does not specify this header in the request the server will pick a default version for the API.
-
Upsert-Mode:
Contains one of the following values: true or false. If true, the server performs an Upsert operation instead of a Create operation. During an Upsert operation, the server attempts to find an existing resource that matches the payload. If a match is found, the server updates the existing resource instead of creating a new one. If not found or false (default), the server performs a Create operation. Note that the Upsert operation isn't supported for date-effective REST resources.
- application/json
object
-
ActiveEndDate: string
(date)
Title:
End Date
Date when the work requirement stops forecasting. This value can be updated after its creation. -
ActiveStartDate(required): string
(date)
Title:
Start Date
Date when the work requirement begins forecasting. This value can be updated after its creation. -
affectedAssets: array
Affected Assets
Title:
Affected Assets
The Affected Assets resource allows defining which assets are to be included or excluded from the forecast of a work requirement. -
AssetId: integer
(int64)
Value that uniquely identifies the asset for which the work requirement is effective. The value is required if the requirement type is Asset. Either asset ID or number can be used during POST, PATCH, or GET. This value can be updated after its creation.
-
AssetNumber: string
Number that uniquely identifies the asset for which the work requirement is effective. The number is required if the requirement type is Asset. Either asset ID or number can be used during POST, PATCH, or GET. This value can be updated after its creation.
-
CalendarBasedFlag: boolean
Title:
Calendar pattern
Maximum Length:1
Default Value:true
Contains one of the following values: true or false. If true, then a calendar pattern is used to forecast the work requirement. If false, then this method isn't considered in the forecast. The default value is true, therefore a calendar pattern must be defined and selected to generate a forecast. This value can be updated after its creation. -
CalendarPatternId: integer
(int64)
Title:
Schedule Pattern
Value of the calendar pattern that's used to forecast the work requirement. The value is required if the calendar-based flag is true. This value can be updated after its creation. -
CalendarPatternName: string
Name of the calendar pattern that's used to forecast the work requirement. The name is required if the calendar based flag is true. This value can be updated after its creation.
-
ConditionBasedFlag: boolean
Title:
Condition event
Maximum Length:1
Default Value:false
Contains one of the following values: true or false. If true, then a condition event code can be used to create a work order from the work requirement by using a service. If false, then this method is considered during maintenance work order creation by using a service. The default value is false. This value can be updated after its creation. -
conditionEvents: array
Condition Events
Title:
Condition Events
The Condition Events resource allows defining condition events in a maintenance program. Condition events are used by IoT (Internet of Things) to create incident based work orders. -
DayBasedFlag: boolean
Title:
Day Based Indicator
Maximum Length:1
Default Value:false
Contains one of the following values: true or false. If true, then a day interval is used to forecast the work requirement. If false, then this method isn't considered in the forecast. The default value is false. This value can be updated after its creation. -
DayCalculateNextDueCode: string
Title:
Method to Calculate Next Due
Maximum Length:30
Code of the method used to calculate the next due occurrence of the day interval in the work requirement forecast. -
DayInterval: number
Title:
Day Interval
Number of days between cycle intervals in the forecast when day interval is used. -
ForecastUsingACycleFlag: boolean
Title:
Forecast using a cycle
Maximum Length:1
Default Value:true
Contains one of the following values: true or false. If true, then the forecast considers cycle intervals. If false, then there's only one repeating interval. The default value is true, therefore the number of intervals in a cycle must also be defined. This value can be updated after its creation. -
HistoricalLastCompletedDate: string
(date)
Title:
Historical Last Completed Date
Historical date of accomplishment of the work requirement from an external system. -
HistoricalLastCompleteInterval: number
Title:
Historical Last Completed Interval
Historical cycle interval of accomplishment of the work requirement from an external system. -
IncludeAssetsCode: string
Title:
Include Assets Code
Maximum Length:30
0ption that enables users to select if assets in an item-based work requirement are automatically or manually included. -
IntervalsInTheCycle: number
Title:
Number of Intervals per Cycle
Number of intervals within a single cycle. The value is required if the forecast using a cycle flag is true. This value can be updated after its creation. -
InventoryItemId(required): integer
(int64)
Title:
Asset or Item
Value that uniquely identifies the item for which the work requirement is effective. The value is required if the requirement type is Item. Either item ID or number can be used during POST, PATCH, or GET. This value can be updated after its creation. -
InventoryItemNumber: string
Number that uniquely identifies the item for which the work requirement is effective. The number is required if the requirement type is Item. Either item ID or number can be used during POST, PATCH, or GET. This value can be updated after its creation.
-
MeterBasedFlag: boolean
Title:
Meter interval
Maximum Length:1
Default Value:false
Contains one of the following values: true or false. If true, then a meter interval is used to forecast the work requirement. If false, then this method isn't considered in the forecast. The default value is false. This value can be updated after its creation. -
meters: array
Meters
Title:
Meters
The Meters resource allows defining meters in a maintenance program. Meters are used in a work requirement as the basis for creating a maintenance program forecast. -
Name(required): string
Title:
Name
Maximum Length:120
Name that uniquely identifies the work requirement. This value can be updated after its creation. -
NextWorkOrderOnlyFlag: boolean
Title:
Next Work Order Only
Maximum Length:1
Default Value:false
Contains one of the following values: true or false. If true, then only the next work order is created by the forecast. If false, then all work orders within the defined number of days for the organization are created. The default value is false. This value can be updated after its creation. -
OverrideSuppressMergeFlag: boolean
Title:
Override for this requirement
Maximum Length:1
Default Value:false
Contains one of the following values: true or false. If true, then the work requirement overrides the suppress merge option at the maintenance program header. If false, then the header level option is used. The default value is false. If true, then the override option must be defined. This value can be updated after its creation. -
SuppressMergeCode: string
Title:
Concurrent Requirements
Maximum Length:30
Abbreviation that indicates if concurrent requirements are merged or suppressed during work order creation within the work requirement. Valid values are ORA_SUPPRESS or ORA_MERGE. The default value ORA_SUPPRESS is used if a value isn't passed and the override merge and suppress option is true. This value can be updated after its creation only if the suppress merge override flag is true. -
TypeCode: string
Title:
Type
Maximum Length:30
Default Value:ORA_ASSET
Value that specifies if the work requirement applies to an item or an individual asset. Valid values include ORA_ASSET or ORA_ITEM. The default is ORA_ASSET. This value can be updated after its creation. -
workDefinitions: array
Work Definitions
Title:
Work Definitions
The Work Definitions resource allows defining work definitions in a maintenance program. Work definitions define what work will be required each time a work requirement is due. -
WorkRequirementId: integer
(int64)
Value that uniquely identifies the work requirement. The application generates this value when it creates a new requirement. This value is referenced during retrieval and update of a work requirement. This value can't be updated after its creation.
array
Affected Assets
array
Condition Events
array
Meters
array
Work Definitions
object
-
AssetId: integer
(int64)
Title:
Asset ID
Value that uniquely identifies the asset in a work requirement This value can't be updated,. -
AssetNumber: string
Title:
Asset Number
Maximum Length:80
Number that uniquely identifies the asset in a work requirement. This value can't be updated,. -
AssetStatusCode: string
Title:
Asset Status Code
Maximum Length:11
Abbreviation that specifies if an asset is included or excluded from the forecast in a work requirement. Valid values are ORA_INCLUDE or ORA_EXCLUDE as defined in the lookup ORA_MNT_AFF_ASSET_STATUS. The code can be updated. -
ForecastStartDate: string
(date)
Title:
Forecasted Start Date
Date when the work requirement begins forecasting the asset. This value can be updated after its creation until the first work order is created. -
HistoricalLastCompletedDate: string
(date)
Title:
Historical Last Completed Date
Historical date of accomplishment of the work requirement from an external system. This value can be updated after its creation until the first work order is created. -
HistoricalLastCompleteInterval: number
Title:
Historical Last Completed Interval
Historical cycle interval of accomplishment of the work requirement from an external system. This value can be updated after its creation until the first work order is created.
object
-
ConditionEventId: integer
(int64)
Value that identifies a condition event code within a work requirement. The application generates this value when a condition event code is associated with a work requirement. This value can't be updated after its creation.
-
EventCode: string
Abbreviation that identifies the condition event code that can be used to create a work order from the work requirement. The code, name, or ID is required if the condition-based mark is true. The value can be updated after its creation.
-
EventCodeId: integer
(int64)
Value of the condition event code that can be used to create a work order from the work requirement. The ID, name, or code is required if the condition-based mark is true. The value can be updated after its creation.
object
-
BaseInterval: number
Title:
Base Interval
Value of the interval that's used to calculate how often the forecast is due. This value can be updated after its creation. -
CalculateNextDueCode: string
Title:
Method to Calculate Next Due
Maximum Length:30
Abbreviation that specifies how the next due forecast interval is calculated. Valid values are ORA_BASE_INTERVAL or ORA_LAST_COMPLETION. This value can be updated after its creation. -
DisabledFlag: boolean
Maximum Length:
1
Default Value:false
Value that indicates whether a meter is disabled or not. Contains one of the following values: true or false. If true, then the meter is disabled. If false, then the meter isn't disabled. If there are work orders created for the work requirement, this attribute is set to true when deleting a meter. -
MeterDefinitionId: integer
(int64)
Value that uniquely identifies the asset meter used to forecast a work requirement. Either meter name or ID can be used during a POST, PATCH, or GET action. This value can only be updated after its creation until work orders have been created.
-
MeterIntervalId: integer
(int64)
Value that identifies a unique meter within a work requirement. The application generates this value when a meter is associated with a work requirement. This value can't be updated after its creation.
-
Name: string
Name of the meter used to forecast a work requirement. Either meter name or ID can be used during a POST, PATCH, or GET action. This value can only be updated after its creation until work orders have been created.
object
-
DisabledFlag: boolean
Maximum Length:
1
Default Value:false
Value that indicates whether a work definition is disabled or not. Contains one of the following values: true or false. If true, then the work definition is disabled. If false, then the work definition isn't disabled. If there are work orders created for the work requirement, this attribute is set to true when deleting a work definition. -
DueAtCycleInterval: number
Title:
Due at Cycle Interval
Value that specifies the interval in a cycle at which the work definition is due. The value is required if the repeats-in-cycle mark is true. This value can be updated after its creation. -
Name: string
Name of the work definition. Either work definition name or ID can be used during a POST, PATCH, or GET action. This value can only be updated after its creation until work orders have been created.
-
RepeatsInCycleFlag: boolean
Title:
Repeats in Cycle
Maximum Length:1
Contains one of the following values: true or false. If true, then the work definition repeats in the cycle at the interval value. If false, then the work definition doesn't repeat but is due only at the interval value. The default value is true. This value can be updated after its creation. -
WorkDefinitionId: integer
(int64)
Value that uniquely identifies the work definition. Either work definition name or ID can be used during a POST, PATCH, or GET action. This value can only be updated after its creation until work orders have been created.
-
WorkDefinitionRequirementId: integer
(int64)
Value that uniquely identifies a work definition within a work requirement. The application generates this value when a work definition is associated with a work requirement. This value can't be updated after its creation.
Response
- application/json
Default Response
-
Metadata-Context(required):
If the REST API supports runtime customizations, the shape of the service may change during runtime. The REST client may isolate itself from these changes or choose to interact with the latest version of the API by specifying this header. For example: Metadata-Context:sandbox="TrackEmployeeFeature".
-
REST-Framework-Version(required):
The protocol version between a REST client and service. If the client does not specify this header in the request the server will pick a default version for the API.
object
-
ActiveEndDate: string
(date)
Title:
End Date
Date when the work requirement stops forecasting. This value can be updated after its creation. -
ActiveStartDate: string
(date)
Title:
Start Date
Date when the work requirement begins forecasting. This value can be updated after its creation. -
affectedAssets: array
Affected Assets
Title:
Affected Assets
The Affected Assets resource allows defining which assets are to be included or excluded from the forecast of a work requirement. -
AllowWorkOrdersFlag: boolean
Title:
Allow Work Orders
Read Only:true
Maximum Length:1
Default Value:false
Contains one of the following values: true or false. If true, then work orders are allowed to be created for the applicable asset in the work requirement. If false, then work orders can't be created for the applicable asset. The default value is false. This value can't be updated. -
AssetId: integer
(int64)
Value that uniquely identifies the asset for which the work requirement is effective. The value is required if the requirement type is Asset. Either asset ID or number can be used during POST, PATCH, or GET. This value can be updated after its creation.
-
AssetNumber: string
Number that uniquely identifies the asset for which the work requirement is effective. The number is required if the requirement type is Asset. Either asset ID or number can be used during POST, PATCH, or GET. This value can be updated after its creation.
-
CalendarBasedFlag: boolean
Title:
Calendar pattern
Maximum Length:1
Default Value:true
Contains one of the following values: true or false. If true, then a calendar pattern is used to forecast the work requirement. If false, then this method isn't considered in the forecast. The default value is true, therefore a calendar pattern must be defined and selected to generate a forecast. This value can be updated after its creation. -
CalendarPatternId: integer
(int64)
Title:
Schedule Pattern
Value of the calendar pattern that's used to forecast the work requirement. The value is required if the calendar-based flag is true. This value can be updated after its creation. -
CalendarPatternName: string
Name of the calendar pattern that's used to forecast the work requirement. The name is required if the calendar based flag is true. This value can be updated after its creation.
-
ConditionBasedFlag: boolean
Title:
Condition event
Maximum Length:1
Default Value:false
Contains one of the following values: true or false. If true, then a condition event code can be used to create a work order from the work requirement by using a service. If false, then this method is considered during maintenance work order creation by using a service. The default value is false. This value can be updated after its creation. -
conditionEvents: array
Condition Events
Title:
Condition Events
The Condition Events resource allows defining condition events in a maintenance program. Condition events are used by IoT (Internet of Things) to create incident based work orders. -
DayBasedFlag: boolean
Title:
Day Based Indicator
Maximum Length:1
Default Value:false
Contains one of the following values: true or false. If true, then a day interval is used to forecast the work requirement. If false, then this method isn't considered in the forecast. The default value is false. This value can be updated after its creation. -
DayCalculateNextDue: string
Title:
Method to Calculate Next Due
Read Only:true
Maximum Length:255
Meaning of the method used to calculate the next due occurrence of the day interval in the work requirement forecast. -
DayCalculateNextDueCode: string
Title:
Method to Calculate Next Due
Maximum Length:30
Code of the method used to calculate the next due occurrence of the day interval in the work requirement forecast. -
DayInterval: number
Title:
Day Interval
Number of days between cycle intervals in the forecast when day interval is used. -
ForecastUsingACycleFlag: boolean
Title:
Forecast using a cycle
Maximum Length:1
Default Value:true
Contains one of the following values: true or false. If true, then the forecast considers cycle intervals. If false, then there's only one repeating interval. The default value is true, therefore the number of intervals in a cycle must also be defined. This value can be updated after its creation. -
HistoricalLastCompletedDate: string
(date)
Title:
Historical Last Completed Date
Historical date of accomplishment of the work requirement from an external system. -
HistoricalLastCompleteInterval: number
Title:
Historical Last Completed Interval
Historical cycle interval of accomplishment of the work requirement from an external system. -
IncludeAssets: string
Title:
Include Assets
Read Only:true
Maximum Length:255
Meaning of the option that enables users to select if assets in an item-based work requirement are automatically or manually included. -
IncludeAssetsCode: string
Title:
Include Assets Code
Maximum Length:30
0ption that enables users to select if assets in an item-based work requirement are automatically or manually included. -
IntervalsInTheCycle: number
Title:
Number of Intervals per Cycle
Number of intervals within a single cycle. The value is required if the forecast using a cycle flag is true. This value can be updated after its creation. -
InventoryItemId: integer
(int64)
Title:
Asset or Item
Value that uniquely identifies the item for which the work requirement is effective. The value is required if the requirement type is Item. Either item ID or number can be used during POST, PATCH, or GET. This value can be updated after its creation. -
InventoryItemNumber: string
Number that uniquely identifies the item for which the work requirement is effective. The number is required if the requirement type is Item. Either item ID or number can be used during POST, PATCH, or GET. This value can be updated after its creation.
-
links: array
Links
Title:
Links
The link relations associated with the resource instance. -
MeterBasedFlag: boolean
Title:
Meter interval
Maximum Length:1
Default Value:false
Contains one of the following values: true or false. If true, then a meter interval is used to forecast the work requirement. If false, then this method isn't considered in the forecast. The default value is false. This value can be updated after its creation. -
meters: array
Meters
Title:
Meters
The Meters resource allows defining meters in a maintenance program. Meters are used in a work requirement as the basis for creating a maintenance program forecast. -
Name: string
Title:
Name
Maximum Length:120
Name that uniquely identifies the work requirement. This value can be updated after its creation. -
NextWorkOrderOnlyFlag: boolean
Title:
Next Work Order Only
Maximum Length:1
Default Value:false
Contains one of the following values: true or false. If true, then only the next work order is created by the forecast. If false, then all work orders within the defined number of days for the organization are created. The default value is false. This value can be updated after its creation. -
OverrideSuppressMergeFlag: boolean
Title:
Override for this requirement
Maximum Length:1
Default Value:false
Contains one of the following values: true or false. If true, then the work requirement overrides the suppress merge option at the maintenance program header. If false, then the header level option is used. The default value is false. If true, then the override option must be defined. This value can be updated after its creation. -
Status: string
Title:
Status
Read Only:true
Maximum Length:255
Meaning of the status of the work requirement. -
StatusCode: string
Title:
Status Code
Read Only:true
Maximum Length:30
Status code of the work requirement. -
SuppressMergeCode: string
Title:
Concurrent Requirements
Maximum Length:30
Abbreviation that indicates if concurrent requirements are merged or suppressed during work order creation within the work requirement. Valid values are ORA_SUPPRESS or ORA_MERGE. The default value ORA_SUPPRESS is used if a value isn't passed and the override merge and suppress option is true. This value can be updated after its creation only if the suppress merge override flag is true. -
SuppressMergeCodeDescription: string
Read Only:
true
Maximum Length:255
Name that describes if concurrent requirements will merge or suppress during work order creation. This value is derived from the suppress merge code. -
Type: string
Title:
Type
Read Only:true
Maximum Length:255
Meaning of the option that enables users to select if the work requirement is associated with an asset or an item. -
TypeCode: string
Title:
Type
Maximum Length:30
Default Value:ORA_ASSET
Value that specifies if the work requirement applies to an item or an individual asset. Valid values include ORA_ASSET or ORA_ITEM. The default is ORA_ASSET. This value can be updated after its creation. -
workDefinitions: array
Work Definitions
Title:
Work Definitions
The Work Definitions resource allows defining work definitions in a maintenance program. Work definitions define what work will be required each time a work requirement is due. -
WorkOrdersCreatedFlag: boolean
Title:
Work Orders Created
Read Only:true
Maximum Length:255
Contains one of the following values: true or false. If true, then work orders for the work requirement exist. If false, then work orders for the work requirements haven't been created yet. The default value is false. This value can't be updated. -
WorkRequirementId: integer
(int64)
Value that uniquely identifies the work requirement. The application generates this value when it creates a new requirement. This value is referenced during retrieval and update of a work requirement. This value can't be updated after its creation.
array
Affected Assets
array
Condition Events
array
Links
array
Meters
array
Work Definitions
object
-
AllowWorkOrdersFlag: boolean
Title:
Allow Work Orders
Read Only:true
Maximum Length:1
Contains one of the following values: true or false. If true, then work orders are allowed to be created for the applicable asset in the work requirement. If false, then work orders can't be created for the applicable asset. The default value is false. This value can't be updated. -
AssetDescription: string
Title:
Asset Description
Read Only:true
Maximum Length:240
Description of the asset in a work requirement. This value can't be updated,. -
AssetId: integer
(int64)
Title:
Asset ID
Value that uniquely identifies the asset in a work requirement This value can't be updated,. -
AssetNumber: string
Title:
Asset Number
Maximum Length:80
Number that uniquely identifies the asset in a work requirement. This value can't be updated,. -
AssetStatus: string
Title:
Asset Status
Read Only:true
Maximum Length:80
Meaning of the asset status code. This value can't be updated. -
AssetStatusCode: string
Title:
Asset Status Code
Maximum Length:11
Abbreviation that specifies if an asset is included or excluded from the forecast in a work requirement. Valid values are ORA_INCLUDE or ORA_EXCLUDE as defined in the lookup ORA_MNT_AFF_ASSET_STATUS. The code can be updated. -
ForecastStartDate: string
(date)
Title:
Forecasted Start Date
Date when the work requirement begins forecasting the asset. This value can be updated after its creation until the first work order is created. -
HistoricalLastCompletedDate: string
(date)
Title:
Historical Last Completed Date
Historical date of accomplishment of the work requirement from an external system. This value can be updated after its creation until the first work order is created. -
HistoricalLastCompleteInterval: number
Title:
Historical Last Completed Interval
Historical cycle interval of accomplishment of the work requirement from an external system. This value can be updated after its creation until the first work order is created. -
links: array
Links
Title:
Links
The link relations associated with the resource instance. -
SerialNumber: string
Title:
Serial Number
Read Only:true
Maximum Length:80
Serial number of the asset in a work requirement. This value can't be updated,. -
WorkOrdersCreatedFlag: boolean
Title:
Work Orders Created
Read Only:true
Maximum Length:1
Contains one of the following values: true or false. If true, then work orders for the work requirement exist. If false, then work orders for the work requirements haven't been created yet. The default value is false. This value can't be updated.
array
Links
object
-
href: string
Title:
hyperlink reference
The URI to the related resource. -
kind: string
Title:
kind
Allowed Values:[ "collection", "item", "describe", "other" ]
The kind of the related resource. -
name: string
Title:
name
The name of the link to the related resource. -
properties: object
properties
-
rel: string
Title:
relation
Allowed Values:[ "self", "lov", "parent", "canonical", "child", "enclosure", "action", "custom" ]
The name of the relation to the resource instance. Example: self.
object
-
changeIndicator: string
Change indicator or the ETag value of the resource instance.
object
-
ConditionEventId: integer
(int64)
Value that identifies a condition event code within a work requirement. The application generates this value when a condition event code is associated with a work requirement. This value can't be updated after its creation.
-
EventCode: string
Abbreviation that identifies the condition event code that can be used to create a work order from the work requirement. The code, name, or ID is required if the condition-based mark is true. The value can be updated after its creation.
-
EventCodeDescription: string
Title:
Description
Read Only:true
Maximum Length:540
Description of the condition event code. This value is read-only and can't be updated after its creation. -
EventCodeId: integer
(int64)
Value of the condition event code that can be used to create a work order from the work requirement. The ID, name, or code is required if the condition-based mark is true. The value can be updated after its creation.
-
EventCodeName: string
Title:
Name
Read Only:true
Maximum Length:540
Name of the condition event code that can be used to create a work order from the work requirement. The name, code, or ID is required if the condition-based mark is true. The value can be updated after its creation. -
links: array
Links
Title:
Links
The link relations associated with the resource instance.
array
Links
object
-
BaseInterval: number
Title:
Base Interval
Value of the interval that's used to calculate how often the forecast is due. This value can be updated after its creation. -
CalculateNextDueCode: string
Title:
Method to Calculate Next Due
Maximum Length:30
Abbreviation that specifies how the next due forecast interval is calculated. Valid values are ORA_BASE_INTERVAL or ORA_LAST_COMPLETION. This value can be updated after its creation. -
DisabledFlag: boolean
Maximum Length:
1
Default Value:false
Value that indicates whether a meter is disabled or not. Contains one of the following values: true or false. If true, then the meter is disabled. If false, then the meter isn't disabled. If there are work orders created for the work requirement, this attribute is set to true when deleting a meter. -
links: array
Links
Title:
Links
The link relations associated with the resource instance. -
MeterDefinitionId: integer
(int64)
Value that uniquely identifies the asset meter used to forecast a work requirement. Either meter name or ID can be used during a POST, PATCH, or GET action. This value can only be updated after its creation until work orders have been created.
-
MeterIntervalId: integer
(int64)
Value that identifies a unique meter within a work requirement. The application generates this value when a meter is associated with a work requirement. This value can't be updated after its creation.
-
Name: string
Name of the meter used to forecast a work requirement. Either meter name or ID can be used during a POST, PATCH, or GET action. This value can only be updated after its creation until work orders have been created.
array
Links
object
-
DisabledFlag: boolean
Maximum Length:
1
Default Value:false
Value that indicates whether a work definition is disabled or not. Contains one of the following values: true or false. If true, then the work definition is disabled. If false, then the work definition isn't disabled. If there are work orders created for the work requirement, this attribute is set to true when deleting a work definition. -
DueAtCycleInterval: number
Title:
Due at Cycle Interval
Value that specifies the interval in a cycle at which the work definition is due. The value is required if the repeats-in-cycle mark is true. This value can be updated after its creation. -
links: array
Links
Title:
Links
The link relations associated with the resource instance. -
Name: string
Name of the work definition. Either work definition name or ID can be used during a POST, PATCH, or GET action. This value can only be updated after its creation until work orders have been created.
-
RepeatsInCycleFlag: boolean
Title:
Repeats in Cycle
Maximum Length:1
Contains one of the following values: true or false. If true, then the work definition repeats in the cycle at the interval value. If false, then the work definition doesn't repeat but is due only at the interval value. The default value is true. This value can be updated after its creation. -
WorkDefinitionId: integer
(int64)
Value that uniquely identifies the work definition. Either work definition name or ID can be used during a POST, PATCH, or GET action. This value can only be updated after its creation until work orders have been created.
-
WorkDefinitionMaintenanceNameId: integer
(int64)
Read Only:
true
Value that uniquely identifies the name of a work definition within a work requirement. The application generates this value when a work definition is created. -
WorkDefinitionRequirementId: integer
(int64)
Value that uniquely identifies a work definition within a work requirement. The application generates this value when a work definition is associated with a work requirement. This value can't be updated after its creation.
array
Links
- affectedAssets
-
Parameters:
- MaintenanceProgramId:
$request.path.MaintenanceProgramId
- WorkRequirementId:
$request.path.WorkRequirementId
The Affected Assets resource allows defining which assets are to be included or excluded from the forecast of a work requirement. - MaintenanceProgramId:
- conditionEvents
-
Parameters:
- MaintenanceProgramId:
$request.path.MaintenanceProgramId
- WorkRequirementId:
$request.path.WorkRequirementId
The Condition Events resource allows defining condition events in a maintenance program. Condition events are used by IoT (Internet of Things) to create incident based work orders. - MaintenanceProgramId:
- meters
-
Parameters:
- MaintenanceProgramId:
$request.path.MaintenanceProgramId
- WorkRequirementId:
$request.path.WorkRequirementId
The Meters resource allows defining meters in a maintenance program. Meters are used in a work requirement as the basis for creating a maintenance program forecast. - MaintenanceProgramId:
- workDefinitions
-
Parameters:
- MaintenanceProgramId:
$request.path.MaintenanceProgramId
- WorkRequirementId:
$request.path.WorkRequirementId
The Work Definitions resource allows defining work definitions in a maintenance program. Work definitions define what work will be required each time a work requirement is due. - MaintenanceProgramId:
Examples
This example describes how to create a requirement.
Example cURL Command
Use the following cURL command to submit a request on the REST resource.
curl -u username:password -X POST -H "Content-Type:application/vnd.oracle.adf.resourceitem+json" -d 'request payload' "https://servername/fscmRestApi/resources/version/maintenancePrograms/MaintenanceProgramId/child/workRequirements"
Example Request Body
The following example includes the contents of the request body in JSON format. You replace the request payload in the cURL command with the contents of the Example Request Body. The request payload specifies attribute values that the command will use in the record that it creates.
{ "Name": "CALENDAR_PATTERN_ON_CYCLE", "TypeCode":"ORA_ASSET", "AssetNumber": "Asset_With_Meter", "ActiveStartDate": "2019-03-06T00:00:00-08:00", "ForecastUsingACycleFlag": true, "IntervalsInTheCycle": 7, "NextWorkOrderOnlyFlag": true, "CalendarBasedFlag": true, "MeterBasedFlag": false, "ConditionBasedFlag": false, "OverrideSuppressMergeFlag": "N", "CalendarPatternName": "Daily Pattern every weekday", "workDefinitions":[ { "Name": "Weekly Maintenance", "RepeatsInCycleFlag": "Y", "DueAtCycleInterval": 1 }, { "Name": "Daily Maintenance", "RepeatsInCycleFlag": "Y", "DueAtCycleInterval": 3 } ] }
Example Response Body
The following example includes the contents of the response body in JSON format:
{ "Name": "CALENDAR_PATTERN_ON_CYCLE", "WorkRequirementId": 300100179951295, "TypeCode": "ORA_ASSET", "InventoryItemId": 300100013645864, "InventoryItemNumber": "alm-lot-srl-001", "AssetId": 300100179879925, "AssetNumber": null, "ActiveStartDate": "2019-03-06", "ActiveEndDate": null, "ForecastUsingACycleFlag": true, "IntervalsInTheCycle": 7, "NextWorkOrderOnlyFlag": true, "CalendarBasedFlag": true, "CalendarPatternId": 300100179940481, "MeterBasedFlag": false, "ConditionBasedFlag": false, "SuppressMergeCode": null, "OverrideSuppressMergeFlag": false, "CalendarPatternName": "Daily Pattern every weekday", "SuppressMergeCodeDescription": null, "workDefinitions": [ { "RepeatsInCycleFlag": true, "DisabledFlag": false, "DueAtCycleInterval": 1, "WorkDefinitionRequirementId": 300100179951296, "WorkDefinitionMaintenanceNameId": null, "Name": null, "WorkDefinitionId": 300100118178830, "links": [ { "rel": "self", "href": "https://servername/fscmRestApi/resources/version/maintenancePrograms/300100179940471/child/workRequirements/300100179951295/child/workDefinitions/300100179951296", "name": "workDefinitions", "kind": "item", "properties": { "changeIndicator": "ACED0005737200136A6176612E7574696C2E41727261794C6973747881D21D99C7619D03000149000473697A65787000000001770400000001737200116A6176612E6C616E672E496E746567657212E2A0A4F781873802000149000576616C7565787200106A6176612E6C616E672E4E756D62657286AC951D0B94E08B02000078700000000178" } }, { "rel": "canonical", "href": "https://servername/fscmRestApi/resources/version/maintenancePrograms/300100179940471/child/workRequirements/300100179951295/child/workDefinitions/300100179951296", "name": "workDefinitions", "kind": "item" }, { "rel": "parent", "href": "https://servername/fscmRestApi/resources/version/maintenancePrograms/300100179940471/child/workRequirements/300100179951295", "name": "workRequirements", "kind": "item" } ] }, { "RepeatsInCycleFlag": true, "DisabledFlag": false, "DueAtCycleInterval": 3, "WorkDefinitionRequirementId": 300100179951299, "WorkDefinitionMaintenanceNameId": null, "Name": null, "WorkDefinitionId": 300100118178763, "links": [ { "rel": "self", "href": "https://servername/fscmRestApi/resources/version/maintenancePrograms/300100179940471/child/workRequirements/300100179951295/child/workDefinitions/300100179951299", "name": "workDefinitions", "kind": "item", "properties": { "changeIndicator": "ACED0005737200136A6176612E7574696C2E41727261794C6973747881D21D99C7619D03000149000473697A65787000000001770400000001737200116A6176612E6C616E672E496E746567657212E2A0A4F781873802000149000576616C7565787200106A6176612E6C616E672E4E756D62657286AC951D0B94E08B02000078700000000178" } }, { "rel": "canonical", "href": "https://servername/fscmRestApi/resources/version/maintenancePrograms/300100179940471/child/workRequirements/300100179951295/child/workDefinitions/300100179951299", "name": "workDefinitions", "kind": "item" }, { "rel": "parent", "href": "https://servername/fscmRestApi/resources/version/maintenancePrograms/300100179940471/child/workRequirements/300100179951295", "name": "workRequirements", "kind": "item" } ] } ], "links": [ { "rel": "self", "href": "https://servername/fscmRestApi/resources/version/maintenancePrograms/300100179940471/child/workRequirements/300100179951295", "name": "workRequirements", "kind": "item", "properties": { "changeIndicator": "ACED0005737200136A6176612E7574696C2E41727261794C6973747881D21D99C7619D03000149000473697A65787000000001770400000001737200116A6176612E6C616E672E496E746567657212E2A0A4F781873802000149000576616C7565787200106A6176612E6C616E672E4E756D62657286AC951D0B94E08B02000078700000000178" } }, { "rel": "canonical", "href": "https://servername/fscmRestApi/resources/version/maintenancePrograms/300100179940471/child/workRequirements/300100179951295", "name": "workRequirements", "kind": "item" }, { "rel": "parent", "href": "https://servername/fscmRestApi/resources/version/maintenancePrograms/300100179940471", "name": "maintenancePrograms", "kind": "item" }, { "rel": "child", "href": "https://servername/fscmRestApi/resources/version/maintenancePrograms/300100179940471/child/workRequirements/300100179951295/child/workDefinitions", "name": "workDefinitions", "kind": "collection" }, { "rel": "child", "href": "https://servername/fscmRestApi/resources/version/maintenancePrograms/300100179940471/child/workRequirements/300100179951295/child/meters", "name": "meters", "kind": "collection" }, { "rel": "child", "href": "https://servername/fscmRestApi/resources/version/maintenancePrograms/300100179940471/child/workRequirements/300100179951295/child/conditionEvents", "name": "conditionEvents", "kind": "collection" } ] }
Example Request Body
The following example includes the contents of the request body in JSON format to create a batch of work requirements within a unique maintenance program. You replace the request payload in the cURL command with the contents of the Example Request Body. The request payload specifies attribute values that the command will use in the record that it creates.
{ "parts": [ { "id": "part1", "path": "/maintenancePrograms/300100179940471/child/workRequirements", "operation": "create", "payload": { "Name": "CALENDAR_PATTERN_BULK_A", "TypeCode":"ORA_ASSET", "AssetNumber": "Asset_With_Meter", "ActiveStartDate": "2018-03-06T00:00:00-08:00", "ForecastUsingACycleFlag": true, "IntervalsInTheCycle": 7, "NextWorkOrderOnlyFlag": true, "CalendarBasedFlag": true, "MeterBasedFlag": false, "ConditionBasedFlag": false, "OverrideSuppressMergeFlag": "N", "CalendarPatternName": "Daily Pattern every day", "workDefinitions":[ { "Name": "Weekly Maintenance", "RepeatsInCycleFlag": "Y", "DueAtCycleInterval": 1 }, { "Name": "Daily Maintenance", "RepeatsInCycleFlag": "Y", "DueAtCycleInterval": 3 } ] } }, { "id": "part2", "path": "/maintenancePrograms/300100179940471/child/workRequirements", "operation": "create", "payload": { "Name": "CALENDAR_PATTERN_BULK_B", "TypeCode":"ORA_ASSET", "AssetNumber": "Asset_With_Meter", "ActiveStartDate": "2018-03-06T00:00:00-08:00", "ForecastUsingACycleFlag": true, "IntervalsInTheCycle": 7, "NextWorkOrderOnlyFlag": true, "CalendarBasedFlag": true, "MeterBasedFlag": false, "ConditionBasedFlag": false, "OverrideSuppressMergeFlag": "N", "CalendarPatternName": "Daily Pattern every weekday", "workDefinitions":[ { "Name": "Weekly Maintenance", "RepeatsInCycleFlag": "Y", "DueAtCycleInterval": 1 }, { "Name": "Daily Maintenance", "RepeatsInCycleFlag": "Y", "DueAtCycleInterval": 3 } ] } }, { "id": "part3", "path": "/maintenancePrograms/300100179940471/child/workRequirements", "operation": "create", "payload": { "Name": "CALENDAR_PATTERN_BULK_C", "TypeCode":"ORA_ASSET", "AssetNumber": "Asset_With_Meter", "ActiveStartDate": "2018-03-06T00:00:00-08:00", "ForecastUsingACycleFlag": true, "IntervalsInTheCycle": 7, "NextWorkOrderOnlyFlag": true, "CalendarBasedFlag": true, "MeterBasedFlag": false, "ConditionBasedFlag": false, "OverrideSuppressMergeFlag": "N", "CalendarPatternName": "Daily Pattern every day", "workDefinitions":[ { "Name": "Weekly Maintenance", "RepeatsInCycleFlag": "Y", "DueAtCycleInterval": 1 }, { "Name": "Daily Maintenance", "RepeatsInCycleFlag": "Y", "DueAtCycleInterval": 3 } ] } } ] }
Example Response Body
The following example includes the contents of the response body in JSON format:
{ "parts": [ { "id": "part1", "path": "https://servername/fscmRestApi/resources/version/maintenancePrograms/300100179940471/child/workRequirements", "operation": "create", "payload": { "Name": "CALENDAR_PATTERN_BULK_A", "WorkRequirementId": 300100179955931, "TypeCode": "ORA_ASSET", "InventoryItemId": 300100013645864, "InventoryItemNumber": "alm-lot-srl-001", "AssetId": 300100179879925, "AssetNumber": "Asset_With_Meter", "ActiveStartDate": "2018-03-06", "ActiveEndDate": null, "ForecastUsingACycleFlag": true, "IntervalsInTheCycle": 7, "NextWorkOrderOnlyFlag": true, "CalendarBasedFlag": true, "CalendarPatternId": 300100179940482, "MeterBasedFlag": false, "ConditionBasedFlag": false, "SuppressMergeCode": null, "OverrideSuppressMergeFlag": false, "CalendarPatternName": "Daily Pattern every day", "SuppressMergeCodeDescription": null, "workDefinitions": [ { "RepeatsInCycleFlag": true, "DisabledFlag": false, "DueAtCycleInterval": 1, "WorkDefinitionRequirementId": 300100179955932, "WorkDefinitionMaintenanceNameId": 300100118178829, "Name": "0554 Weekly Maintenance", "WorkDefinitionId": 300100118178830, "links": [ { "rel": "self", "href": "https://servername/fscmRestApi/resources/version/maintenancePrograms/300100179940471/child/workRequirements/300100179955931/child/workDefinitions/300100179955932", "name": "workDefinitions", "kind": "item", "properties": { "changeIndicator": "ACED0005737200136A6176612E7574696C2E41727261794C6973747881D21D99C7619D03000149000473697A65787000000001770400000001737200116A6176612E6C616E672E496E746567657212E2A0A4F781873802000149000576616C7565787200106A6176612E6C616E672E4E756D62657286AC951D0B94E08B02000078700000000178" } }, { "rel": "canonical", "href": "https://servername/fscmRestApi/resources/version/maintenancePrograms/300100179940471/child/workRequirements/300100179955931/child/workDefinitions/300100179955932", "name": "workDefinitions", "kind": "item" }, { "rel": "parent", "href": "https://servername/fscmRestApi/resources/version/maintenancePrograms/300100179940471/child/workRequirements/300100179955931", "name": "workRequirements", "kind": "item" } ] }, { "RepeatsInCycleFlag": true, "DisabledFlag": false, "DueAtCycleInterval": 3, "WorkDefinitionRequirementId": 300100179955934, "WorkDefinitionMaintenanceNameId": 300100118178762, "Name": "0554 Daily Maintenance", "WorkDefinitionId": 300100118178763, "links": [ { "rel": "self", "href": "https://servername/fscmRestApi/resources/version/maintenancePrograms/300100179940471/child/workRequirements/300100179955931/child/workDefinitions/300100179955934", "name": "workDefinitions", "kind": "item", "properties": { "changeIndicator": "ACED0005737200136A6176612E7574696C2E41727261794C6973747881D21D99C7619D03000149000473697A65787000000001770400000001737200116A6176612E6C616E672E496E746567657212E2A0A4F781873802000149000576616C7565787200106A6176612E6C616E672E4E756D62657286AC951D0B94E08B02000078700000000178" } }, { "rel": "canonical", "href": "https://servername/fscmRestApi/resources/version/maintenancePrograms/300100179940471/child/workRequirements/300100179955931/child/workDefinitions/300100179955934", "name": "workDefinitions", "kind": "item" }, { "rel": "parent", "href": "https://servername/fscmRestApi/resources/version/maintenancePrograms/300100179940471/child/workRequirements/300100179955931", "name": "workRequirements", "kind": "item" } ] } ], "links": [ { "rel": "self", "href": "https://servername/fscmRestApi/resources/version/maintenancePrograms/300100179940471/child/workRequirements/300100179955931", "name": "workRequirements", "kind": "item", "properties": { "changeIndicator": "ACED0005737200136A6176612E7574696C2E41727261794C6973747881D21D99C7619D03000149000473697A65787000000001770400000001737200116A6176612E6C616E672E496E746567657212E2A0A4F781873802000149000576616C7565787200106A6176612E6C616E672E4E756D62657286AC951D0B94E08B02000078700000000178" } }, { "rel": "canonical", "href": "https://servername/fscmRestApi/resources/version/maintenancePrograms/300100179940471/child/workRequirements/300100179955931", "name": "workRequirements", "kind": "item" }, { "rel": "parent", "href": "https://servername/fscmRestApi/resources/version/maintenancePrograms/300100179940471", "name": "maintenancePrograms", "kind": "item" }, { "rel": "child", "href": "https://servername/fscmRestApi/resources/version/maintenancePrograms/300100179940471/child/workRequirements/300100179955931/child/workDefinitions", "name": "workDefinitions", "kind": "collection" }, { "rel": "child", "href": "https://servername/fscmRestApi/resources/version/maintenancePrograms/300100179940471/child/workRequirements/300100179955931/child/meters", "name": "meters", "kind": "collection" }, { "rel": "child", "href": "https://servername/fscmRestApi/resources/version/maintenancePrograms/300100179940471/child/workRequirements/300100179955931/child/conditionEvents", "name": "conditionEvents", "kind": "collection" } ] } }, { "id": "part2", "path": "https://servername/fscmRestApi/resources/version/maintenancePrograms/300100179940471/child/workRequirements", "operation": "create", "payload": { "Name": "CALENDAR_PATTERN_BULK_B", "WorkRequirementId": 300100179955936, "TypeCode": "ORA_ASSET", "InventoryItemId": 300100013645864, "InventoryItemNumber": "alm-lot-srl-001", "AssetId": 300100179879925, "AssetNumber": "Asset_With_Meter", "ActiveStartDate": "2018-03-06", "ActiveEndDate": null, "ForecastUsingACycleFlag": true, "IntervalsInTheCycle": 7, "NextWorkOrderOnlyFlag": true, "CalendarBasedFlag": true, "CalendarPatternId": 300100179940481, "MeterBasedFlag": false, "ConditionBasedFlag": false, "SuppressMergeCode": null, "OverrideSuppressMergeFlag": false, "CalendarPatternName": "Daily Pattern every weekday", "SuppressMergeCodeDescription": null, "workDefinitions": [ { "RepeatsInCycleFlag": true, "DisabledFlag": false, "DueAtCycleInterval": 1, "WorkDefinitionRequirementId": 300100179955937, "WorkDefinitionMaintenanceNameId": 300100118178829, "Name": "0554 Weekly Maintenance", "WorkDefinitionId": 300100118178830, "links": [ { "rel": "self", "href": "https://servername/fscmRestApi/resources/version/maintenancePrograms/300100179940471/child/workRequirements/300100179955936/child/workDefinitions/300100179955937", "name": "workDefinitions", "kind": "item", "properties": { "changeIndicator": "ACED0005737200136A6176612E7574696C2E41727261794C6973747881D21D99C7619D03000149000473697A65787000000001770400000001737200116A6176612E6C616E672E496E746567657212E2A0A4F781873802000149000576616C7565787200106A6176612E6C616E672E4E756D62657286AC951D0B94E08B02000078700000000178" } }, { "rel": "canonical", "href": "https://servername/fscmRestApi/resources/version/maintenancePrograms/300100179940471/child/workRequirements/300100179955936/child/workDefinitions/300100179955937", "name": "workDefinitions", "kind": "item" }, { "rel": "parent", "href": "https://servername/fscmRestApi/resources/version/maintenancePrograms/300100179940471/child/workRequirements/300100179955936", "name": "workRequirements", "kind": "item" } ] }, { "RepeatsInCycleFlag": true, "DisabledFlag": false, "DueAtCycleInterval": 3, "WorkDefinitionRequirementId": 300100179955938, "WorkDefinitionMaintenanceNameId": 300100118178762, "Name": "0554 Daily Maintenance", "WorkDefinitionId": 300100118178763, "links": [ { "rel": "self", "href": "https://servername/fscmRestApi/resources/version/maintenancePrograms/300100179940471/child/workRequirements/300100179955936/child/workDefinitions/300100179955938", "name": "workDefinitions", "kind": "item", "properties": { "changeIndicator": "ACED0005737200136A6176612E7574696C2E41727261794C6973747881D21D99C7619D03000149000473697A65787000000001770400000001737200116A6176612E6C616E672E496E746567657212E2A0A4F781873802000149000576616C7565787200106A6176612E6C616E672E4E756D62657286AC951D0B94E08B02000078700000000178" } }, { "rel": "canonical", "href": "https://servername/fscmRestApi/resources/version/maintenancePrograms/300100179940471/child/workRequirements/300100179955936/child/workDefinitions/300100179955938", "name": "workDefinitions", "kind": "item" }, { "rel": "parent", "href": "https://servername/fscmRestApi/resources/version/maintenancePrograms/300100179940471/child/workRequirements/300100179955936", "name": "workRequirements", "kind": "item" } ] } ], "links": [ { "rel": "self", "href": "https://servername/fscmRestApi/resources/version/maintenancePrograms/300100179940471/child/workRequirements/300100179955936", "name": "workRequirements", "kind": "item", "properties": { "changeIndicator": "ACED0005737200136A6176612E7574696C2E41727261794C6973747881D21D99C7619D03000149000473697A65787000000001770400000001737200116A6176612E6C616E672E496E746567657212E2A0A4F781873802000149000576616C7565787200106A6176612E6C616E672E4E756D62657286AC951D0B94E08B02000078700000000178" } }, { "rel": "canonical", "href": "https://servername/fscmRestApi/resources/version/maintenancePrograms/300100179940471/child/workRequirements/300100179955936", "name": "workRequirements", "kind": "item" }, { "rel": "parent", "href": "https://servername/fscmRestApi/resources/version/maintenancePrograms/300100179940471", "name": "maintenancePrograms", "kind": "item" }, { "rel": "child", "href": "https://servername/fscmRestApi/resources/version/maintenancePrograms/300100179940471/child/workRequirements/300100179955936/child/workDefinitions", "name": "workDefinitions", "kind": "collection" }, { "rel": "child", "href": "https://servername/fscmRestApi/resources/version/maintenancePrograms/300100179940471/child/workRequirements/300100179955936/child/meters", "name": "meters", "kind": "collection" }, { "rel": "child", "href": "https://servername/fscmRestApi/resources/version/maintenancePrograms/300100179940471/child/workRequirements/300100179955936/child/conditionEvents", "name": "conditionEvents", "kind": "collection" } ] } }, { "id": "part3", "path": "https://servername/fscmRestApi/resources/version/maintenancePrograms/300100179940471/child/workRequirements", "operation": "create", "payload": { "Name": "CALENDAR_PATTERN_BULK_C", "WorkRequirementId": 300100179955939, "TypeCode": "ORA_ASSET", "InventoryItemId": 300100013645864, "InventoryItemNumber": "alm-lot-srl-001", "AssetId": 300100179879925, "AssetNumber": "Asset_With_Meter", "ActiveStartDate": "2018-03-06", "ActiveEndDate": null, "ForecastUsingACycleFlag": true, "IntervalsInTheCycle": 7, "NextWorkOrderOnlyFlag": true, "CalendarBasedFlag": true, "CalendarPatternId": 300100179940482, "MeterBasedFlag": false, "ConditionBasedFlag": false, "SuppressMergeCode": null, "OverrideSuppressMergeFlag": false, "CalendarPatternName": "Daily Pattern every day", "SuppressMergeCodeDescription": null, "workDefinitions": [ { "RepeatsInCycleFlag": true, "DisabledFlag": false, "DueAtCycleInterval": 1, "WorkDefinitionRequirementId": 300100179955941, "WorkDefinitionMaintenanceNameId": 300100118178829, "Name": "0554 Weekly Maintenance", "WorkDefinitionId": 300100118178830, "links": [ { "rel": "self", "href": "https://servername/fscmRestApi/resources/version/maintenancePrograms/300100179940471/child/workRequirements/300100179955939/child/workDefinitions/300100179955941", "name": "workDefinitions", "kind": "item", "properties": { "changeIndicator": "ACED0005737200136A6176612E7574696C2E41727261794C6973747881D21D99C7619D03000149000473697A65787000000001770400000001737200116A6176612E6C616E672E496E746567657212E2A0A4F781873802000149000576616C7565787200106A6176612E6C616E672E4E756D62657286AC951D0B94E08B02000078700000000178" } }, { "rel": "canonical", "href": "https://servername/fscmRestApi/resources/version/maintenancePrograms/300100179940471/child/workRequirements/300100179955939/child/workDefinitions/300100179955941", "name": "workDefinitions", "kind": "item" }, { "rel": "parent", "href": "https://servername/fscmRestApi/resources/version/maintenancePrograms/300100179940471/child/workRequirements/300100179955939", "name": "workRequirements", "kind": "item" } ] }, { "RepeatsInCycleFlag": true, "DisabledFlag": false, "DueAtCycleInterval": 3, "WorkDefinitionRequirementId": 300100179955942, "WorkDefinitionMaintenanceNameId": 300100118178762, "Name": "0554 Daily Maintenance", "WorkDefinitionId": 300100118178763, "links": [ { "rel": "self", "href": "https://servername/fscmRestApi/resources/version/maintenancePrograms/300100179940471/child/workRequirements/300100179955939/child/workDefinitions/300100179955942", "name": "workDefinitions", "kind": "item", "properties": { "changeIndicator": "ACED0005737200136A6176612E7574696C2E41727261794C6973747881D21D99C7619D03000149000473697A65787000000001770400000001737200116A6176612E6C616E672E496E746567657212E2A0A4F781873802000149000576616C7565787200106A6176612E6C616E672E4E756D62657286AC951D0B94E08B02000078700000000178" } }, { "rel": "canonical", "href": "https://servername/fscmRestApi/resources/version/maintenancePrograms/300100179940471/child/workRequirements/300100179955939/child/workDefinitions/300100179955942", "name": "workDefinitions", "kind": "item" }, { "rel": "parent", "href": "https://servername/fscmRestApi/resources/version/maintenancePrograms/300100179940471/child/workRequirements/300100179955939", "name": "workRequirements", "kind": "item" } ] } ], "links": [ { "rel": "self", "href": "https://servername/fscmRestApi/resources/version/maintenancePrograms/300100179940471/child/workRequirements/300100179955939", "name": "workRequirements", "kind": "item", "properties": { "changeIndicator": "ACED0005737200136A6176612E7574696C2E41727261794C6973747881D21D99C7619D03000149000473697A65787000000001770400000001737200116A6176612E6C616E672E496E746567657212E2A0A4F781873802000149000576616C7565787200106A6176612E6C616E672E4E756D62657286AC951D0B94E08B02000078700000000178" } }, { "rel": "canonical", "href": "https://servername/fscmRestApi/resources/version/maintenancePrograms/300100179940471/child/workRequirements/300100179955939", "name": "workRequirements", "kind": "item" }, { "rel": "parent", "href": "https://servername/fscmRestApi/resources/version/maintenancePrograms/300100179940471", "name": "maintenancePrograms", "kind": "item" }, { "rel": "child", "href": "https://servername/fscmRestApi/resources/version/maintenancePrograms/300100179940471/child/workRequirements/300100179955939/child/workDefinitions", "name": "workDefinitions", "kind": "collection" }, { "rel": "child", "href": "https://servername/fscmRestApi/resources/version/maintenancePrograms/300100179940471/child/workRequirements/300100179955939/child/meters", "name": "meters", "kind": "collection" }, { "rel": "child", "href": "https://servername/fscmRestApi/resources/version/maintenancePrograms/300100179940471/child/workRequirements/300100179955939/child/conditionEvents", "name": "conditionEvents", "kind": "collection" } ] } } ] }