POST api/PVCA

Request Information

URI Parameters

None.

Body Parameters

PostPVCA
NameDescriptionTypeAdditional information
vMethod

string

None.

VC_ID

string

None.

VC_GUESTNAME

string

None.

VC_IDCARD_PASSPORT

string

None.

VC_GENDER

string

None.

VC_NATIONALITY

string

None.

VC_ROOM_TYPE

string

None.

VC_NUM_OF_ROOM

string

None.

VC_CHECKIN_DATE

string

None.

VC_CHECKOUT_DATE

string

None.

Request Formats

application/json, text/json

Sample:
{
  "vMethod": "sample string 1",
  "vC_ID": "sample string 2",
  "vC_GUESTNAME": "sample string 3",
  "vC_IDCARD_PASSPORT": "sample string 4",
  "vC_GENDER": "sample string 5",
  "vC_NATIONALITY": "sample string 6",
  "vC_ROOM_TYPE": "sample string 7",
  "vC_NUM_OF_ROOM": "sample string 8",
  "vC_CHECKIN_DATE": "sample string 9",
  "vC_CHECKOUT_DATE": "sample string 10"
}

application/xml, text/xml

Sample:
<PostPVCA xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/webAPI1.Models">
  <VC_CHECKIN_DATE>sample string 9</VC_CHECKIN_DATE>
  <VC_CHECKOUT_DATE>sample string 10</VC_CHECKOUT_DATE>
  <VC_GENDER>sample string 5</VC_GENDER>
  <VC_GUESTNAME>sample string 3</VC_GUESTNAME>
  <VC_ID>sample string 2</VC_ID>
  <VC_IDCARD_PASSPORT>sample string 4</VC_IDCARD_PASSPORT>
  <VC_NATIONALITY>sample string 6</VC_NATIONALITY>
  <VC_NUM_OF_ROOM>sample string 8</VC_NUM_OF_ROOM>
  <VC_ROOM_TYPE>sample string 7</VC_ROOM_TYPE>
  <vMethod>sample string 1</vMethod>
</PostPVCA>

application/x-www-form-urlencoded

Sample:

Failed to generate the sample for media type 'application/x-www-form-urlencoded'. Cannot use formatter 'JQueryMvcFormUrlEncodedFormatter' to write type 'PostPVCA'.

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

application/json, text/json, application/xml, text/xml

Sample:

Sample not available.