openapi: 3.0.0
info:
  title: SAP API
  version: 1.0.0
servers:
- url: http://localhost:8080
paths:
  /rfc/STREE_STRUCTURE_AUTHORITY:
    post:
      tags:
      - SHI5
      summary: Check user structure display/maintenance authorization
      operationId: /rfc/STREE_STRUCTURE_AUTHORITY
      requestBody:
        content:
          application/json:
            schema:
              properties:
                ACTIVITY:
                  type: string
                  maxLength: 2
                STRUCTURE_ID:
                  type: string
                  maxLength: 32
                STRUCTURE_TYPE:
                  type: string
                  maxLength: 5
                USER_PARAMETERS:
                  type: array
                  items:
                    type: object
                    properties:
                      NAME:
                        type: string
                        maxLength: 25
                        description: Hierarchy maintenance display attribute
                      VALUE:
                        type: string
                        maxLength: 128
                        description: Hierarchy maintenance attribute value
              required:
              - ACTIVITY
              - STRUCTURE_ID
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                properties:
                  MESSAGE:
                    type: object
                    properties:
                      MSGID:
                        type: string
                        maxLength: 20
                        description: Message Class
                      MSGTY:
                        type: string
                        maxLength: 1
                        description: Message Type
                      MSGNO:
                        type: integer
                        format: int64
                        description: Message Number
                      MSGV1:
                        type: string
                        maxLength: 50
                        description: Message Variable
                      MSGV2:
                        type: string
                        maxLength: 50
                        description: Message Variable
                      MSGV3:
                        type: string
                        maxLength: 50
                        description: Message Variable
                      MSGV4:
                        type: string
                        maxLength: 50
                        description: Message Variable
                      MSGTXT:
                        type: string
                        maxLength: 256
                        description: Text, 256 Characters
                  USER_PARAMETERS:
                    type: array
                    items:
                      type: object
                      properties:
                        NAME:
                          type: string
                          maxLength: 25
                          description: Hierarchy maintenance display attribute
                        VALUE:
                          type: string
                          maxLength: 128
                          description: Hierarchy maintenance attribute value
        '400':
          description: Bad request.
        5XX:
          description: Unexpected error.
