POST Booking
Request Information
URI Parameters
None.
Body Parameters
BookingObjectName | Description | Type | Additional information |
---|---|---|---|
GovNumber | string |
None. |
|
Signature | string |
None. |
|
BranchId | integer |
None. |
|
BookingTime | date |
None. |
|
MobileNumber | string |
None. |
|
PersonName | string |
None. |
|
PaymentType | PaymentType |
None. |
|
PaymentAmount | decimal number |
None. |
Request Formats
application/json, text/json
Sample:
{ "GovNumber": "sample string 1", "Signature": "sample string 2", "BranchId": 3, "BookingTime": "2024-09-08T05:56:57.9986314+04:00", "MobileNumber": "sample string 5", "PersonName": "sample string 6", "PaymentType": 0, "PaymentAmount": 7.0 }
application/xml, text/xml
Sample:
<BookingObject xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/PTI.PaymentService.Model"> <BookingTime>2024-09-08T05:56:57.9986314+04:00</BookingTime> <BranchId>3</BranchId> <GovNumber>sample string 1</GovNumber> <MobileNumber>sample string 5</MobileNumber> <PaymentAmount>7</PaymentAmount> <PaymentType>Cash</PaymentType> <PersonName>sample string 6</PersonName> <Signature>sample string 2</Signature> </BookingObject>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
HttpResponseMessageName | 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. |