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": "f09596c2-387c-457d-969e-1d412c963be8",
"super-affiliate-id": "ae872b40-7f35-4232-afca-e3ba87be78b9",
"affiliate-id": "ce4dd2d5-8775-4c12-89db-ee92fb4b1152",
"product-code": "sample string 4",
"supplier-id": 5,
"payment-source-type-id": 6,
"payment-source-id": "sample string 7",
"parent-transaction-id": "b5863348-d2f8-4c35-916f-79c24a18d167",
"is-clone": true,
"wallet-transaction-id": "2a009f6d-1751-4a05-9acd-ab7c049379cc",
"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>ce4dd2d5-8775-4c12-89db-ee92fb4b1152</AffiliateId> <AmountInCents>10</AmountInCents> <CustomerId>f09596c2-387c-457d-969e-1d412c963be8</CustomerId> <IsClone>true</IsClone> <Note>sample string 9</Note> <ParentTransactionId>b5863348-d2f8-4c35-916f-79c24a18d167</ParentTransactionId> <PaymentSourceId>sample string 7</PaymentSourceId> <PaymentSourceTypeId>6</PaymentSourceTypeId> <ProductCode>sample string 4</ProductCode> <SuperAffiliateId>ae872b40-7f35-4232-afca-e3ba87be78b9</SuperAffiliateId> <SupplierId>5</SupplierId> <WalletTransactionId>2a009f6d-1751-4a05-9acd-ab7c049379cc</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. |