GET api/order/OnlineOrder/{onlineOrderID}/getInfoForPaymentRequest
Returns the Rep and Customer details needed to render the payment request checkout screen.
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| onlineOrderID |
The ID of the to get the parties for |
integer |
Required |
Body Parameters
None.
Response Information
Resource Description
OnlineOrderPaymentRequestInfoViewModel| Name | Description | Type | Additional information |
|---|---|---|---|
| RepFirstName | string |
None. |
|
| RepLastName | string |
None. |
|
| RepDisplayName | string |
None. |
|
| CustomerDID | string |
None. |
|
| CustomerFirstName | string |
None. |
|
| CustomerLastName | string |
None. |
Response Formats
application/xml, text/xml
Sample:
<OnlineOrderPaymentRequestInfoViewModel> <RepFirstName>sample string 1</RepFirstName> <RepLastName>sample string 2</RepLastName> <RepDisplayName>sample string 3</RepDisplayName> <CustomerDID>sample string 4</CustomerDID> <CustomerFirstName>sample string 5</CustomerFirstName> <CustomerLastName>sample string 6</CustomerLastName> </OnlineOrderPaymentRequestInfoViewModel>
application/json, text/json
Sample:
{
"RepFirstName": "sample string 1",
"RepLastName": "sample string 2",
"RepDisplayName": "sample string 3",
"CustomerDID": "sample string 4",
"CustomerFirstName": "sample string 5",
"CustomerLastName": "sample string 6"
}