openapi: 3.0.0
info:
  title: SAP API
  version: 1.0.0
servers:
- url: http://localhost:8080
paths:
  /rfc/RH_ORG_INFO_AND_TASKS:
    post:
      tags:
      - RHW1
      operationId: /rfc/RH_ORG_INFO_AND_TASKS
      requestBody:
        content:
          application/json:
            schema:
              properties:
                ALL_TASK_TYPES:
                  type: string
                  maxLength: 1
                NO_BUFFER_ACCESS:
                  type: string
                  maxLength: 1
                READ_OBJECT_TEXT:
                  type: string
                  maxLength: 1
                SEARCH_DATE:
                  type: string
                  format: date
                  default: SY-DATUM
                SUBST_PROFILE:
                  type: string
                  maxLength: 12
                UPDATE_BUFFER:
                  type: string
                  maxLength: 1
                USER_NAME:
                  type: string
                  maxLength: 12
                  description: SAP user name
                USER_TYPE:
                  type: string
                  maxLength: 2
                USER_VIEW:
                  type: string
                  maxLength: 8
                  description: SAP user name
                ORG_INFO_LIST:
                  type: array
                  items:
                    type: object
                    properties:
                      OBJECT:
                        type: string
                        maxLength: 14
                        description: Concatenated Identification (Type and ID) of Org.Objects
                ORG_INFO_NAME:
                  type: array
                  items:
                    type: object
                    properties:
                      OBJECT:
                        type: string
                        maxLength: 14
                        description: Concatenated Identification (Type and ID) of Org.Objects
                      STEXT:
                        type: string
                        maxLength: 40
                        description: Object Name
                TASK_LIST:
                  type: array
                  items:
                    type: object
                    properties:
                      OBJECT:
                        type: string
                        maxLength: 14
                        description: Concatenated Identification (Type and ID) of Org.Objects
                TASK_NAME:
                  type: array
                  items:
                    type: object
                    properties:
                      OBJECT:
                        type: string
                        maxLength: 14
                        description: Concatenated Identification (Type and ID) of Org.Objects
                      STEXT:
                        type: string
                        maxLength: 40
                        description: Object Name
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                properties:
                  READ_FROM_BUFFER:
                    type: string
                    maxLength: 1
                    description: SAP user name
                  USER_NAME:
                    type: string
                    maxLength: 12
                    description: SAP user name
                  USER_TYPE:
                    type: string
                    maxLength: 2
                  ORG_INFO_LIST:
                    type: array
                    items:
                      type: object
                      properties:
                        OBJECT:
                          type: string
                          maxLength: 14
                          description: Concatenated Identification (Type and ID) of Org.Objects
                  ORG_INFO_NAME:
                    type: array
                    items:
                      type: object
                      properties:
                        OBJECT:
                          type: string
                          maxLength: 14
                          description: Concatenated Identification (Type and ID) of Org.Objects
                        STEXT:
                          type: string
                          maxLength: 40
                          description: Object Name
                  TASK_LIST:
                    type: array
                    items:
                      type: object
                      properties:
                        OBJECT:
                          type: string
                          maxLength: 14
                          description: Concatenated Identification (Type and ID) of Org.Objects
                  TASK_NAME:
                    type: array
                    items:
                      type: object
                      properties:
                        OBJECT:
                          type: string
                          maxLength: 14
                          description: Concatenated Identification (Type and ID) of Org.Objects
                        STEXT:
                          type: string
                          maxLength: 40
                          description: Object Name
        '400':
          description: Bad request.
        5XX:
          description: Unexpected error.
