POST LimoReservation/CreatePayment
Request Information
URI Parameters
None.
Body Parameters
PaymentServiceRequest| Name | Description | Type | Additional information |
|---|---|---|---|
| PaymentType | PaymentTypes1 |
None. |
|
| ReservationNumber | string |
None. |
|
| CreatedBy | integer |
None. |
Request Formats
application/json, text/json
Sample:
{
"PaymentType": 1,
"ReservationNumber": "sample string 1",
"CreatedBy": 2
}
application/xml, text/xml
Sample:
<PaymentServiceRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/SAPTCO.Mobile.Forms.Models"> <CreatedBy>2</CreatedBy> <PaymentType>Sadad</PaymentType> <ReservationNumber>sample string 1</ReservationNumber> </PaymentServiceRequest>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
PaymentServiceResponse| Name | Description | Type | Additional information |
|---|---|---|---|
| Status | boolean |
None. |
|
| ErrorMsg | string |
None. |
|
| TransactionNumber | string |
None. |
|
| ExpirationDt | string |
None. |
|
| ExpireDateCustomer | date |
None. |
|
| ReturnUrl | string |
None. |
|
| Amount | decimal number |
None. |
Response Formats
application/json
Sample:
Sample not available.
text/json
Sample:
Sample not available.
application/xml, text/xml
Sample:
<PaymentServiceResponse xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Infrastructure.Models"> <Amount>1.1</Amount> <ErrorMsg>sample string 2</ErrorMsg> <ExpirationDt>sample string 4</ExpirationDt> <ReturnUrl>sample string 5</ReturnUrl> <Status>true</Status> <TransactionNumber>sample string 3</TransactionNumber> </PaymentServiceResponse>