Viewing an Instruction

You can view an instruction that is either in a draft (unpublished) state, published state, or in an in revision state.

Request

  • HTTP Method:GET

  • URL:Application_URL/services/api/v1/instructions(<instruction ID>)?status=2

  • Query parameters:

    Status:allows you to specify the state of the instruction. It can take the following values:

    1- specifies the instruction is in unpublished sate

    2- specifies the instruction is In published state

    3-specifies the instruction is in In Revision state

  • Example URL:Application_URL/services/api/v1/instructions(E0B15BE85E2B41FBA06069B8D61CEB09)?status=2

  • Authorization:You must have the roles INSTRUCTION_EDIT or INSTRUCTION_READ or INSTRUCTION_DELETE assigned to your user IDin the SAP Cloud Platform account.

Response