openapi: 3.0.0
info:
  title: SAP API
  version: 1.0.0
servers:
- url: http://localhost:8080
paths:
  /rfc/GOS_ATTACHMENT_LIST_POPUP:
    post:
      tags:
      - SGOS_ATTA
      summary: Display Attachment List
      operationId: /rfc/GOS_ATTACHMENT_LIST_POPUP
      requestBody:
        content:
          application/json:
            schema:
              properties:
                IP_ATTACHMENTS:
                  type: string
                  default: X
                  maxLength: 1
                  description: Display attachments
                IP_CHECK_ARL:
                  type: string
                  default: X
                  maxLength: 1
                IP_CHECK_BDS:
                  type: string
                  default: X
                  maxLength: 1
                IP_MODE:
                  type: string
                  default: D
                  maxLength: 1
                IP_NOTES:
                  type: string
                  default: X
                  maxLength: 1
                  description: Display notes
                IP_URLS:
                  type: string
                  default: X
                  maxLength: 1
                IS_OBJECT:
                  type: object
                  properties:
                    INSTID:
                      type: string
                      maxLength: 70
                      description: Instance Ident. in BOR Compat. Persistent Object References
                    TYPEID:
                      type: string
                      maxLength: 32
                      description: Type of Objects in Persistent Object References
                    CATID:
                      type: string
                      maxLength: 2
                      description: 'Category of Objects in Persistent Object References  enumValues: NN=Category (still) Not Known - Internal use only!!!,BC=Instances of Business Classes (ABAP Objects),BO=Instances of BOR Object Types,CL=Instances of ABAP Objects Classes - Internal Use Only!'
                      enum:
                      - NN
                      - BC
                      - BO
                      - CL
                IT_OBJECTS:
                  type: array
                  items:
                    type: object
                    properties:
                      INSTID:
                        type: string
                        maxLength: 70
                        description: Instance Ident. in BOR Compat. Persistent Object References
                      TYPEID:
                        type: string
                        maxLength: 32
                        description: Type of Objects in Persistent Object References
                      CATID:
                        type: string
                        maxLength: 2
                        description: 'Category of Objects in Persistent Object References  enumValues: NN=Category (still) Not Known - Internal use only!!!,BC=Instances of Business Classes (ABAP Objects),BO=Instances of BOR Object Types,CL=Instances of ABAP Objects Classes - Internal Use Only!'
                        enum:
                        - NN
                        - BC
                        - BO
                        - CL
              required:
              - IS_OBJECT
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                properties:
                  EP_SAVE_REQUEST:
                    type: string
                    maxLength: 1
                  IT_OBJECTS:
                    type: array
                    items:
                      type: object
                      properties:
                        INSTID:
                          type: string
                          maxLength: 70
                          description: Instance Ident. in BOR Compat. Persistent Object References
                        TYPEID:
                          type: string
                          maxLength: 32
                          description: Type of Objects in Persistent Object References
                        CATID:
                          type: string
                          maxLength: 2
                          description: 'Category of Objects in Persistent Object References  enumValues: NN=Category (still) Not Known - Internal use only!!!,BC=Instances of Business Classes (ABAP Objects),BO=Instances of BOR Object Types,CL=Instances of ABAP Objects Classes - Internal Use Only!'
                          enum:
                          - NN
                          - BC
                          - BO
                          - CL
        '400':
          description: Bad request.
        5XX:
          description: Unexpected error.
