openapi: 3.0.0
info:
  title: SAP API
  version: 1.0.0
servers:
- url: http://localhost:8080
paths:
  /rfc/SXIPERF_ORDER_RFC:
    post:
      tags:
      - SXIPERF
      summary: Rfc-Adapter module
      operationId: /rfc/SXIPERF_ORDER_RFC
      requestBody:
        content:
          application/json:
            schema:
              properties:
                INPUT:
                  type: object
                  properties:
                    ORDER:
                      type: object
                      properties:
                        ORDER_HEADER:
                          type: object
                          properties:
                            ORDER_ID:
                              type: string
                              maxLength: 10
                              description: Number of purchase order in Enterprise Buyer
                            ORDER_DATE:
                              type: string
                              format: date
                              description: Creation date of purchase order
                            LANGUAGE:
                              type: string
                              maxLength: 2
                              description: Language ISO code
                            CURRENCY:
                              type: string
                              maxLength: 3
                              description: Currency ISO code
                            METHOD:
                              type: string
                              description: Action to perform with this document
                            FOLLOWUP_ACTIONS:
                              type: object
                              properties:
                                CONFIRMATION:
                                  type: string
                                  description: Goods receipt indicator
                                INVOICE:
                                  type: string
                                  description: 'Invoice receipt indicator: Automatic settlement of confirmat'
                            TRADING_PARTNERS:
                              type: object
                              properties:
                                VENDOR:
                                  type: object
                                  properties:
                                    IDENTIFIER:
                                      type: object
                                      properties:
                                        PARTNER_ID:
                                          type: string
                                          maxLength: 10
                                          description: Business partner ID in EBP
                                        DUNS:
                                          type: string
                                          maxLength: 60
                                          description: Dun and Bradstreet standard ID for this partner (has to be m
                                        PARTNER_IDVENDOR:
                                          type: string
                                          maxLength: 40
                                          description: Business partner ID assigned by the vendor (has to be mainta
                                    ADDRESS:
                                      type: object
                                      properties:
                                        COMPANY_NAME1:
                                          type: string
                                          maxLength: 40
                                          description: Name 1 of organization
                                        COMPANY_NAME2:
                                          type: string
                                          maxLength: 40
                                          description: Name 2 of organization
                                        CARE_OF_NAME:
                                          type: string
                                          maxLength: 40
                                          description: ''
                                        POBOX:
                                          type: string
                                          maxLength: 10
                                          description: PO Box
                                        STREET:
                                          type: string
                                          maxLength: 60
                                          description: Street
                                        HOUSE_NUMBER:
                                          type: string
                                          maxLength: 10
                                          description: House number
                                        CITY:
                                          type: string
                                          maxLength: 40
                                          description: City
                                        POSTAL_CODE:
                                          type: string
                                          maxLength: 10
                                          description: City postal code
                                        REGION:
                                          type: string
                                          maxLength: 3
                                          description: Region (state, province, county)
                                        DISTRICT:
                                          type: string
                                          maxLength: 40
                                          description: District
                                        COUNTRY:
                                          type: string
                                          maxLength: 2
                                          description: ISO code of country
                                        PERSON_TITLE:
                                          type: string
                                          maxLength: 30
                                          description: ''
                                        FIRST_NAME:
                                          type: string
                                          maxLength: 40
                                          description: First name
                                        LAST_NAME:
                                          type: string
                                          maxLength: 40
                                          description: Last name
                                        DEPARTMENT:
                                          type: string
                                          maxLength: 10
                                          description: Department
                                        BUILDING:
                                          type: string
                                          maxLength: 10
                                          description: Building (number or code)
                                        FLOOR:
                                          type: string
                                          maxLength: 10
                                          description: Floor
                                        ROOM_NUMBER:
                                          type: string
                                          maxLength: 10
                                          description: Room or appartment number
                                        TELEPHONE_NUMBER:
                                          type: string
                                          maxLength: 30
                                          description: 'Telephone no.: Area code+number'
                                        TELEPHONE_NUMBER_EXTENSION:
                                          type: string
                                          maxLength: 10
                                          description: 'Telephone no.: Extension'
                                        FAX_NUMBER:
                                          type: string
                                          maxLength: 30
                                          description: 'Fax no.: Area code+number'
                                        FAX_NUMBER_EXTENSION:
                                          type: string
                                          maxLength: 10
                                          description: 'Fax no.: Extension'
                                        EMAIL_ADDRESS:
                                          type: string
                                          maxLength: 241
                                          description: E-mail address
                                ORDERING_PARTY:
                                  type: object
                                  properties:
                                    IDENTIFIER:
                                      type: object
                                      properties:
                                        PARTNER_ID:
                                          type: string
                                          maxLength: 10
                                          description: Business partner ID in EBP
                                        DUNS:
                                          type: string
                                          maxLength: 60
                                          description: Dun and Bradstreet standard ID for this partner (has to be m
                                        PARTNER_IDVENDOR:
                                          type: string
                                          maxLength: 40
                                          description: Business partner ID assigned by the vendor (has to be mainta
                                    ADDRESS:
                                      type: object
                                      properties:
                                        COMPANY_NAME1:
                                          type: string
                                          maxLength: 40
                                          description: Name 1 of organization
                                        COMPANY_NAME2:
                                          type: string
                                          maxLength: 40
                                          description: Name 2 of organization
                                        CARE_OF_NAME:
                                          type: string
                                          maxLength: 40
                                          description: ''
                                        POBOX:
                                          type: string
                                          maxLength: 10
                                          description: PO Box
                                        STREET:
                                          type: string
                                          maxLength: 60
                                          description: Street
                                        HOUSE_NUMBER:
                                          type: string
                                          maxLength: 10
                                          description: House number
                                        CITY:
                                          type: string
                                          maxLength: 40
                                          description: City
                                        POSTAL_CODE:
                                          type: string
                                          maxLength: 10
                                          description: City postal code
                                        REGION:
                                          type: string
                                          maxLength: 3
                                          description: Region (state, province, county)
                                        DISTRICT:
                                          type: string
                                          maxLength: 40
                                          description: District
                                        COUNTRY:
                                          type: string
                                          maxLength: 2
                                          description: ISO code of country
                                        PERSON_TITLE:
                                          type: string
                                          maxLength: 30
                                          description: ''
                                        FIRST_NAME:
                                          type: string
                                          maxLength: 40
                                          description: First name
                                        LAST_NAME:
                                          type: string
                                          maxLength: 40
                                          description: Last name
                                        DEPARTMENT:
                                          type: string
                                          maxLength: 10
                                          description: Department
                                        BUILDING:
                                          type: string
                                          maxLength: 10
                                          description: Building (number or code)
                                        FLOOR:
                                          type: string
                                          maxLength: 10
                                          description: Floor
                                        ROOM_NUMBER:
                                          type: string
                                          maxLength: 10
                                          description: Room or appartment number
                                        TELEPHONE_NUMBER:
                                          type: string
                                          maxLength: 30
                                          description: 'Telephone no.: Area code+number'
                                        TELEPHONE_NUMBER_EXTENSION:
                                          type: string
                                          maxLength: 10
                                          description: 'Telephone no.: Extension'
                                        FAX_NUMBER:
                                          type: string
                                          maxLength: 30
                                          description: 'Fax no.: Area code+number'
                                        FAX_NUMBER_EXTENSION:
                                          type: string
                                          maxLength: 10
                                          description: 'Fax no.: Extension'
                                        EMAIL_ADDRESS:
                                          type: string
                                          maxLength: 241
                                          description: E-mail address
                                SHIP_TO_PARTY:
                                  type: object
                                  properties:
                                    IDENTIFIER:
                                      type: object
                                      properties:
                                        PARTNER_ID:
                                          type: string
                                          maxLength: 10
                                          description: Business partner ID in EBP
                                        DUNS:
                                          type: string
                                          maxLength: 60
                                          description: Dun and Bradstreet standard ID for this partner (has to be m
                                        PARTNER_IDVENDOR:
                                          type: string
                                          maxLength: 40
                                          description: Business partner ID assigned by the vendor (has to be mainta
                                    ADDRESS:
                                      type: object
                                      properties:
                                        COMPANY_NAME1:
                                          type: string
                                          maxLength: 40
                                          description: Name 1 of organization
                                        COMPANY_NAME2:
                                          type: string
                                          maxLength: 40
                                          description: Name 2 of organization
                                        CARE_OF_NAME:
                                          type: string
                                          maxLength: 40
                                          description: ''
                                        POBOX:
                                          type: string
                                          maxLength: 10
                                          description: PO Box
                                        STREET:
                                          type: string
                                          maxLength: 60
                                          description: Street
                                        HOUSE_NUMBER:
                                          type: string
                                          maxLength: 10
                                          description: House number
                                        CITY:
                                          type: string
                                          maxLength: 40
                                          description: City
                                        POSTAL_CODE:
                                          type: string
                                          maxLength: 10
                                          description: City postal code
                                        REGION:
                                          type: string
                                          maxLength: 3
                                          description: Region (state, province, county)
                                        DISTRICT:
                                          type: string
                                          maxLength: 40
                                          description: District
                                        COUNTRY:
                                          type: string
                                          maxLength: 2
                                          description: ISO code of country
                                        PERSON_TITLE:
                                          type: string
                                          maxLength: 30
                                          description: ''
                                        FIRST_NAME:
                                          type: string
                                          maxLength: 40
                                          description: First name
                                        LAST_NAME:
                                          type: string
                                          maxLength: 40
                                          description: Last name
                                        DEPARTMENT:
                                          type: string
                                          maxLength: 10
                                          description: Department
                                        BUILDING:
                                          type: string
                                          maxLength: 10
                                          description: Building (number or code)
                                        FLOOR:
                                          type: string
                                          maxLength: 10
                                          description: Floor
                                        ROOM_NUMBER:
                                          type: string
                                          maxLength: 10
                                          description: Room or appartment number
                                        TELEPHONE_NUMBER:
                                          type: string
                                          maxLength: 30
                                          description: 'Telephone no.: Area code+number'
                                        TELEPHONE_NUMBER_EXTENSION:
                                          type: string
                                          maxLength: 10
                                          description: 'Telephone no.: Extension'
                                        FAX_NUMBER:
                                          type: string
                                          maxLength: 30
                                          description: 'Fax no.: Area code+number'
                                        FAX_NUMBER_EXTENSION:
                                          type: string
                                          maxLength: 10
                                          description: 'Fax no.: Extension'
                                        EMAIL_ADDRESS:
                                          type: string
                                          maxLength: 241
                                          description: E-mail address
                                BILL_TO_PARTY:
                                  type: object
                                  properties:
                                    IDENTIFIER:
                                      type: object
                                      properties:
                                        PARTNER_ID:
                                          type: string
                                          maxLength: 10
                                          description: Business partner ID in EBP
                                        DUNS:
                                          type: string
                                          maxLength: 60
                                          description: Dun and Bradstreet standard ID for this partner (has to be m
                                        PARTNER_IDVENDOR:
                                          type: string
                                          maxLength: 40
                                          description: Business partner ID assigned by the vendor (has to be mainta
                                    ADDRESS:
                                      type: object
                                      properties:
                                        COMPANY_NAME1:
                                          type: string
                                          maxLength: 40
                                          description: Name 1 of organization
                                        COMPANY_NAME2:
                                          type: string
                                          maxLength: 40
                                          description: Name 2 of organization
                                        CARE_OF_NAME:
                                          type: string
                                          maxLength: 40
                                          description: ''
                                        POBOX:
                                          type: string
                                          maxLength: 10
                                          description: PO Box
                                        STREET:
                                          type: string
                                          maxLength: 60
                                          description: Street
                                        HOUSE_NUMBER:
                                          type: string
                                          maxLength: 10
                                          description: House number
                                        CITY:
                                          type: string
                                          maxLength: 40
                                          description: City
                                        POSTAL_CODE:
                                          type: string
                                          maxLength: 10
                                          description: City postal code
                                        REGION:
                                          type: string
                                          maxLength: 3
                                          description: Region (state, province, county)
                                        DISTRICT:
                                          type: string
                                          maxLength: 40
                                          description: District
                                        COUNTRY:
                                          type: string
                                          maxLength: 2
                                          description: ISO code of country
                                        PERSON_TITLE:
                                          type: string
                                          maxLength: 30
                                          description: ''
                                        FIRST_NAME:
                                          type: string
                                          maxLength: 40
                                          description: First name
                                        LAST_NAME:
                                          type: string
                                          maxLength: 40
                                          description: Last name
                                        DEPARTMENT:
                                          type: string
                                          maxLength: 10
                                          description: Department
                                        BUILDING:
                                          type: string
                                          maxLength: 10
                                          description: Building (number or code)
                                        FLOOR:
                                          type: string
                                          maxLength: 10
                                          description: Floor
                                        ROOM_NUMBER:
                                          type: string
                                          maxLength: 10
                                          description: Room or appartment number
                                        TELEPHONE_NUMBER:
                                          type: string
                                          maxLength: 30
                                          description: 'Telephone no.: Area code+number'
                                        TELEPHONE_NUMBER_EXTENSION:
                                          type: string
                                          maxLength: 10
                                          description: 'Telephone no.: Extension'
                                        FAX_NUMBER:
                                          type: string
                                          maxLength: 30
                                          description: 'Fax no.: Area code+number'
                                        FAX_NUMBER_EXTENSION:
                                          type: string
                                          maxLength: 10
                                          description: 'Fax no.: Extension'
                                        EMAIL_ADDRESS:
                                          type: string
                                          maxLength: 241
                                          description: E-mail address
                            SHIP_TO_ADDRESS:
                              type: object
                              properties:
                                COMPANY_NAME1:
                                  type: string
                                  maxLength: 40
                                  description: Name 1 of organization
                                COMPANY_NAME2:
                                  type: string
                                  maxLength: 40
                                  description: Name 2 of organization
                                CARE_OF_NAME:
                                  type: string
                                  maxLength: 40
                                  description: ''
                                POBOX:
                                  type: string
                                  maxLength: 10
                                  description: PO Box
                                STREET:
                                  type: string
                                  maxLength: 60
                                  description: Street
                                HOUSE_NUMBER:
                                  type: string
                                  maxLength: 10
                                  description: House number
                                CITY:
                                  type: string
                                  maxLength: 40
                                  description: City
                                POSTAL_CODE:
                                  type: string
                                  maxLength: 10
                                  description: City postal code
                                REGION:
                                  type: string
                                  maxLength: 3
                                  description: Region (state, province, county)
                                DISTRICT:
                                  type: string
                                  maxLength: 40
                                  description: District
                                COUNTRY:
                                  type: string
                                  maxLength: 2
                                  description: ISO code of country
                                PERSON_TITLE:
                                  type: string
                                  maxLength: 30
                                  description: ''
                                FIRST_NAME:
                                  type: string
                                  maxLength: 40
                                  description: First name
                                LAST_NAME:
                                  type: string
                                  maxLength: 40
                                  description: Last name
                                DEPARTMENT:
                                  type: string
                                  maxLength: 10
                                  description: Department
                                BUILDING:
                                  type: string
                                  maxLength: 10
                                  description: Building (number or code)
                                FLOOR:
                                  type: string
                                  maxLength: 10
                                  description: Floor
                                ROOM_NUMBER:
                                  type: string
                                  maxLength: 10
                                  description: Room or appartment number
                                TELEPHONE_NUMBER:
                                  type: string
                                  maxLength: 30
                                  description: 'Telephone no.: Area code+number'
                                TELEPHONE_NUMBER_EXTENSION:
                                  type: string
                                  maxLength: 10
                                  description: 'Telephone no.: Extension'
                                FAX_NUMBER:
                                  type: string
                                  maxLength: 30
                                  description: 'Fax no.: Area code+number'
                                FAX_NUMBER_EXTENSION:
                                  type: string
                                  maxLength: 10
                                  description: 'Fax no.: Extension'
                                EMAIL_ADDRESS:
                                  type: string
                                  maxLength: 241
                                  description: E-mail address
                            COMPLETION_PERIOD:
                              type: object
                              properties:
                                FROM_DATE:
                                  type: string
                                  format: date
                                  description: No date means today
                                TO_DATE:
                                  type: string
                                  format: date
                                  description: No date means no end date or undefined end date.
                            TERMS_OF_PAYMENT:
                              type: object
                              properties:
                                DISCOUNT_MAX:
                                  type: object
                                  properties:
                                    DAYS:
                                      type: integer
                                      format: int64
                                      description: Payment within x days
                                    PERCENTAGE:
                                      type: integer
                                      format: int64
                                      description: Discount of n percent
                                DISCOUNT:
                                  type: object
                                  properties:
                                    DAYS:
                                      type: integer
                                      format: int64
                                      description: Payment within x days
                                    PERCENTAGE:
                                      type: integer
                                      format: int64
                                      description: Discount of n percent
                                DAYS:
                                  type: integer
                                  format: int64
                                  description: Payment within x days
                            PROCUREMENT_CARD:
                              type: object
                              properties:
                                ISSUE_COMPANY:
                                  type: string
                                  maxLength: 4
                                  description: Issuing company, for example VISA, MasterCard, or American E
                                NUMBER:
                                  type: string
                                  maxLength: 25
                                  description: Credit card number
                                HOLDER_NAME:
                                  type: string
                                  maxLength: 40
                                  description: Name of the holder of credit card
                                VALIDITY_DATE:
                                  type: string
                                  format: date
                                  description: Credit card expiry date
                            LIMIT:
                              type: object
                              properties:
                                OVERALL_LIMIT:
                                  type: string
                                  maxLength: 5
                                  description: Overall limit indicator
                                SUB_LIMIT_CONTRACT:
                                  type: array
                                  items:
                                    type: object
                                    properties:
                                      CONTRACT:
                                        type: object
                                        properties:
                                          REFERENCE_ID:
                                            type: string
                                            maxLength: 10
                                            description: Contract number
                                          REFERENCE_ITEM_ID:
                                            type: integer
                                            format: int64
                                            description: Item number of contract
                            DESCRIPTION:
                              type: string
                              maxLength: 40
                              description: Short text (40 characters) for order description
                            TEXT:
                              type: object
                              properties:
                                CONTENT:
                                  type: string
                                  description: The text itself
                                LANGUAGE:
                                  type: string
                                  maxLength: 2
                                  description: Language ISO code
                            USER_DEFINED_EXTENSION:
                              type: array
                              items:
                                type: object
                                properties:
                                  NAME:
                                    type: string
                                    maxLength: 30
                                    description: Field name in EBP
                                  VALUE:
                                    type: string
                                    description: Field value
                            ATTACHMENT:
                              type: array
                              items:
                                type: object
                                properties:
                                  URL:
                                    type: string
                                    maxLength: 255
                                    description: URL where this attachment is available for download
                                  MIME_TYPE:
                                    type: string
                                    maxLength: 128
                                    description: Definition of the attachment data type
                                  DESCRIPTION:
                                    type: string
                                    maxLength: 64
                                    description: Attachment
                        ORDER_ITEM:
                          type: array
                          items:
                            type: object
                            properties:
                              ORDER_ITEM_ID:
                                type: integer
                                format: int64
                                description: Item number
                              METHOD:
                                type: string
                                description: Action to perform with this item
                              REFERENCES:
                                type: object
                                properties:
                                  QUOTE:
                                    type: object
                                    properties:
                                      REFERENCE_IDVENDOR:
                                        type: string
                                        maxLength: 25
                                        description: Quotation number
                                      REFERENCE_ITEM_IDVENDOR:
                                        type: integer
                                        format: int64
                                        description: Quotation item number
                                  CONTRACT:
                                    type: object
                                    properties:
                                      REFERENCE_ID:
                                        type: string
                                        maxLength: 10
                                        description: Contract number
                                      REFERENCE_ITEM_ID:
                                        type: integer
                                        format: int64
                                        description: Item number of contract
                                  CATALOG:
                                    type: object
                                    properties:
                                      REFERENCE_ID:
                                        type: string
                                        maxLength: 20
                                        description: ID of catalog in EBP
                                      REFERENCE_ITEM_ID:
                                        type: string
                                        maxLength: 40
                                        description: ID of selected product
                              DELIVERY_DATE:
                                type: string
                                format: date
                                description: Requested delivery date
                              QUANTITY:
                                type: object
                                properties:
                                  VALUE:
                                    type: integer
                                    format: int64
                                    description: ''
                                  UO_M:
                                    type: string
                                    maxLength: 3
                                    description: Unit of measure ISO code
                              PRICE:
                                type: object
                                properties:
                                  VALUE:
                                    type: integer
                                    format: int64
                                    description: ''
                                  CURRENCY:
                                    type: string
                                    maxLength: 3
                                    description: Currency ISO code
                                  PRICE_BASIS_QUANTITY:
                                    type: integer
                                    format: int64
                                    description: 'Base of the unit of measure for the price: Price per PriceBa'
                              PRODUCT:
                                type: object
                                properties:
                                  TYPE:
                                    type: string
                                    description: Material or service
                                  IDENTIFIER:
                                    type: object
                                    properties:
                                      PRODUCT_ID:
                                        type: string
                                        maxLength: 40
                                        description: Product number
                                      SYSTEM_ID:
                                        type: string
                                        maxLength: 10
                                        description: LogicalSystem this ID is coming from
                                      PRODUCT_IDVENDOR:
                                        type: string
                                        maxLength: 40
                                        description: Product number at vendor
                                      MANUFACTURER_ID:
                                        type: string
                                        maxLength: 10
                                        description: Manufacturer ID; has to be maintained in the product master
                                      PRODUCT_IDMANUFACTURER:
                                        type: string
                                        maxLength: 40
                                        description: Product number at manufacturer; has to be maintained in the
                                      GTIN:
                                        type: string
                                        maxLength: 40
                                        description: A Global Trade Item Number, has to be maintained in the prod
                                  DESCRIPTION:
                                    type: string
                                    maxLength: 40
                                    description: Description of the product or service
                              CATEGORY:
                                type: object
                                properties:
                                  CATEGORY_ID:
                                    type: string
                                    maxLength: 20
                                    description: Material group number in EBP
                                  STANDARD_CATEGORY:
                                    type: object
                                    properties:
                                      SCHEMA:
                                        type: string
                                        maxLength: 10
                                        description: Name and version of the standard, for example, UNSPSC-6.0, E
                                      CLASSIFICATION_ID:
                                        type: string
                                        maxLength: 60
                                        description: Version-dependent hierarchical category identifier
                                      TECHNICAL_ID:
                                        type: string
                                        maxLength: 40
                                        description: Non-version-dependent unique category identifier
                              TEXT:
                                type: object
                                properties:
                                  CONTENT:
                                    type: string
                                    description: The text itself
                                  LANGUAGE:
                                    type: string
                                    maxLength: 2
                                    description: Language ISO code
                              CONFIGURATION:
                                type: object
                                properties:
                                  URL:
                                    type: string
                                    maxLength: 255
                                    description: URL where this attachment is available for download
                                  MIME_TYPE:
                                    type: string
                                    maxLength: 128
                                    description: Definition of the attachment data type
                                  DESCRIPTION:
                                    type: string
                                    maxLength: 64
                                    description: Attachment
                              USER_DEFINED_EXTENSION:
                                type: array
                                items:
                                  type: object
                                  properties:
                                    NAME:
                                      type: string
                                      maxLength: 30
                                      description: Field name in EBP
                                    VALUE:
                                      type: string
                                      description: Field value
                              ATTACHMENT:
                                type: array
                                items:
                                  type: object
                                  properties:
                                    URL:
                                      type: string
                                      maxLength: 255
                                      description: URL where this attachment is available for download
                                    MIME_TYPE:
                                      type: string
                                      maxLength: 128
                                      description: Definition of the attachment data type
                                    DESCRIPTION:
                                      type: string
                                      maxLength: 64
                                      description: Attachment
              required:
              - INPUT
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                properties:
                  OUTPUT:
                    type: object
                    properties:
                      STATUS:
                        type: string
                        maxLength: 1
                        description: StatusData
        '400':
          description: Bad request.
        5XX:
          description: Unexpected error.
