POST api/getlast
Request Information
URI Parameters
None.
Body Parameters
TicketModel| Name | Description | Type | Additional information |
|---|---|---|---|
| plateno | string |
None. |
|
| locationid | integer |
None. |
|
| userid | integer |
None. |
|
| vhtypeid | integer |
None. |
|
| vh_fee | decimal number |
None. |
|
| date_created | date |
None. |
|
| time_in | date |
None. |
Request Formats
application/json, text/json
Sample:
{
"plateno": "sample string 1",
"locationid": 2,
"userid": 3,
"vhtypeid": 4,
"vh_fee": 5.1,
"date_created": "2025-12-05T22:43:42.6799202-06:00",
"time_in": "2025-12-05T22:43:42.6799202-06:00"
}
text/html
Sample:
{"plateno":"sample string 1","locationid":2,"userid":3,"vhtypeid":4,"vh_fee":5.1,"date_created":"2025-12-05T22:43:42.6799202-06:00","time_in":"2025-12-05T22:43:42.6799202-06:00"}
application/xml, text/xml
Sample:
<TicketModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/NPSWebApi.Models"> <date_created>2025-12-05T22:43:42.6799202-06:00</date_created> <locationid>2</locationid> <plateno>sample string 1</plateno> <time_in>2025-12-05T22:43:42.6799202-06:00</time_in> <userid>3</userid> <vh_fee>5.1</vh_fee> <vhtypeid>4</vhtypeid> </TicketModel>
application/x-www-form-urlencoded
Sample:
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. |