openapi: 3.0.0
info:
  title: SAP API
  version: 1.0.0
servers:
- url: http://localhost:8080
paths:
  /rfc/COM_PR_SET_MAP_TO_ORG:
    post:
      tags:
      - COM_PRODUCT_SET_REL
      operationId: /rfc/COM_PR_SET_MAP_TO_ORG
      requestBody:
        content:
          application/json:
            schema:
              properties:
                IS_IL_KEY:
                  type: object
                  properties:
                    ILGUID:
                      type: string
                      format: byte
                      description: Internal, Unique ID of a Relationship
                    SOURCEGUID:
                      type: string
                      format: byte
                      description: Internal ID for Source in a Relationship
                    DESTINGUID:
                      type: string
                      format: byte
                      description: Internal ID for Destination in a Relationship
                IS_REL:
                  type: object
                  properties:
                    CLIENT:
                      type: string
                      maxLength: 3
                      description: Client
                    PRODUCT_GUID:
                      type: string
                      format: byte
                      description: Internal Unique ID of Product
                    FRAGMENT_TYPE:
                      type: string
                      format: byte
                      description: Internal Key of a Set Type
                    ORDER_GUID:
                      type: string
                      format: byte
                      description: GUID for Engineering Change Order
                    FRAGMENT_GUID:
                      type: string
                      format: byte
                      description: Set GUID
                    OWNER:
                      type: string
                      maxLength: 1
                      description: 'Object is Owner of Set Type  enumValues: X=True,""=False'
                      enum:
                      - X
                      - ''
                    STATUS_OBJECT:
                      type: string
                      format: byte
                      description: GUID of a CRM Order Object
                    VALID_FROM:
                      type: integer
                      format: int64
                      description: Valid From (Time Stamp)
                    VALID_TO:
                      type: integer
                      format: int64
                      description: Valid To (Time Stamp)
                    UPNAME:
                      type: string
                      maxLength: 12
                      description: Name of the User Who Last Changed the Set
                    HISTEX:
                      type: string
                      maxLength: 1
                      description: 'History Exists  enumValues: X=True,""=False'
                      enum:
                      - X
                      - ''
                    LOGSYS:
                      type: string
                      maxLength: 10
                      description: Original System
                IS_RELKEY:
                  type: object
                  properties:
                    CLIENT:
                      type: string
                      maxLength: 3
                      description: Client
                    PRODUCT_GUID:
                      type: string
                      format: byte
                      description: Internal Unique ID of Product
                    FRAGMENT_TYPE:
                      type: string
                      format: byte
                      description: Internal Key of a Set Type
                    ORDER_GUID:
                      type: string
                      format: byte
                      description: GUID for Engineering Change Order
                IV_ORDER_GUID:
                  type: string
                  format: byte
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                properties:
                  EV_PR_ORG_ID:
                    type: string
                    maxLength: 32
                    description: Identification of an organizational unit
                  EV_PR_ORG_TYPE:
                    type: string
                    maxLength: 10
        '400':
          description: Bad request.
        5XX:
          description: Unexpected error.
