How You Manage Maintenance Programs Using REST API

Define, view, and update maintenance programs using REST services.

Use the Maintenance Program REST API to:

  • Create, view, and update the maintenance program header.

  • Create, view, and update calendar patterns.

  • Create, view, and update work requirements.

  • Create, view, and update condition codes defined in a work requirement.

  • Create, view, and update meters defined in a work requirement.

  • Create, view, and update work definitions defined in a work requirement.

  • View and update affected assets for an item-based work requirement.
Note: If a work requirement is created via REST API, then it's expected that all the minimum attributes at the parent and child resource levels will be passed in the payload to ensure it is created in Active status. If incomplete data is passed, then the status is set to Draft. To resolve this issue, you must define all the missing minimum attributes. If missing or incomplete data is passed at the child resource level, then the status may not be change from Draft to Active due to a limitation of the service. To resolve the status, an update must be made at the work requirement parent resource level, allowing the system to validate if the minimum attributes have been defined across the parent and child resource levels. If partial or incremental creation of a work requirement is required, then it is advisable to use the UI or a File-Based import process.

For more details, refer to the REST API for Oracle Supply Chain Management Cloud guide. Included are use case examples for modeling and using Maintenance Programs.