openapi: 3.0.0
info:
  title: SAP API
  version: 1.0.0
servers:
- url: http://localhost:8080
paths:
  /rfc/SAPTUNE_NUMBUF_CONTENTS:
    post:
      tags:
      - STUB
      summary: Return number range buffer contents
      operationId: /rfc/SAPTUNE_NUMBUF_CONTENTS
      requestBody:
        content:
          application/json:
            schema:
              properties:
                CONTENTS:
                  type: array
                  items:
                    type: object
                    properties:
                      CLIENT:
                        type: string
                        maxLength: 3
                        description: Client
                      OBJECT:
                        type: string
                        maxLength: 10
                        description: Name of number range object
                      SUBOBJECT:
                        type: string
                        maxLength: 6
                        description: Number range object subobject value
                      NRRANGENR:
                        type: string
                        maxLength: 2
                        description: Number range number
                      TOYEAR:
                        type: integer
                        format: int64
                        description: To fiscal year
                      FROMNUMBER:
                        type: string
                        maxLength: 20
                        description: From number
                      TONUMBER:
                        type: string
                        maxLength: 20
                        description: To number
                      NRLEVEL:
                        type: integer
                        format: int64
                        description: Number range status
                      EXTERNIND:
                        type: string
                        maxLength: 1
                        description: 'Internal ('' '') or external (''X'') number range flag  enumValues: ""=No,X=Yes'
                        enum:
                        - ''
                        - X
                      BUFFERTONR:
                        type: string
                        maxLength: 20
                        description: To number of buffer interval
                      CRIT_NO:
                        type: string
                        maxLength: 20
                        description: Char 20
                      LOCKED:
                        type: integer
                        format: int32
                        description: Dummy for B20 int1 (Local Everywhere)
                      SERVER:
                        type: integer
                        format: int32
                        description: Dummy for B20 int1 (Local Everywhere)
                      HOLDER:
                        type: integer
                        format: int32
                        description: Natural number
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                properties:
                  CONTENTS:
                    type: array
                    items:
                      type: object
                      properties:
                        CLIENT:
                          type: string
                          maxLength: 3
                          description: Client
                        OBJECT:
                          type: string
                          maxLength: 10
                          description: Name of number range object
                        SUBOBJECT:
                          type: string
                          maxLength: 6
                          description: Number range object subobject value
                        NRRANGENR:
                          type: string
                          maxLength: 2
                          description: Number range number
                        TOYEAR:
                          type: integer
                          format: int64
                          description: To fiscal year
                        FROMNUMBER:
                          type: string
                          maxLength: 20
                          description: From number
                        TONUMBER:
                          type: string
                          maxLength: 20
                          description: To number
                        NRLEVEL:
                          type: integer
                          format: int64
                          description: Number range status
                        EXTERNIND:
                          type: string
                          maxLength: 1
                          description: 'Internal ('' '') or external (''X'') number range flag  enumValues: ""=No,X=Yes'
                          enum:
                          - ''
                          - X
                        BUFFERTONR:
                          type: string
                          maxLength: 20
                          description: To number of buffer interval
                        CRIT_NO:
                          type: string
                          maxLength: 20
                          description: Char 20
                        LOCKED:
                          type: integer
                          format: int32
                          description: Dummy for B20 int1 (Local Everywhere)
                        SERVER:
                          type: integer
                          format: int32
                          description: Dummy for B20 int1 (Local Everywhere)
                        HOLDER:
                          type: integer
                          format: int32
                          description: Natural number
        '400':
          description: Bad request.
        5XX:
          description: Unexpected error.
