openapi: 3.0.0
info:
  title: SAP API
  version: 1.0.0
servers:
- url: http://localhost:8080
paths:
  /rfc/SPDA_READ_NEW_PACKAGES:
    post:
      tags:
      - SPDA
      operationId: /rfc/SPDA_READ_NEW_PACKAGES
      requestBody:
        content:
          application/json:
            schema:
              properties:
                IV_BASE_REL:
                  type: string
                  maxLength: 4
                  description: SAP R/3 Release
                IV_LANGVECT:
                  type: string
                  maxLength: 60
                  description: Language vector
                IV_LOGFILE:
                  type: string
                  maxLength: 255
                  description: Char255
                IV_TYPE:
                  type: string
                  maxLength: 3
                  description: 3-Byte Field
                ET_ATTRIBUTES:
                  type: array
                  items:
                    type: object
                    properties:
                      PATCH:
                        type: string
                        maxLength: 20
                        description: Support Package name
                      X_ATTRIB:
                        type: string
                        maxLength: 20
                        description: 'PAT08: Name of extended attribute'
                      CNT:
                        type: integer
                        format: int64
                        description: Numeric value
                      VALUE:
                        type: string
                        maxLength: 60
                        description: 'PAT08: Value of extended Support Package attribute'
                      FLAG:
                        type: string
                        maxLength: 1
                        description: 'General Flag  enumValues: X=Flag set. Event has occurred.,""=Flag is Not Set'
                        enum:
                        - X
                        - ''
                      DESCRIPT:
                        type: string
                        maxLength: 60
                        description: Support Package Description
                ET_PACKAGES:
                  type: array
                  items:
                    type: object
                    properties:
                      PATCH:
                        type: string
                        maxLength: 20
                        description: Char 20
                      SEQUENCE:
                        type: integer
                        format: int64
                        description: Counter
                      PATCH_TYPE:
                        type: string
                        maxLength: 3
                        description: 3-Byte field
                      COMPONENT:
                        type: string
                        maxLength: 30
                        description: 30 Characters
                      COMP_REL:
                        type: string
                        maxLength: 10
                        description: Character Field Length = 10
                      SHORT_TEXT:
                        type: string
                        maxLength: 60
                        description: Character field of length 60
                      VALID_CONJ:
                        type: integer
                        format: int64
                        description: 'ABAB Dictionary: Two-Digit Numeric Field'
                TT_NCVERS:
                  type: array
                  items:
                    type: object
                    properties:
                      RELSTAMP:
                        type: string
                        maxLength: 40
                        description: Character field of length 40
                      COMPONENT:
                        type: string
                        maxLength: 30
                        description: 30 Characters
                      CPTRELEASE:
                        type: string
                        maxLength: 10
                        description: Character Field Length = 10
                      EXTRELEASE:
                        type: string
                        maxLength: 10
                        description: Character Field Length = 10
                      COMP_TYPE:
                        type: string
                        maxLength: 1
                        description: Single-Character Flag
              required:
              - IV_BASE_REL
              - IV_TYPE
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                properties:
                  EV_MESSAGE:
                    type: string
                    maxLength: 80
                    description: Char 80
                  EV_MOVES_LST_VERS:
                    type: integer
                    format: int32
                    description: Natural Number
                  EV_RC:
                    type: integer
                    format: int32
                    description: Natural Number
                  ET_ATTRIBUTES:
                    type: array
                    items:
                      type: object
                      properties:
                        PATCH:
                          type: string
                          maxLength: 20
                          description: Support Package name
                        X_ATTRIB:
                          type: string
                          maxLength: 20
                          description: 'PAT08: Name of extended attribute'
                        CNT:
                          type: integer
                          format: int64
                          description: Numeric value
                        VALUE:
                          type: string
                          maxLength: 60
                          description: 'PAT08: Value of extended Support Package attribute'
                        FLAG:
                          type: string
                          maxLength: 1
                          description: 'General Flag  enumValues: X=Flag set. Event has occurred.,""=Flag is Not Set'
                          enum:
                          - X
                          - ''
                        DESCRIPT:
                          type: string
                          maxLength: 60
                          description: Support Package Description
                  ET_PACKAGES:
                    type: array
                    items:
                      type: object
                      properties:
                        PATCH:
                          type: string
                          maxLength: 20
                          description: Char 20
                        SEQUENCE:
                          type: integer
                          format: int64
                          description: Counter
                        PATCH_TYPE:
                          type: string
                          maxLength: 3
                          description: 3-Byte field
                        COMPONENT:
                          type: string
                          maxLength: 30
                          description: 30 Characters
                        COMP_REL:
                          type: string
                          maxLength: 10
                          description: Character Field Length = 10
                        SHORT_TEXT:
                          type: string
                          maxLength: 60
                          description: Character field of length 60
                        VALID_CONJ:
                          type: integer
                          format: int64
                          description: 'ABAB Dictionary: Two-Digit Numeric Field'
                  TT_NCVERS:
                    type: array
                    items:
                      type: object
                      properties:
                        RELSTAMP:
                          type: string
                          maxLength: 40
                          description: Character field of length 40
                        COMPONENT:
                          type: string
                          maxLength: 30
                          description: 30 Characters
                        CPTRELEASE:
                          type: string
                          maxLength: 10
                          description: Character Field Length = 10
                        EXTRELEASE:
                          type: string
                          maxLength: 10
                          description: Character Field Length = 10
                        COMP_TYPE:
                          type: string
                          maxLength: 1
                          description: Single-Character Flag
        '400':
          description: Bad request.
        5XX:
          description: Unexpected error.
