Updating Lifecycle of a System

While creating a system you have option to create it in either ‘Planned’ , 'Fully Operational', 'Partially Operational', or ‘Not Operational’ state. You create a system in Planned state when you do not have the physical instance of system.

You update the lifecycle of the system from Planned to other states when you receive the physical instance of the system.

You use this API to update the system lifecycle. The lifecycle phase changes for a system are as follows:
  • PlannedFully Operational or Partially Operational

  • Fully OperationalPartially Operational or Not Operational

  • Partially OperationalFully Operational or Not Operational

  • Not OperationalFully Operational, Partially Operational, Dispose, Retire, or Sold

  • DisposeFully Operational or Partially Operational or Retire

  • RetireSold

Request

  • HTTP Method: PUT

  • URL: Application_URL/services/api/v1/systems({systemId})/lifecycle?lifecycle=<LIFECYCLE>

  • Query Parameter: lifecycle

    lifecycle: specifies the value of the lifecycle that you want to change to. Possible value is 2.

  • Example URL: application URI/ain/services/api/v1/systems(E0B15BE85E2B41FBA06069B8D61CEB09)/lifecycle?lifecycle=2

  • Authorization: You must have the roles SYSTEM_EDIT or SYSTEM_DELETE assigned to your user ID in the SAP Cloud Platform account.

  • Request Schema: To know about fields that you can use in a request payload, refer to the request schema in the https://help.sap.com/doc/85c7e55a3d214e05843cb996a3ba1700/1902/en-US/systems.html#systems__systemId___lifecycle_put file.

Response