POST api/ImportOrdersRequest
Request Information
URI Parameters
None.
Body Parameters
ImportOrdersRequest| Name | Description | Type | Additional 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": "82798713-e9a4-4fe9-b2b9-e7f8988469b4",
"oid": 2,
"create-date-time-utc": "2026-07-30T03:19:26.4229549+00:00",
"customer-id": "f68b282d-092b-4fc5-a9e5-14926165e566",
"super-affiliate-id": "9a3777d1-07d0-45c3-9cd8-d597f997b198",
"affiliate-id": "bb17008d-9e76-41d8-811c-32d2250054ef",
"product-code": "sample string 7",
"supplier-id": 8,
"payment-source-type-id": 9,
"payment-source-id": "sample string 10",
"parent-transaction-id": "5a22aa78-bf88-446b-9fab-110ea34be3df",
"is-clone": true,
"wallet-transaction-id": "2ca5dc61-7b69-4cb3-a588-6aafe3e73ab6",
"amount-in-cents": 13,
"order-status": 14,
"supplier-response-code": "sample string 15",
"product-id": "158dce7a-67cf-4502-8574-a0bd092ce1ef",
"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-07-30T03:19:26.4229549+00:00",
"supplier-commission-amount-in-cents": 23,
"affiliate-commission-amount-in-cents": 24,
"time-stamp": "QEA="
},
{
"id": "82798713-e9a4-4fe9-b2b9-e7f8988469b4",
"oid": 2,
"create-date-time-utc": "2026-07-30T03:19:26.4229549+00:00",
"customer-id": "f68b282d-092b-4fc5-a9e5-14926165e566",
"super-affiliate-id": "9a3777d1-07d0-45c3-9cd8-d597f997b198",
"affiliate-id": "bb17008d-9e76-41d8-811c-32d2250054ef",
"product-code": "sample string 7",
"supplier-id": 8,
"payment-source-type-id": 9,
"payment-source-id": "sample string 10",
"parent-transaction-id": "5a22aa78-bf88-446b-9fab-110ea34be3df",
"is-clone": true,
"wallet-transaction-id": "2ca5dc61-7b69-4cb3-a588-6aafe3e73ab6",
"amount-in-cents": 13,
"order-status": 14,
"supplier-response-code": "sample string 15",
"product-id": "158dce7a-67cf-4502-8574-a0bd092ce1ef",
"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-07-30T03:19:26.4229549+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>bb17008d-9e76-41d8-811c-32d2250054ef</AffiliateId>
<AmountInCents>13</AmountInCents>
<ClosedDateTimeUtc>2026-07-30T03:19:26.4229549+00:00</ClosedDateTimeUtc>
<CreateDateTimeUtc>2026-07-30T03:19:26.4229549+00:00</CreateDateTimeUtc>
<CustomerId>f68b282d-092b-4fc5-a9e5-14926165e566</CustomerId>
<Id>82798713-e9a4-4fe9-b2b9-e7f8988469b4</Id>
<Invoice>sample string 20</Invoice>
<IsClone>true</IsClone>
<IsClosed>true</IsClosed>
<Oid>2</Oid>
<OrderStatus>14</OrderStatus>
<ParentTransactionId>5a22aa78-bf88-446b-9fab-110ea34be3df</ParentTransactionId>
<PaymentSourceId>sample string 10</PaymentSourceId>
<PaymentSourceTypeId>9</PaymentSourceTypeId>
<ProductCode>sample string 7</ProductCode>
<ProductCommissionTypeCode>19</ProductCommissionTypeCode>
<ProductId>158dce7a-67cf-4502-8574-a0bd092ce1ef</ProductId>
<ProductSubTarget>sample string 18</ProductSubTarget>
<ProductTarget>sample string 17</ProductTarget>
<SuperAffiliateId>9a3777d1-07d0-45c3-9cd8-d597f997b198</SuperAffiliateId>
<SupplierCommissionAmountInCents>23</SupplierCommissionAmountInCents>
<SupplierId>8</SupplierId>
<SupplierResponseCode>sample string 15</SupplierResponseCode>
<TimeStamp>QEA=</TimeStamp>
<WalletTransactionId>2ca5dc61-7b69-4cb3-a588-6aafe3e73ab6</WalletTransactionId>
</Order>
<Order>
<AffiliateCommissionAmountInCents>24</AffiliateCommissionAmountInCents>
<AffiliateId>bb17008d-9e76-41d8-811c-32d2250054ef</AffiliateId>
<AmountInCents>13</AmountInCents>
<ClosedDateTimeUtc>2026-07-30T03:19:26.4229549+00:00</ClosedDateTimeUtc>
<CreateDateTimeUtc>2026-07-30T03:19:26.4229549+00:00</CreateDateTimeUtc>
<CustomerId>f68b282d-092b-4fc5-a9e5-14926165e566</CustomerId>
<Id>82798713-e9a4-4fe9-b2b9-e7f8988469b4</Id>
<Invoice>sample string 20</Invoice>
<IsClone>true</IsClone>
<IsClosed>true</IsClosed>
<Oid>2</Oid>
<OrderStatus>14</OrderStatus>
<ParentTransactionId>5a22aa78-bf88-446b-9fab-110ea34be3df</ParentTransactionId>
<PaymentSourceId>sample string 10</PaymentSourceId>
<PaymentSourceTypeId>9</PaymentSourceTypeId>
<ProductCode>sample string 7</ProductCode>
<ProductCommissionTypeCode>19</ProductCommissionTypeCode>
<ProductId>158dce7a-67cf-4502-8574-a0bd092ce1ef</ProductId>
<ProductSubTarget>sample string 18</ProductSubTarget>
<ProductTarget>sample string 17</ProductTarget>
<SuperAffiliateId>9a3777d1-07d0-45c3-9cd8-d597f997b198</SuperAffiliateId>
<SupplierCommissionAmountInCents>23</SupplierCommissionAmountInCents>
<SupplierId>8</SupplierId>
<SupplierResponseCode>sample string 15</SupplierResponseCode>
<TimeStamp>QEA=</TimeStamp>
<WalletTransactionId>2ca5dc61-7b69-4cb3-a588-6aafe3e73ab6</WalletTransactionId>
</Order>
</Orders>
<Year>1</Year>
</ImportOrdersRequest>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
None.