openapi: 3.0.0
info:
  title: SAP API
  version: 1.0.0
servers:
- url: http://localhost:8080
paths:
  /rfc/MASTERIDOC_CREATE_REQ_ADR3MAS:
    post:
      tags:
      - SZAM
      operationId: /rfc/MASTERIDOC_CREATE_REQ_ADR3MAS
      requestBody:
        content:
          application/json:
            schema:
              properties:
                CONTEXT:
                  type: integer
                  format: int64
                  default: 0
                  description: Semantic meaning of the addresses (-> constants)
                OBJ_ID_C:
                  type: string
                  maxLength: 70
                  description: BOR company address owner object key
                OBJ_ID_EXT:
                  type: string
                  default: ' '
                  maxLength: 70
                  description: BOR object key extension (GUID)
                OBJ_ID_P:
                  type: string
                  maxLength: 70
                  description: Person object BOR object key
                OBJ_TYPE_C:
                  type: string
                  maxLength: 10
                  description: Company address owner BOR object type
                OBJ_TYPE_P:
                  type: string
                  maxLength: 10
                  description: Person object BOR object type
                RECEIVERS:
                  type: array
                  items:
                    type: object
                    properties:
                      LOGSYS:
                        type: string
                        maxLength: 10
                        description: Logical system
              required:
              - OBJ_ID_C
              - OBJ_ID_P
              - OBJ_TYPE_C
              - OBJ_TYPE_P
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                properties:
                  RECEIVERS:
                    type: array
                    items:
                      type: object
                      properties:
                        LOGSYS:
                          type: string
                          maxLength: 10
                          description: Logical system
        '400':
          description: Bad request.
        5XX:
          description: Unexpected error.
