openapi: 3.0.0
info:
  title: SAP API
  version: 1.0.0
servers:
- url: http://localhost:8080
paths:
  /rfc/SO_STATE_RECEIVE:
    post:
      tags:
      - SOA2
      operationId: /rfc/SO_STATE_RECEIVE
      requestBody:
        content:
          application/json:
            schema:
              properties:
                NO_MAIL:
                  type: string
                  default: ' '
                  maxLength: 1
                  description: SAPcomm communications/ID
                OFFICE_ID:
                  type: object
                  properties:
                    SYDEST:
                      type: string
                      maxLength: 10
                      description: 'SAPoffice: System ID of internal SAP address'
                    MANDT:
                      type: string
                      maxLength: 3
                      description: 'SAPoffice: Client of user in other system'
                    SCOMTP:
                      type: string
                      maxLength: 3
                      description: 'SAPcomm ID: ID type'
                    SCOMYR:
                      type: string
                      maxLength: 2
                      description: 'SAPcomm: year of ID'
                    SCOMNO:
                      type: string
                      maxLength: 12
                      description: 'SAPcomm: number of the ID'
                SCOM_ID:
                  type: string
                  default: ' '
                  maxLength: 964
                  description: SAPcomm communications/ID
                RECEIVERS:
                  type: array
                  items:
                    type: object
                    properties:
                      ADDRESS:
                        type: string
                        maxLength: 1244
                        description: Recipient address for the SAP communications server
                      STATUS:
                        type: string
                        maxLength: 4
                        description: Status to be sent
                      STAT_TEXT:
                        type: string
                        maxLength: 80
                        description: 'Send externally: description of status to be sent'
                      SNDDAT:
                        type: string
                        format: date
                        description: 'SAPoffice: date on which the object is to be sent'
                      SNDTIM:
                        type: string
                        maxLength: 6
                        description: 'SAPoffice: time at which the object is to be sent'
                      CHARGE:
                        type: string
                        maxLength: 6
                        description: 'Send externally: transmission charges'
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                properties:
                  RECEIVERS:
                    type: array
                    items:
                      type: object
                      properties:
                        ADDRESS:
                          type: string
                          maxLength: 1244
                          description: Recipient address for the SAP communications server
                        STATUS:
                          type: string
                          maxLength: 4
                          description: Status to be sent
                        STAT_TEXT:
                          type: string
                          maxLength: 80
                          description: 'Send externally: description of status to be sent'
                        SNDDAT:
                          type: string
                          format: date
                          description: 'SAPoffice: date on which the object is to be sent'
                        SNDTIM:
                          type: string
                          maxLength: 6
                          description: 'SAPoffice: time at which the object is to be sent'
                        CHARGE:
                          type: string
                          maxLength: 6
                          description: 'Send externally: transmission charges'
        '400':
          description: Bad request.
        5XX:
          description: Unexpected error.
