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": "d7252a7d-8a03-4d32-9846-7d87fc9b9060",
"super-affiliate-id": "27ab9019-34c1-4d7a-a9f8-dae6734a4c3f",
"affiliate-id": "2eb96e02-17f5-43c7-9f37-c005643fb98f",
"product-code": "sample string 4",
"supplier-id": 5,
"payment-source-type-id": 6,
"payment-source-id": "sample string 7",
"parent-transaction-id": "99c34c29-b4a5-48d1-96a9-9f02183494cd",
"is-clone": true,
"wallet-transaction-id": "c48a8dff-05ea-431f-aa1e-4a756bcb8cd8",
"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>2eb96e02-17f5-43c7-9f37-c005643fb98f</AffiliateId> <AmountInCents>10</AmountInCents> <CustomerId>d7252a7d-8a03-4d32-9846-7d87fc9b9060</CustomerId> <IsClone>true</IsClone> <Note>sample string 9</Note> <ParentTransactionId>99c34c29-b4a5-48d1-96a9-9f02183494cd</ParentTransactionId> <PaymentSourceId>sample string 7</PaymentSourceId> <PaymentSourceTypeId>6</PaymentSourceTypeId> <ProductCode>sample string 4</ProductCode> <SuperAffiliateId>27ab9019-34c1-4d7a-a9f8-dae6734a4c3f</SuperAffiliateId> <SupplierId>5</SupplierId> <WalletTransactionId>c48a8dff-05ea-431f-aa1e-4a756bcb8cd8</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. |