openapi: 3.0.0
info:
  title: SAP API
  version: 1.0.0
servers:
- url: http://localhost:8080
paths:
  /rfc/OCS_API_GET_QUEUE_STATUS:
    post:
      tags:
      - OCS_API
      operationId: /rfc/OCS_API_GET_QUEUE_STATUS
      requestBody:
        content:
          application/json:
            schema:
              properties:
                ET_PATQ:
                  type: array
                  items:
                    type: object
                    properties:
                      PATCH:
                        type: string
                        maxLength: 20
                        description: Support Package name
                      SEQUENCE:
                        type: integer
                        format: int64
                        description: Support Package sequence
                      VALID_CONJ:
                        type: integer
                        format: int64
                        description: 'PAT07: Logical AND block'
                      PATCH_TYPE:
                        type: string
                        maxLength: 3
                        description: 'OCS Package Type  enumValues: LAN=Language Package,HOT=Hot Package,AOS=Add-On Supplement Description,PAT=SPAM/SAINT Update,AOX=Add-On Exchange Package,CRT=Conflict Resolution Transport (CRT),MOD=Modification Adjustment,FFD=FCS Final Delta Package (FFDP),CSP=Component Support Package (from 6.40),AOU=Add-on upgrade,PCS=PCS (Preconfigured System),AOI=Add-On Installation,BWP=BW Support Package (BWP),COP=Component Support Package (until 6.20),AOP=Add-On Support Package
                          (until 6.20),LCP=Legal Change Package (LCP)'
                        enum:
                        - LAN
                        - HOT
                        - AOS
                        - PAT
                        - AOX
                        - CRT
                        - MOD
                        - FFD
                        - CSP
                        - AOU
                        - PCS
                        - AOI
                        - BWP
                        - COP
                        - AOP
                        - LCP
                      COMPONENT:
                        type: string
                        maxLength: 30
                        description: Component
                      COMP_REL:
                        type: string
                        maxLength: 10
                        description: Component release
                      ADDON_ID:
                        type: string
                        maxLength: 10
                        description: Name of an Add-On Product
                      ADDON_REL:
                        type: string
                        maxLength: 12
                        description: Version of an "Add-On" Product
                      SHORT_TEXT:
                        type: string
                        maxLength: 60
                        description: Support Package description
                      TO_REL:
                        type: string
                        maxLength: 4
                        description: Release Status of SAP System
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                properties:
                  ES_MESSAGE:
                    type: object
                    properties:
                      MSGID:
                        type: string
                        maxLength: 20
                        description: Message Class
                      MSGNO:
                        type: integer
                        format: int64
                        description: Message Number
                      MSGTY:
                        type: string
                        maxLength: 1
                        description: Message Type
                      LANGU:
                        type: string
                        maxLength: 1
                        description: Language Key
                      MSGTXT:
                        type: string
                        maxLength: 229
                        description: Bad patch description
                      MSGARGS:
                        type: array
                        items:
                          type: object
                          properties:
                            NAME:
                              type: string
                              maxLength: 10
                              description: Character Field Length = 10
                            VALUE:
                              type: string
                              maxLength: 50
                              description: Message Variable
                  EV_IMPORT_PHASE:
                    type: string
                    maxLength: 20
                  EV_IMPORT_PHASE_NR:
                    type: integer
                    format: int64
                  EV_MESSAGE:
                    type: string
                    maxLength: 80
                  EV_QUEUE_STATE:
                    type: string
                    maxLength: 1
                  EV_RC:
                    type: integer
                    format: int32
                  EV_REQID:
                    type: string
                    maxLength: 40
                  EV_SCENARIO:
                    type: string
                    maxLength: 1
                  ET_PATQ:
                    type: array
                    items:
                      type: object
                      properties:
                        PATCH:
                          type: string
                          maxLength: 20
                          description: Support Package name
                        SEQUENCE:
                          type: integer
                          format: int64
                          description: Support Package sequence
                        VALID_CONJ:
                          type: integer
                          format: int64
                          description: 'PAT07: Logical AND block'
                        PATCH_TYPE:
                          type: string
                          maxLength: 3
                          description: 'OCS Package Type  enumValues: LAN=Language Package,HOT=Hot Package,AOS=Add-On Supplement Description,PAT=SPAM/SAINT Update,AOX=Add-On Exchange Package,CRT=Conflict Resolution Transport (CRT),MOD=Modification Adjustment,FFD=FCS Final Delta Package (FFDP),CSP=Component Support Package (from 6.40),AOU=Add-on upgrade,PCS=PCS (Preconfigured System),AOI=Add-On Installation,BWP=BW Support Package (BWP),COP=Component Support Package (until 6.20),AOP=Add-On Support Package
                            (until 6.20),LCP=Legal Change Package (LCP)'
                          enum:
                          - LAN
                          - HOT
                          - AOS
                          - PAT
                          - AOX
                          - CRT
                          - MOD
                          - FFD
                          - CSP
                          - AOU
                          - PCS
                          - AOI
                          - BWP
                          - COP
                          - AOP
                          - LCP
                        COMPONENT:
                          type: string
                          maxLength: 30
                          description: Component
                        COMP_REL:
                          type: string
                          maxLength: 10
                          description: Component release
                        ADDON_ID:
                          type: string
                          maxLength: 10
                          description: Name of an Add-On Product
                        ADDON_REL:
                          type: string
                          maxLength: 12
                          description: Version of an "Add-On" Product
                        SHORT_TEXT:
                          type: string
                          maxLength: 60
                          description: Support Package description
                        TO_REL:
                          type: string
                          maxLength: 4
                          description: Release Status of SAP System
        '400':
          description: Bad request.
        5XX:
          description: Unexpected error.
