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": "cc67792c-50aa-469a-86d5-7e49d17dc6a5",
"super-affiliate-id": "745286d0-ec98-4dce-a36d-4f481ce1b22c",
"affiliate-id": "6db8c821-ec02-4cd8-bbaa-5e7c92afdb5f",
"product-code": "sample string 4",
"supplier-id": 5,
"payment-source-type-id": 6,
"payment-source-id": "sample string 7",
"parent-transaction-id": "f4479d7b-6ea2-4687-9db9-5d42d7b1b3a2",
"is-clone": true,
"wallet-transaction-id": "66b39340-736c-4b33-b436-87c6fd9a277d",
"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>6db8c821-ec02-4cd8-bbaa-5e7c92afdb5f</AffiliateId> <AmountInCents>10</AmountInCents> <CustomerId>cc67792c-50aa-469a-86d5-7e49d17dc6a5</CustomerId> <IsClone>true</IsClone> <Note>sample string 9</Note> <ParentTransactionId>f4479d7b-6ea2-4687-9db9-5d42d7b1b3a2</ParentTransactionId> <PaymentSourceId>sample string 7</PaymentSourceId> <PaymentSourceTypeId>6</PaymentSourceTypeId> <ProductCode>sample string 4</ProductCode> <SuperAffiliateId>745286d0-ec98-4dce-a36d-4f481ce1b22c</SuperAffiliateId> <SupplierId>5</SupplierId> <WalletTransactionId>66b39340-736c-4b33-b436-87c6fd9a277d</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. |