openapi: 3.0.0
info:
  title: SAP API
  version: 1.0.0
servers:
- url: http://localhost:8080
paths:
  /rfc/TMS_CI_START_SERVICE:
    post:
      tags:
      - TMSC
      summary: 'Internal: Service Dispatcher for TMS'
      operationId: /rfc/TMS_CI_START_SERVICE
      requestBody:
        content:
          application/json:
            schema:
              properties:
                IV_ACCESS:
                  type: string
                  maxLength: 100
                  description: 'CI: Access Token'
                IV_CALLER:
                  type: string
                  maxLength: 12
                  description: SAP System, User Logon Name
                IV_COMMAND:
                  type: string
                  maxLength: 30
                  description: 'CI: Command'
                IV_CONTEXT:
                  type: string
                  maxLength: 30
                  description: 'CI: Call Context'
                IV_EXECMODE:
                  type: string
                  maxLength: 3
                  description: 'CI: Execution Mode'
                IV_SERVICE:
                  type: string
                  maxLength: 10
                  description: 'CI: Service'
                IV_SRCDOMAIN:
                  type: string
                  maxLength: 10
                  description: 'TMS: Transport Domain'
                IV_SRCSYSTEM:
                  type: string
                  maxLength: 10
                  description: 'TMS: System Name'
                IV_SRCVERSION:
                  type: string
                  default: '0.00'
                  maxLength: 10
                  description: 'TMS: Release ID'
                IV_SUPER:
                  type: string
                  maxLength: 1
                  description: General Flag
                IV_TARCLIENT:
                  type: string
                  maxLength: 3
                  description: R/3 System, Client Number from Logon
                IV_TARSYSTEM:
                  type: string
                  maxLength: 10
                  description: 'TMS: System Name'
                TT_ITABLE:
                  type: array
                  items:
                    type: object
                    properties:
                      VALUE:
                        type: integer
                        format: int32
                        description: Natural number
                TT_NAMTAB:
                  type: array
                  items:
                    type: object
                    properties:
                      TABNAM:
                        type: string
                        maxLength: 30
                        description: 'CI: Table Name'
                      TABTYP:
                        type: string
                        maxLength: 10
                        description: Character Field Length = 10
                      TABCNT:
                        type: integer
                        format: int64
                        description: 'Dictionary: Line item'
                      FIELDNAM:
                        type: string
                        maxLength: 30
                        description: 'Dictionary: Field name'
                      FIELDLEN:
                        type: integer
                        format: int64
                        description: Length from the nametab
                      FIELDTYP:
                        type: string
                        maxLength: 1
                        description: 'ABAP data type (C,D,N,...)  enumValues: N=Character string with only digits,s=2-byte integer, only for length field before LCHR or LRAW,h=Table type,y=Byte sequence with variable length (ABAP type XSTRING),l=Reference to data object,b=1-byte integer, integer number <= 254,P=Packed number,T=Time (Time: HHMMSS),u=Structured type, flat,I=Integer number (4-byte integer with sign),F=Floating point number to accuracy of 8 bytes,v=Structured type, deep,V=Character string
                          (old Dictionary type VARC),X=Byte sequence (heXadecimal),C=Character string,g=Character string with variable length (ABAP type STRING),r=Reference to class/interface,D=Date (Date: YYYYMMDD)'
                        enum:
                        - N
                        - s
                        - h
                        - y
                        - l
                        - b
                        - P
                        - T
                        - u
                        - I
                        - F
                        - v
                        - V
                        - X
                        - C
                        - g
                        - r
                        - D
                      FIELDOFF:
                        type: integer
                        format: int64
                        description: Offset from the nametab
                      OCFIELDLEN:
                        type: integer
                        format: int64
                        description: Length from the nametab
                      OCFIELDOFF:
                        type: integer
                        format: int64
                        description: Offset from the nametab
                TT_OBJTAB:
                  type: array
                  items:
                    type: object
                    properties:
                      OBJNAME:
                        type: string
                        maxLength: 30
                        description: 'CI: Table Name'
                      NINDEX:
                        type: integer
                        format: int32
                        description: 'TMS: Start Index of Data in Container'
                      CINDEX:
                        type: integer
                        format: int32
                        description: 'TMS: Start Index of Data in Container'
                      XINDEX:
                        type: integer
                        format: int32
                        description: 'TMS: Start Index of Data in Container'
                      IINDEX:
                        type: integer
                        format: int32
                        description: 'TMS: Start Index of Data in Container'
                      COBJLGTH:
                        type: integer
                        format: int32
                        description: Object length in character number (standardized)
                TT_TABLE:
                  type: array
                  items:
                    type: object
                    properties:
                      LINE:
                        type: string
                        maxLength: 1024
                        description: Character 1024
                TT_XTABLE:
                  type: array
                  items:
                    type: object
                    properties:
                      LINE:
                        type: string
                        format: byte
                        description: 'TMS: Binary Structure for Container'
              required:
              - IV_ACCESS
              - IV_COMMAND
              - IV_CONTEXT
              - IV_EXECMODE
              - IV_SERVICE
              - IV_SRCDOMAIN
              - IV_SRCSYSTEM
              - IV_SUPER
              - IV_TARSYSTEM
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                properties:
                  ES_EXCEPTION:
                    type: object
                    properties:
                      ID:
                        type: string
                        maxLength: 32
                        description: 'CI: alert ID'
                      DOMNAM:
                        type: string
                        maxLength: 10
                        description: 'TMS: Transport Domain'
                      SYSNAM:
                        type: string
                        maxLength: 10
                        description: 'TMS: System Name'
                      CLIENT:
                        type: string
                        maxLength: 3
                        description: 'TMS: Client'
                      SERVICE:
                        type: string
                        maxLength: 10
                        description: 'CI: Service'
                      FUNCTION:
                        type: string
                        maxLength: 30
                        description: 'CI: Function'
                      ERROR:
                        type: string
                        maxLength: 30
                        description: 'CI: error'
                      SEVERITY:
                        type: string
                        maxLength: 1
                        description: 'CI: Error Type'
                      TEXT:
                        type: string
                        maxLength: 100
                        description: 'CI: Error Text'
                      MSGID:
                        type: string
                        maxLength: 2
                        description: TMS Message ID
                      MSGTY:
                        type: string
                        maxLength: 1
                        description: Message Type
                      MSGNO:
                        type: integer
                        format: int64
                        description: Message Number
                      MSGV1:
                        type: string
                        maxLength: 50
                        description: 'CI: Buffer for Message Variables'
                      MSGV2:
                        type: string
                        maxLength: 50
                        description: 'CI: Buffer for Message Variables'
                      MSGV3:
                        type: string
                        maxLength: 50
                        description: 'CI: Buffer for Message Variables'
                      MSGV4:
                        type: string
                        maxLength: 50
                        description: 'CI: Buffer for Message Variables'
                  EV_CHAR_LENGTH:
                    type: integer
                    format: int64
                    description: Number of Bytes per Character (Unicode System)
                  EV_SERVICE_VERSION:
                    type: string
                    maxLength: 10
                    description: 'TMS: Release ID'
                  TT_ITABLE:
                    type: array
                    items:
                      type: object
                      properties:
                        VALUE:
                          type: integer
                          format: int32
                          description: Natural number
                  TT_NAMTAB:
                    type: array
                    items:
                      type: object
                      properties:
                        TABNAM:
                          type: string
                          maxLength: 30
                          description: 'CI: Table Name'
                        TABTYP:
                          type: string
                          maxLength: 10
                          description: Character Field Length = 10
                        TABCNT:
                          type: integer
                          format: int64
                          description: 'Dictionary: Line item'
                        FIELDNAM:
                          type: string
                          maxLength: 30
                          description: 'Dictionary: Field name'
                        FIELDLEN:
                          type: integer
                          format: int64
                          description: Length from the nametab
                        FIELDTYP:
                          type: string
                          maxLength: 1
                          description: 'ABAP data type (C,D,N,...)  enumValues: N=Character string with only digits,s=2-byte integer, only for length field before LCHR or LRAW,h=Table type,y=Byte sequence with variable length (ABAP type XSTRING),l=Reference to data object,b=1-byte integer, integer number <= 254,P=Packed number,T=Time (Time: HHMMSS),u=Structured type, flat,I=Integer number (4-byte integer with sign),F=Floating point number to accuracy of 8 bytes,v=Structured type, deep,V=Character
                            string (old Dictionary type VARC),X=Byte sequence (heXadecimal),C=Character string,g=Character string with variable length (ABAP type STRING),r=Reference to class/interface,D=Date (Date: YYYYMMDD)'
                          enum:
                          - N
                          - s
                          - h
                          - y
                          - l
                          - b
                          - P
                          - T
                          - u
                          - I
                          - F
                          - v
                          - V
                          - X
                          - C
                          - g
                          - r
                          - D
                        FIELDOFF:
                          type: integer
                          format: int64
                          description: Offset from the nametab
                        OCFIELDLEN:
                          type: integer
                          format: int64
                          description: Length from the nametab
                        OCFIELDOFF:
                          type: integer
                          format: int64
                          description: Offset from the nametab
                  TT_OBJTAB:
                    type: array
                    items:
                      type: object
                      properties:
                        OBJNAME:
                          type: string
                          maxLength: 30
                          description: 'CI: Table Name'
                        NINDEX:
                          type: integer
                          format: int32
                          description: 'TMS: Start Index of Data in Container'
                        CINDEX:
                          type: integer
                          format: int32
                          description: 'TMS: Start Index of Data in Container'
                        XINDEX:
                          type: integer
                          format: int32
                          description: 'TMS: Start Index of Data in Container'
                        IINDEX:
                          type: integer
                          format: int32
                          description: 'TMS: Start Index of Data in Container'
                        COBJLGTH:
                          type: integer
                          format: int32
                          description: Object length in character number (standardized)
                  TT_TABLE:
                    type: array
                    items:
                      type: object
                      properties:
                        LINE:
                          type: string
                          maxLength: 1024
                          description: Character 1024
                  TT_XTABLE:
                    type: array
                    items:
                      type: object
                      properties:
                        LINE:
                          type: string
                          format: byte
                          description: 'TMS: Binary Structure for Container'
        '400':
          description: Bad request.
        5XX:
          description: Unexpected error.
