openapi: 3.0.0
info:
  title: SAP API
  version: 1.0.0
servers:
- url: http://localhost:8080
paths:
  /rfc/NUMBER_GET_BUFFER:
    post:
      tags:
      - SNR3
      operationId: /rfc/NUMBER_GET_BUFFER
      requestBody:
        content:
          application/json:
            schema:
              properties:
                INSHADOW:
                  type: object
                  properties:
                    CLIENT:
                      type: string
                      maxLength: 3
                      description: Client
                    INSTANZ:
                      type: string
                      maxLength: 43
                      description: Enlarged instance name for local buffering
                    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
                    ROLLFLAG:
                      type: string
                      maxLength: 1
                      description: 'Checkbox (yes or no)  enumValues: ""=No,X=Yes'
                      enum:
                      - ''
                      - X
                    SRTF:
                      type: integer
                      format: int32
                      description: Next record counter in EXPORT/IMPORT data tables
                    FROMNR:
                      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
                    G_FROMNR:
                      type: string
                      maxLength: 20
                      description: From number
                    G_TONR:
                      type: string
                      maxLength: 20
                      description: To number
                INTNRO:
                  type: object
                  properties:
                    OBJECT:
                      type: string
                      maxLength: 10
                      description: Name of number range object
                    DTELSOBJ:
                      type: string
                      maxLength: 30
                      description: Subobject data element
                    NRTAB:
                      type: string
                      maxLength: 30
                      description: Group table name
                    NRINTFLD:
                      type: string
                      maxLength: 30
                      description: Number range number field name for internal number range
                    NREXTFLD:
                      type: string
                      maxLength: 30
                      description: Number range number field name for internal number range
                    NRFLD:
                      type: string
                      maxLength: 30
                      description: Name of the number range number field for number ranges
                    NRSOBJFLD:
                      type: string
                      maxLength: 30
                      description: Number range table subobject field name
                    NRELEFLD:
                      type: string
                      maxLength: 30
                      description: Name of the number range element field
                    YEARIND:
                      type: string
                      maxLength: 1
                      description: 'Flag, whether number range object is to-year relevant  enumValues: ""=No,X=Yes'
                      enum:
                      - ''
                      - X
                    DOMLEN:
                      type: string
                      maxLength: 30
                      description: Number length domain
                    PERCENTAGE:
                      type: integer
                      format: int64
                      description: Percentage for warning message
                    CODE:
                      type: string
                      maxLength: 20
                      description: CUA interface code
                    TEXTIND:
                      type: string
                      maxLength: 1
                      description: 'Display elements with text flag  enumValues: ""=No,X=Yes'
                      enum:
                      - ''
                      - X
                    NRELTXTTAB:
                      type: string
                      maxLength: 30
                      description: Element text table name
                    NRELTXTSOB:
                      type: string
                      maxLength: 30
                      description: Element text table subobject field name
                    NRELTXTELE:
                      type: string
                      maxLength: 30
                      description: Element text table element field name
                    NRELTXTTXT:
                      type: string
                      maxLength: 30
                      description: Element text table text field name
                    NRELTXTLNG:
                      type: string
                      maxLength: 30
                      description: Element text table language field name
                    BUFFER:
                      type: string
                      maxLength: 1
                      description: Buffer flag
                    NOIVBUFFER:
                      type: integer
                      format: int64
                      description: No. of numbers that must be held in the buffer
                    NONRSWAP:
                      type: string
                      maxLength: 1
                      description: 'Flag: No rolling of intervals  enumValues: ""=No,X=Yes'
                      enum:
                      - ''
                      - X
                    RFCDEST:
                      type: string
                      maxLength: 32
                      description: Logical Destination (Specified in Function Call)
              required:
              - INSHADOW
              - INTNRO
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                properties:
                  OUTSHADOW:
                    type: object
                    properties:
                      CLIENT:
                        type: string
                        maxLength: 3
                        description: Client
                      INSTANZ:
                        type: string
                        maxLength: 43
                        description: Enlarged instance name for local buffering
                      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
                      ROLLFLAG:
                        type: string
                        maxLength: 1
                        description: 'Checkbox (yes or no)  enumValues: ""=No,X=Yes'
                        enum:
                        - ''
                        - X
                      SRTF:
                        type: integer
                        format: int32
                        description: Next record counter in EXPORT/IMPORT data tables
                      FROMNR:
                        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
                      G_FROMNR:
                        type: string
                        maxLength: 20
                        description: From number
                      G_TONR:
                        type: string
                        maxLength: 20
                        description: To number
        '400':
          description: Bad request.
        5XX:
          description: Unexpected error.
