openapi: 3.0.0
info:
  title: SAP API
  version: 1.0.0
servers:
- url: http://localhost:8080
paths:
  /rfc/RPY_CICO_REQUEST_OPEN:
    post:
      tags:
      - SIGS
      summary: Checkin/checkout open request
      operationId: /rfc/RPY_CICO_REQUEST_OPEN
      requestBody:
        content:
          application/json:
            schema:
              properties:
                CICO_REQUEST_TEXT:
                  type: string
                  default: ' '
                  maxLength: 60
                  description: Short description of CICO request
                CICO_REQUEST_TYPE:
                  type: string
                  default: REQ_TRANSP
                  maxLength: 10
                  description: Type of CICO request
                SAPSCRIPT_DOCUMENTATION:
                  type: array
                  items:
                    type: object
                    properties:
                      TDFORMAT:
                        type: string
                        maxLength: 2
                        description: Tag column
                      TDLINE:
                        type: string
                        maxLength: 132
                        description: Text Line
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                properties:
                  CICO_REQUEST_NO:
                    type: string
                    maxLength: 10
                    description: CICO request number
                  ERROR:
                    type: object
                    properties:
                      OBJECTID:
                        type: string
                        maxLength: 30
                        description: Object name
                      OBJECTTYPE:
                        type: string
                        maxLength: 4
                        description: Object Type
                      MSGID:
                        type: string
                        maxLength: 2
                        description: Message ID
                      MSGTYPE:
                        type: string
                        maxLength: 1
                        description: Message Type
                      MSGNUMBER:
                        type: integer
                        format: int64
                        description: Message Number
                      MSGVAR1:
                        type: string
                        maxLength: 50
                        description: Message Variable
                      MSGVAR2:
                        type: string
                        maxLength: 50
                        description: Message Variable
                      MSGVAR3:
                        type: string
                        maxLength: 50
                        description: Message Variable
                      MSGVAR4:
                        type: string
                        maxLength: 50
                        description: Message Variable
                      ERRORCLASS:
                        type: string
                        maxLength: 10
                        description: 'Error class repository API  enumValues: ERR_AUTH=Authorization error,ERR_INT=Internal error,ERR_TRLOCK=Long-term lock on object,ERR_CONSIS=Object is inconsistent,ERR_LANGU=Object has other master language,ERR_PARAM=Function module incorrectly parameterized,ERR_ENQ=Temporary lock on object,ERR_EXIST=Object does not exist,ERR_DOUBLE=Object already exists'
                        enum:
                        - ERR_AUTH
                        - ERR_INT
                        - ERR_TRLOCK
                        - ERR_CONSIS
                        - ERR_LANGU
                        - ERR_PARAM
                        - ERR_ENQ
                        - ERR_EXIST
                        - ERR_DOUBLE
                  ERROR_OCCURED:
                    type: string
                    maxLength: 1
                    description: Error structure
                  PROCESSING_STATUS:
                    type: string
                    maxLength: 2
                    description: Error structure
                  SAPSCRIPT_DOCUMENTATION:
                    type: array
                    items:
                      type: object
                      properties:
                        TDFORMAT:
                          type: string
                          maxLength: 2
                          description: Tag column
                        TDLINE:
                          type: string
                          maxLength: 132
                          description: Text Line
        '400':
          description: Bad request.
        5XX:
          description: Unexpected error.
