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": "8b680304-9786-4138-ba84-5d119f7ce244",
"oid": 2,
"create-date-time-utc": "2026-02-20T11:36:33.1304001+00:00",
"customer-id": "9264de0d-ddc9-42d7-b8b6-b77a7d93c9ac",
"super-affiliate-id": "a04b21df-220f-4f16-a3c0-784f0e1a50a3",
"affiliate-id": "887642f1-6c5c-40d5-bf61-daaabd97e085",
"product-code": "sample string 7",
"supplier-id": 8,
"payment-source-type-id": 9,
"payment-source-id": "sample string 10",
"parent-transaction-id": "53128de9-cecb-40bc-8e96-94a954c5aa8a",
"is-clone": true,
"wallet-transaction-id": "ddd976fe-8fbc-445a-9774-418d8689e93f",
"amount-in-cents": 13,
"order-status": 14,
"supplier-response-code": "sample string 15",
"product-id": "8896e19f-d086-41eb-9642-f00994fd7abd",
"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-02-20T11:36:33.1304001+00:00",
"supplier-commission-amount-in-cents": 23,
"affiliate-commission-amount-in-cents": 24,
"time-stamp": "QEA="
},
{
"id": "8b680304-9786-4138-ba84-5d119f7ce244",
"oid": 2,
"create-date-time-utc": "2026-02-20T11:36:33.1304001+00:00",
"customer-id": "9264de0d-ddc9-42d7-b8b6-b77a7d93c9ac",
"super-affiliate-id": "a04b21df-220f-4f16-a3c0-784f0e1a50a3",
"affiliate-id": "887642f1-6c5c-40d5-bf61-daaabd97e085",
"product-code": "sample string 7",
"supplier-id": 8,
"payment-source-type-id": 9,
"payment-source-id": "sample string 10",
"parent-transaction-id": "53128de9-cecb-40bc-8e96-94a954c5aa8a",
"is-clone": true,
"wallet-transaction-id": "ddd976fe-8fbc-445a-9774-418d8689e93f",
"amount-in-cents": 13,
"order-status": 14,
"supplier-response-code": "sample string 15",
"product-id": "8896e19f-d086-41eb-9642-f00994fd7abd",
"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-02-20T11:36:33.1304001+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>887642f1-6c5c-40d5-bf61-daaabd97e085</AffiliateId>
<AmountInCents>13</AmountInCents>
<ClosedDateTimeUtc>2026-02-20T11:36:33.1304001+00:00</ClosedDateTimeUtc>
<CreateDateTimeUtc>2026-02-20T11:36:33.1304001+00:00</CreateDateTimeUtc>
<CustomerId>9264de0d-ddc9-42d7-b8b6-b77a7d93c9ac</CustomerId>
<Id>8b680304-9786-4138-ba84-5d119f7ce244</Id>
<Invoice>sample string 20</Invoice>
<IsClone>true</IsClone>
<IsClosed>true</IsClosed>
<Oid>2</Oid>
<OrderStatus>14</OrderStatus>
<ParentTransactionId>53128de9-cecb-40bc-8e96-94a954c5aa8a</ParentTransactionId>
<PaymentSourceId>sample string 10</PaymentSourceId>
<PaymentSourceTypeId>9</PaymentSourceTypeId>
<ProductCode>sample string 7</ProductCode>
<ProductCommissionTypeCode>19</ProductCommissionTypeCode>
<ProductId>8896e19f-d086-41eb-9642-f00994fd7abd</ProductId>
<ProductSubTarget>sample string 18</ProductSubTarget>
<ProductTarget>sample string 17</ProductTarget>
<SuperAffiliateId>a04b21df-220f-4f16-a3c0-784f0e1a50a3</SuperAffiliateId>
<SupplierCommissionAmountInCents>23</SupplierCommissionAmountInCents>
<SupplierId>8</SupplierId>
<SupplierResponseCode>sample string 15</SupplierResponseCode>
<TimeStamp>QEA=</TimeStamp>
<WalletTransactionId>ddd976fe-8fbc-445a-9774-418d8689e93f</WalletTransactionId>
</Order>
<Order>
<AffiliateCommissionAmountInCents>24</AffiliateCommissionAmountInCents>
<AffiliateId>887642f1-6c5c-40d5-bf61-daaabd97e085</AffiliateId>
<AmountInCents>13</AmountInCents>
<ClosedDateTimeUtc>2026-02-20T11:36:33.1304001+00:00</ClosedDateTimeUtc>
<CreateDateTimeUtc>2026-02-20T11:36:33.1304001+00:00</CreateDateTimeUtc>
<CustomerId>9264de0d-ddc9-42d7-b8b6-b77a7d93c9ac</CustomerId>
<Id>8b680304-9786-4138-ba84-5d119f7ce244</Id>
<Invoice>sample string 20</Invoice>
<IsClone>true</IsClone>
<IsClosed>true</IsClosed>
<Oid>2</Oid>
<OrderStatus>14</OrderStatus>
<ParentTransactionId>53128de9-cecb-40bc-8e96-94a954c5aa8a</ParentTransactionId>
<PaymentSourceId>sample string 10</PaymentSourceId>
<PaymentSourceTypeId>9</PaymentSourceTypeId>
<ProductCode>sample string 7</ProductCode>
<ProductCommissionTypeCode>19</ProductCommissionTypeCode>
<ProductId>8896e19f-d086-41eb-9642-f00994fd7abd</ProductId>
<ProductSubTarget>sample string 18</ProductSubTarget>
<ProductTarget>sample string 17</ProductTarget>
<SuperAffiliateId>a04b21df-220f-4f16-a3c0-784f0e1a50a3</SuperAffiliateId>
<SupplierCommissionAmountInCents>23</SupplierCommissionAmountInCents>
<SupplierId>8</SupplierId>
<SupplierResponseCode>sample string 15</SupplierResponseCode>
<TimeStamp>QEA=</TimeStamp>
<WalletTransactionId>ddd976fe-8fbc-445a-9774-418d8689e93f</WalletTransactionId>
</Order>
</Orders>
<Year>1</Year>
</ImportOrdersRequest>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
None.