POST api/ImportOrdersRequest

Request Information

URI Parameters

None.

Body Parameters

ImportOrdersRequest
NameDescriptionTypeAdditional information
Year

integer

None.

Month

integer

None.

Orders

Collection of Order

None.

Request Formats

application/json, text/json

Sample:
{
  "year": 1,
  "month": 2,
  "orders": [
    {
      "id": "68c6aa33-ef97-48c4-b5d6-4e77064c04c4",
      "oid": 2,
      "create-date-time-utc": "2026-06-12T09:27:53.4910115+00:00",
      "customer-id": "79089c49-e1e7-47b4-ba18-45cfb61ef10f",
      "super-affiliate-id": "872a7944-9956-43b7-86ac-6073e5a89f45",
      "affiliate-id": "7a79d5ff-d4aa-4522-b426-4f200f190dfe",
      "product-code": "sample string 7",
      "supplier-id": 8,
      "payment-source-type-id": 9,
      "payment-source-id": "sample string 10",
      "parent-transaction-id": "095a6832-1cb3-4f4f-b2bd-27f505751658",
      "is-clone": true,
      "wallet-transaction-id": "53586369-594c-465a-9397-1646c53c7949",
      "amount-in-cents": 13,
      "order-status": 14,
      "supplier-response-code": "sample string 15",
      "product-id": "2ec2a1c7-c8d3-4a3c-bbd2-50143d70433f",
      "product-target": "sample string 17",
      "product-sub-target": "sample string 18",
      "product-commission-type-code": 19,
      "invoice": "sample string 20",
      "is-closed": true,
      "closed-date-time-utc": "2026-06-12T09:27:53.4910115+00:00",
      "supplier-commission-amount-in-cents": 23,
      "affiliate-commission-amount-in-cents": 24,
      "time-stamp": "QEA="
    },
    {
      "id": "68c6aa33-ef97-48c4-b5d6-4e77064c04c4",
      "oid": 2,
      "create-date-time-utc": "2026-06-12T09:27:53.4910115+00:00",
      "customer-id": "79089c49-e1e7-47b4-ba18-45cfb61ef10f",
      "super-affiliate-id": "872a7944-9956-43b7-86ac-6073e5a89f45",
      "affiliate-id": "7a79d5ff-d4aa-4522-b426-4f200f190dfe",
      "product-code": "sample string 7",
      "supplier-id": 8,
      "payment-source-type-id": 9,
      "payment-source-id": "sample string 10",
      "parent-transaction-id": "095a6832-1cb3-4f4f-b2bd-27f505751658",
      "is-clone": true,
      "wallet-transaction-id": "53586369-594c-465a-9397-1646c53c7949",
      "amount-in-cents": 13,
      "order-status": 14,
      "supplier-response-code": "sample string 15",
      "product-id": "2ec2a1c7-c8d3-4a3c-bbd2-50143d70433f",
      "product-target": "sample string 17",
      "product-sub-target": "sample string 18",
      "product-commission-type-code": 19,
      "invoice": "sample string 20",
      "is-closed": true,
      "closed-date-time-utc": "2026-06-12T09:27:53.4910115+00:00",
      "supplier-commission-amount-in-cents": 23,
      "affiliate-commission-amount-in-cents": 24,
      "time-stamp": "QEA="
    }
  ]
}

application/xml, text/xml

Sample:
<ImportOrdersRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Caprica.Models">
  <Month>2</Month>
  <Orders>
    <Order>
      <AffiliateCommissionAmountInCents>24</AffiliateCommissionAmountInCents>
      <AffiliateId>7a79d5ff-d4aa-4522-b426-4f200f190dfe</AffiliateId>
      <AmountInCents>13</AmountInCents>
      <ClosedDateTimeUtc>2026-06-12T09:27:53.4910115+00:00</ClosedDateTimeUtc>
      <CreateDateTimeUtc>2026-06-12T09:27:53.4910115+00:00</CreateDateTimeUtc>
      <CustomerId>79089c49-e1e7-47b4-ba18-45cfb61ef10f</CustomerId>
      <Id>68c6aa33-ef97-48c4-b5d6-4e77064c04c4</Id>
      <Invoice>sample string 20</Invoice>
      <IsClone>true</IsClone>
      <IsClosed>true</IsClosed>
      <Oid>2</Oid>
      <OrderStatus>14</OrderStatus>
      <ParentTransactionId>095a6832-1cb3-4f4f-b2bd-27f505751658</ParentTransactionId>
      <PaymentSourceId>sample string 10</PaymentSourceId>
      <PaymentSourceTypeId>9</PaymentSourceTypeId>
      <ProductCode>sample string 7</ProductCode>
      <ProductCommissionTypeCode>19</ProductCommissionTypeCode>
      <ProductId>2ec2a1c7-c8d3-4a3c-bbd2-50143d70433f</ProductId>
      <ProductSubTarget>sample string 18</ProductSubTarget>
      <ProductTarget>sample string 17</ProductTarget>
      <SuperAffiliateId>872a7944-9956-43b7-86ac-6073e5a89f45</SuperAffiliateId>
      <SupplierCommissionAmountInCents>23</SupplierCommissionAmountInCents>
      <SupplierId>8</SupplierId>
      <SupplierResponseCode>sample string 15</SupplierResponseCode>
      <TimeStamp>QEA=</TimeStamp>
      <WalletTransactionId>53586369-594c-465a-9397-1646c53c7949</WalletTransactionId>
    </Order>
    <Order>
      <AffiliateCommissionAmountInCents>24</AffiliateCommissionAmountInCents>
      <AffiliateId>7a79d5ff-d4aa-4522-b426-4f200f190dfe</AffiliateId>
      <AmountInCents>13</AmountInCents>
      <ClosedDateTimeUtc>2026-06-12T09:27:53.4910115+00:00</ClosedDateTimeUtc>
      <CreateDateTimeUtc>2026-06-12T09:27:53.4910115+00:00</CreateDateTimeUtc>
      <CustomerId>79089c49-e1e7-47b4-ba18-45cfb61ef10f</CustomerId>
      <Id>68c6aa33-ef97-48c4-b5d6-4e77064c04c4</Id>
      <Invoice>sample string 20</Invoice>
      <IsClone>true</IsClone>
      <IsClosed>true</IsClosed>
      <Oid>2</Oid>
      <OrderStatus>14</OrderStatus>
      <ParentTransactionId>095a6832-1cb3-4f4f-b2bd-27f505751658</ParentTransactionId>
      <PaymentSourceId>sample string 10</PaymentSourceId>
      <PaymentSourceTypeId>9</PaymentSourceTypeId>
      <ProductCode>sample string 7</ProductCode>
      <ProductCommissionTypeCode>19</ProductCommissionTypeCode>
      <ProductId>2ec2a1c7-c8d3-4a3c-bbd2-50143d70433f</ProductId>
      <ProductSubTarget>sample string 18</ProductSubTarget>
      <ProductTarget>sample string 17</ProductTarget>
      <SuperAffiliateId>872a7944-9956-43b7-86ac-6073e5a89f45</SuperAffiliateId>
      <SupplierCommissionAmountInCents>23</SupplierCommissionAmountInCents>
      <SupplierId>8</SupplierId>
      <SupplierResponseCode>sample string 15</SupplierResponseCode>
      <TimeStamp>QEA=</TimeStamp>
      <WalletTransactionId>53586369-594c-465a-9397-1646c53c7949</WalletTransactionId>
    </Order>
  </Orders>
  <Year>1</Year>
</ImportOrdersRequest>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

None.