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": "3354e5d0-f746-4f09-989c-503f8adef099",
      "oid": 2,
      "create-date-time-utc": "2026-10-02T17:53:47.3366869+00:00",
      "customer-id": "60e320d2-a005-4da2-97a6-bf1b3b81ee20",
      "super-affiliate-id": "6c82ba5a-9375-4541-8a4b-bb102af496d3",
      "affiliate-id": "e4445934-f66e-40ec-9988-94a0935d2975",
      "product-code": "sample string 7",
      "supplier-id": 8,
      "payment-source-type-id": 9,
      "payment-source-id": "sample string 10",
      "parent-transaction-id": "969dbb7f-27ff-4f1f-bf63-0127f16f4692",
      "is-clone": true,
      "wallet-transaction-id": "2320ca80-00a6-477f-87f5-65902b858cd7",
      "amount-in-cents": 13,
      "order-status": 14,
      "supplier-response-code": "sample string 15",
      "product-id": "490853cb-7a15-4bc3-9be9-bebbaad722c3",
      "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-10-02T17:53:47.3366869+00:00",
      "supplier-commission-amount-in-cents": 23,
      "affiliate-commission-amount-in-cents": 24,
      "time-stamp": "QEA="
    },
    {
      "id": "3354e5d0-f746-4f09-989c-503f8adef099",
      "oid": 2,
      "create-date-time-utc": "2026-10-02T17:53:47.3366869+00:00",
      "customer-id": "60e320d2-a005-4da2-97a6-bf1b3b81ee20",
      "super-affiliate-id": "6c82ba5a-9375-4541-8a4b-bb102af496d3",
      "affiliate-id": "e4445934-f66e-40ec-9988-94a0935d2975",
      "product-code": "sample string 7",
      "supplier-id": 8,
      "payment-source-type-id": 9,
      "payment-source-id": "sample string 10",
      "parent-transaction-id": "969dbb7f-27ff-4f1f-bf63-0127f16f4692",
      "is-clone": true,
      "wallet-transaction-id": "2320ca80-00a6-477f-87f5-65902b858cd7",
      "amount-in-cents": 13,
      "order-status": 14,
      "supplier-response-code": "sample string 15",
      "product-id": "490853cb-7a15-4bc3-9be9-bebbaad722c3",
      "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-10-02T17:53:47.3366869+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>e4445934-f66e-40ec-9988-94a0935d2975</AffiliateId>
      <AmountInCents>13</AmountInCents>
      <ClosedDateTimeUtc>2026-10-02T17:53:47.3366869+00:00</ClosedDateTimeUtc>
      <CreateDateTimeUtc>2026-10-02T17:53:47.3366869+00:00</CreateDateTimeUtc>
      <CustomerId>60e320d2-a005-4da2-97a6-bf1b3b81ee20</CustomerId>
      <Id>3354e5d0-f746-4f09-989c-503f8adef099</Id>
      <Invoice>sample string 20</Invoice>
      <IsClone>true</IsClone>
      <IsClosed>true</IsClosed>
      <Oid>2</Oid>
      <OrderStatus>14</OrderStatus>
      <ParentTransactionId>969dbb7f-27ff-4f1f-bf63-0127f16f4692</ParentTransactionId>
      <PaymentSourceId>sample string 10</PaymentSourceId>
      <PaymentSourceTypeId>9</PaymentSourceTypeId>
      <ProductCode>sample string 7</ProductCode>
      <ProductCommissionTypeCode>19</ProductCommissionTypeCode>
      <ProductId>490853cb-7a15-4bc3-9be9-bebbaad722c3</ProductId>
      <ProductSubTarget>sample string 18</ProductSubTarget>
      <ProductTarget>sample string 17</ProductTarget>
      <SuperAffiliateId>6c82ba5a-9375-4541-8a4b-bb102af496d3</SuperAffiliateId>
      <SupplierCommissionAmountInCents>23</SupplierCommissionAmountInCents>
      <SupplierId>8</SupplierId>
      <SupplierResponseCode>sample string 15</SupplierResponseCode>
      <TimeStamp>QEA=</TimeStamp>
      <WalletTransactionId>2320ca80-00a6-477f-87f5-65902b858cd7</WalletTransactionId>
    </Order>
    <Order>
      <AffiliateCommissionAmountInCents>24</AffiliateCommissionAmountInCents>
      <AffiliateId>e4445934-f66e-40ec-9988-94a0935d2975</AffiliateId>
      <AmountInCents>13</AmountInCents>
      <ClosedDateTimeUtc>2026-10-02T17:53:47.3366869+00:00</ClosedDateTimeUtc>
      <CreateDateTimeUtc>2026-10-02T17:53:47.3366869+00:00</CreateDateTimeUtc>
      <CustomerId>60e320d2-a005-4da2-97a6-bf1b3b81ee20</CustomerId>
      <Id>3354e5d0-f746-4f09-989c-503f8adef099</Id>
      <Invoice>sample string 20</Invoice>
      <IsClone>true</IsClone>
      <IsClosed>true</IsClosed>
      <Oid>2</Oid>
      <OrderStatus>14</OrderStatus>
      <ParentTransactionId>969dbb7f-27ff-4f1f-bf63-0127f16f4692</ParentTransactionId>
      <PaymentSourceId>sample string 10</PaymentSourceId>
      <PaymentSourceTypeId>9</PaymentSourceTypeId>
      <ProductCode>sample string 7</ProductCode>
      <ProductCommissionTypeCode>19</ProductCommissionTypeCode>
      <ProductId>490853cb-7a15-4bc3-9be9-bebbaad722c3</ProductId>
      <ProductSubTarget>sample string 18</ProductSubTarget>
      <ProductTarget>sample string 17</ProductTarget>
      <SuperAffiliateId>6c82ba5a-9375-4541-8a4b-bb102af496d3</SuperAffiliateId>
      <SupplierCommissionAmountInCents>23</SupplierCommissionAmountInCents>
      <SupplierId>8</SupplierId>
      <SupplierResponseCode>sample string 15</SupplierResponseCode>
      <TimeStamp>QEA=</TimeStamp>
      <WalletTransactionId>2320ca80-00a6-477f-87f5-65902b858cd7</WalletTransactionId>
    </Order>
  </Orders>
  <Year>1</Year>
</ImportOrdersRequest>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

None.