POST api/OrderPreProcessorData
Request Information
URI Parameters
None.
Body Parameters
OrderPreProcessorData| Name | Description | Type | Additional information |
|---|---|---|---|
| CustomerId | globally unique identifier |
None. |
|
| SuperAffiliateId | globally unique identifier |
None. |
|
| AffiliateId | globally unique identifier |
None. |
|
| ProductCode | string |
None. |
|
| SupplierId | integer |
None. |
|
| PaymentSourceTypeId | integer |
None. |
|
| PaymentSourceId | string |
None. |
|
| ParentTransactionId | globally unique identifier |
None. |
|
| IsClone | boolean |
None. |
|
| WalletTransactionId | globally unique identifier |
None. |
|
| Note | string |
None. |
|
| AmountInCents | integer |
None. |
Request Formats
application/json, text/json
Sample:
{
"customer-id": "b3eaee49-5e8b-4345-8729-addaf11830f1",
"super-affiliate-id": "11e396db-9085-47b0-83dc-f8e8b2ff4926",
"affiliate-id": "8a148cb5-4ff5-42b7-a05f-6a48b987c862",
"product-code": "sample string 4",
"supplier-id": 5,
"payment-source-type-id": 6,
"payment-source-id": "sample string 7",
"parent-transaction-id": "e0116842-fe2b-42fc-9b72-505098c20a53",
"is-clone": true,
"wallet-transaction-id": "7b8f2a70-7c79-45f5-951e-b41431d6d896",
"note": "sample string 9",
"amount-in-cents": 10
}
application/xml, text/xml
Sample:
<OrderPreProcessorData xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Caprica.Models"> <AffiliateId>8a148cb5-4ff5-42b7-a05f-6a48b987c862</AffiliateId> <AmountInCents>10</AmountInCents> <CustomerId>b3eaee49-5e8b-4345-8729-addaf11830f1</CustomerId> <IsClone>true</IsClone> <Note>sample string 9</Note> <ParentTransactionId>e0116842-fe2b-42fc-9b72-505098c20a53</ParentTransactionId> <PaymentSourceId>sample string 7</PaymentSourceId> <PaymentSourceTypeId>6</PaymentSourceTypeId> <ProductCode>sample string 4</ProductCode> <SuperAffiliateId>11e396db-9085-47b0-83dc-f8e8b2ff4926</SuperAffiliateId> <SupplierId>5</SupplierId> <WalletTransactionId>7b8f2a70-7c79-45f5-951e-b41431d6d896</WalletTransactionId> </OrderPreProcessorData>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
HttpResponseMessage| Name | Description | Type | Additional information |
|---|---|---|---|
| Version | Version |
None. |
|
| Content | HttpContent |
None. |
|
| StatusCode | HttpStatusCode |
None. |
|
| ReasonPhrase | string |
None. |
|
| Headers | Collection of Object |
None. |
|
| RequestMessage | HttpRequestMessage |
None. |
|
| IsSuccessStatusCode | boolean |
None. |