openapi: 3.0.0
info:
  title: SAP API
  version: 1.0.0
servers:
- url: http://localhost:8080
paths:
  /rfc/SIN_METHOD_WF:
    post:
      tags:
      - SIW2
      operationId: /rfc/SIN_METHOD_WF
      requestBody:
        content:
          application/json:
            schema:
              properties:
                METHOD:
                  type: string
                  maxLength: 32
                OBJECT_ID:
                  type: object
                  properties:
                    OBJID:
                      type: string
                      maxLength: 200
                      description: ID of an object of a class
                ATTRIBUTES_BINARY:
                  type: array
                  items:
                    type: object
                    properties:
                      LINE:
                        type: string
                        maxLength: 255
                        description: Line Length 255
                ATTRIBUTES_PACKING_LIST:
                  type: array
                  items:
                    type: object
                    properties:
                      IDINDEX:
                        type: integer
                        format: int64
                        description: 'SAPBPT: Index 10 characters'
                      PROPNAME:
                        type: string
                        maxLength: 10
                        description: Attribute name for packing list
                      CONTTYPE:
                        type: string
                        maxLength: 1
                        description: Type of contents
                      STARTPOS:
                        type: integer
                        format: int64
                        description: Start position
                      NUMLINES:
                        type: integer
                        format: int64
                        description: Number of Rows
                      LENGTH:
                        type: integer
                        format: int64
                        description: Length (size) of contents
                      OK_FLAG:
                        type: string
                        maxLength: 1
                        description: Flag
                ATTRIBUTES_TEXT:
                  type: array
                  items:
                    type: object
                    properties:
                      LINE:
                        type: string
                        maxLength: 255
                        description: Line Length 255
                ENTRY_ID:
                  type: array
                  items:
                    type: object
                    properties:
                      OBJID:
                        type: string
                        maxLength: 200
                        description: ID of an object of a class
              required:
              - METHOD
              - OBJECT_ID
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                properties:
                  ATTRIBUTES_BINARY:
                    type: array
                    items:
                      type: object
                      properties:
                        LINE:
                          type: string
                          maxLength: 255
                          description: Line Length 255
                  ATTRIBUTES_PACKING_LIST:
                    type: array
                    items:
                      type: object
                      properties:
                        IDINDEX:
                          type: integer
                          format: int64
                          description: 'SAPBPT: Index 10 characters'
                        PROPNAME:
                          type: string
                          maxLength: 10
                          description: Attribute name for packing list
                        CONTTYPE:
                          type: string
                          maxLength: 1
                          description: Type of contents
                        STARTPOS:
                          type: integer
                          format: int64
                          description: Start position
                        NUMLINES:
                          type: integer
                          format: int64
                          description: Number of Rows
                        LENGTH:
                          type: integer
                          format: int64
                          description: Length (size) of contents
                        OK_FLAG:
                          type: string
                          maxLength: 1
                          description: Flag
                  ATTRIBUTES_TEXT:
                    type: array
                    items:
                      type: object
                      properties:
                        LINE:
                          type: string
                          maxLength: 255
                          description: Line Length 255
                  ENTRY_ID:
                    type: array
                    items:
                      type: object
                      properties:
                        OBJID:
                          type: string
                          maxLength: 200
                          description: ID of an object of a class
        '400':
          description: Bad request.
        5XX:
          description: Unexpected error.
