openapi: 3.0.0
info:
  title: SAP API
  version: 1.0.0
servers:
- url: http://localhost:8080
paths:
  /rfc/SO_OBJECT_IMPORT_FOR_RECEIVE:
    post:
      tags:
      - SOA2
      operationId: /rfc/SO_OBJECT_IMPORT_FOR_RECEIVE
      requestBody:
        content:
          application/json:
            schema:
              properties:
                HEADER:
                  type: object
                  properties:
                    ORIGIN:
                      type: string
                      maxLength: 1244
                      description: 'SAPoffice: owner of the object to be sent'
                    FORWARD:
                      type: string
                      maxLength: 1244
                      description: 'SAPoffice: forwarder of the object to be sent'
                    CHANGER:
                      type: string
                      maxLength: 1244
                      description: 'SAPoffice: last user who changed object to be sent'
                    MESSAGE_ID:
                      type: string
                      maxLength: 128
                      description: 'SAPoffice: ID of the object to be sent'
                    TITLE:
                      type: string
                      maxLength: 128
                      description: 'SAPoffice: description of the object to be sent'
                    PRIORITY:
                      type: string
                      maxLength: 1
                      description: 'SAPoffice: send priority of the object (bundled)  enumValues: 8=,9=Lowest priority,1=Highest priority'
                      enum:
                      - '8'
                      - '9'
                      - '1'
                    IMPORTANCE:
                      type: string
                      maxLength: 1
                      description: 'SAPoffice: priority of the object to be sent  enumValues: 8=,9=Lowest priority,1=Highest priority'
                      enum:
                      - '8'
                      - '9'
                      - '1'
                    SCHEDULE:
                      type: string
                      maxLength: 3
                      description: 'SAPoffice: send time'
                    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'
                    EXPIRY:
                      type: string
                      format: date
                      description: Document Expiration Date
                    REPLY_TO:
                      type: string
                      maxLength: 964
                      description: 'SAPoffice: SAPcomm ID replied to'
                    DISREGARD:
                      type: string
                      maxLength: 964
                      description: 'SAPoffice: SC ID of the send process to be disregarded'
                    REFER:
                      type: string
                      maxLength: 964
                      description: 'SAPoffice: SAPcomm ID for send process concerned'
                    SENSITIV:
                      type: string
                      maxLength: 4
                      description: 'SAPoffice: sensitivity of the object to be sent'
                    CREDAT:
                      type: string
                      format: date
                      description: 'SAPoffice: Date of creation of object'
                    CRETIM:
                      type: string
                      maxLength: 6
                      description: 'SAPoffice: time at which the object was created'
                    PROTECTED:
                      type: string
                      maxLength: 1
                      description: 'SAPoffice: object is protected against changes  enumValues: X=Value for activated,""=Value for deactivated'
                      enum:
                      - X
                      - ''
                SCOM_ID:
                  type: string
                  maxLength: 964
                  description: General header of the send process
                SNDART:
                  type: string
                  maxLength: 6
                  description: Transmission type (X400, SAP-SAP and similar)
                BODY_HEADER:
                  type: array
                  items:
                    type: object
                    properties:
                      TYP:
                        type: string
                        maxLength: 3
                        description: 'SAPoffice: body part type (send externally)  enumValues: BIN=Bodypart is binary file,FAX=Bodypart has fax format,TXT=Bodypart is text only,SAP=Bodypart is type SAP'
                        enum:
                        - BIN
                        - FAX
                        - TXT
                        - SAP
                      SUBJECT:
                        type: string
                        maxLength: 50
                        description: 'SAPoffice: description of the body part'
                      ENCODED:
                        type: string
                        maxLength: 1
                        description: 'SAPoffice: body part was coded  enumValues: X=Value for activated,""=Value for deactivated'
                        enum:
                        - X
                        - ''
                      CREDAT:
                        type: string
                        format: date
                        description: 'SAPoffice: Date body part was created'
                      CRETIM:
                        type: string
                        maxLength: 6
                        description: 'SAPoffice: Time when body part was created'
                      STARTLINE:
                        type: integer
                        format: int64
                        description: Start line of the related body part
                      ENDLINE:
                        type: integer
                        format: int64
                        description: 'SAPoffice: End line of the related body part'
                      SIZE:
                        type: integer
                        format: int64
                        description: Length of a PC file (number of bytes)
                BODY_PART:
                  type: array
                  items:
                    type: object
                    properties:
                      LINE:
                        type: string
                        maxLength: 255
                        description: 'Text field length 255: texts'
                RECEIVERS:
                  type: array
                  items:
                    type: object
                    properties:
                      RECEIVER:
                        type: string
                        maxLength: 1244
                        description: Recipient address for the SAP communications server
                      DELIVERY:
                        type: string
                        maxLength: 1
                        description: 'SAPoffice: Deliver to recipient anyway?  enumValues: X=Value for activated,""=Value for deactivated'
                        enum:
                        - X
                        - ''
                      SNDEX:
                        type: string
                        maxLength: 1
                        description: 'Send express  enumValues: X=Value for activated,""=Value for deactivated'
                        enum:
                        - X
                        - ''
                      SNDCP:
                        type: string
                        maxLength: 1
                        description: 'Send: As copy  enumValues: X=Value for activated,""=Value for deactivated'
                        enum:
                        - X
                        - ''
                      SNDBC:
                        type: string
                        maxLength: 1
                        description: 'Send as a blind copy  enumValues: X=Value for activated,""=Value for deactivated'
                        enum:
                        - X
                        - ''
                      FORFB:
                        type: string
                        maxLength: 1
                        description: 'You cannot forward this message  enumValues: X=Value for activated,""=Value for deactivated'
                        enum:
                        - X
                        - ''
                      PRIFB:
                        type: string
                        maxLength: 1
                        description: 'Object cannot be printed  enumValues: X=Value for activated,""=Value for deactivated'
                        enum:
                        - X
                        - ''
                      SNDPRI:
                        type: string
                        maxLength: 1
                        description: 'Send: Priority  enumValues: 8=,9=Lowest priority,1=Highest priority'
                        enum:
                        - '8'
                        - '9'
                        - '1'
                      ACDAT:
                        type: string
                        format: date
                        description: Date by which action is to be taken on the received document
                      ACTIM:
                        type: string
                        maxLength: 6
                        description: Time by which the received object must be acted upon
                      ACALL:
                        type: string
                        maxLength: 1
                        description: 'ToDo by all recipients  enumValues: X=Value for activated,""=Value for deactivated'
                        enum:
                        - X
                        - ''
                      ACONE:
                        type: string
                        format: byte
                        description: ToDo by one of the recipients in the group
                      RRDAT:
                        type: string
                        format: date
                        description: A reply to the document must be sent by the specified date
                      RRTIM:
                        type: string
                        maxLength: 6
                        description: A reply must be sent by the specified time
                      OBJRR:
                        type: string
                        maxLength: 1
                        description: 'A reply must be sent for this object  enumValues: X=Value for activated,""=Value for deactivated'
                        enum:
                        - X
                        - ''
                      NOTIF_DELI:
                        type: string
                        maxLength: 1
                        description: 'SAPoffice: Is a delivery confirmation required?  enumValues: X=Value for activated,""=Value for deactivated'
                        enum:
                        - X
                        - ''
                      NOTIF_REC:
                        type: string
                        maxLength: 1
                        description: 'SAPoffice: Is a receipt confirmation required?  enumValues: X=Value for activated,""=Value for deactivated'
                        enum:
                        - X
                        - ''
              required:
              - HEADER
              - SCOM_ID
              - SNDART
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                properties:
                  SCOM_ID:
                    type: string
                    maxLength: 964
                    description: Transmission type (X400, SAP-SAP and similar)
                  BODY_HEADER:
                    type: array
                    items:
                      type: object
                      properties:
                        TYP:
                          type: string
                          maxLength: 3
                          description: 'SAPoffice: body part type (send externally)  enumValues: BIN=Bodypart is binary file,FAX=Bodypart has fax format,TXT=Bodypart is text only,SAP=Bodypart is type SAP'
                          enum:
                          - BIN
                          - FAX
                          - TXT
                          - SAP
                        SUBJECT:
                          type: string
                          maxLength: 50
                          description: 'SAPoffice: description of the body part'
                        ENCODED:
                          type: string
                          maxLength: 1
                          description: 'SAPoffice: body part was coded  enumValues: X=Value for activated,""=Value for deactivated'
                          enum:
                          - X
                          - ''
                        CREDAT:
                          type: string
                          format: date
                          description: 'SAPoffice: Date body part was created'
                        CRETIM:
                          type: string
                          maxLength: 6
                          description: 'SAPoffice: Time when body part was created'
                        STARTLINE:
                          type: integer
                          format: int64
                          description: Start line of the related body part
                        ENDLINE:
                          type: integer
                          format: int64
                          description: 'SAPoffice: End line of the related body part'
                        SIZE:
                          type: integer
                          format: int64
                          description: Length of a PC file (number of bytes)
                  BODY_PART:
                    type: array
                    items:
                      type: object
                      properties:
                        LINE:
                          type: string
                          maxLength: 255
                          description: 'Text field length 255: texts'
                  RECEIVERS:
                    type: array
                    items:
                      type: object
                      properties:
                        RECEIVER:
                          type: string
                          maxLength: 1244
                          description: Recipient address for the SAP communications server
                        DELIVERY:
                          type: string
                          maxLength: 1
                          description: 'SAPoffice: Deliver to recipient anyway?  enumValues: X=Value for activated,""=Value for deactivated'
                          enum:
                          - X
                          - ''
                        SNDEX:
                          type: string
                          maxLength: 1
                          description: 'Send express  enumValues: X=Value for activated,""=Value for deactivated'
                          enum:
                          - X
                          - ''
                        SNDCP:
                          type: string
                          maxLength: 1
                          description: 'Send: As copy  enumValues: X=Value for activated,""=Value for deactivated'
                          enum:
                          - X
                          - ''
                        SNDBC:
                          type: string
                          maxLength: 1
                          description: 'Send as a blind copy  enumValues: X=Value for activated,""=Value for deactivated'
                          enum:
                          - X
                          - ''
                        FORFB:
                          type: string
                          maxLength: 1
                          description: 'You cannot forward this message  enumValues: X=Value for activated,""=Value for deactivated'
                          enum:
                          - X
                          - ''
                        PRIFB:
                          type: string
                          maxLength: 1
                          description: 'Object cannot be printed  enumValues: X=Value for activated,""=Value for deactivated'
                          enum:
                          - X
                          - ''
                        SNDPRI:
                          type: string
                          maxLength: 1
                          description: 'Send: Priority  enumValues: 8=,9=Lowest priority,1=Highest priority'
                          enum:
                          - '8'
                          - '9'
                          - '1'
                        ACDAT:
                          type: string
                          format: date
                          description: Date by which action is to be taken on the received document
                        ACTIM:
                          type: string
                          maxLength: 6
                          description: Time by which the received object must be acted upon
                        ACALL:
                          type: string
                          maxLength: 1
                          description: 'ToDo by all recipients  enumValues: X=Value for activated,""=Value for deactivated'
                          enum:
                          - X
                          - ''
                        ACONE:
                          type: string
                          format: byte
                          description: ToDo by one of the recipients in the group
                        RRDAT:
                          type: string
                          format: date
                          description: A reply to the document must be sent by the specified date
                        RRTIM:
                          type: string
                          maxLength: 6
                          description: A reply must be sent by the specified time
                        OBJRR:
                          type: string
                          maxLength: 1
                          description: 'A reply must be sent for this object  enumValues: X=Value for activated,""=Value for deactivated'
                          enum:
                          - X
                          - ''
                        NOTIF_DELI:
                          type: string
                          maxLength: 1
                          description: 'SAPoffice: Is a delivery confirmation required?  enumValues: X=Value for activated,""=Value for deactivated'
                          enum:
                          - X
                          - ''
                        NOTIF_REC:
                          type: string
                          maxLength: 1
                          description: 'SAPoffice: Is a receipt confirmation required?  enumValues: X=Value for activated,""=Value for deactivated'
                          enum:
                          - X
                          - ''
        '400':
          description: Bad request.
        5XX:
          description: Unexpected error.
