POST api/AccessBill

Documentation for 'Post'.

Request Information

Parameters

NameDescriptionAdditional information
value
Documentation for 'value'.

Define this parameter in the request body.

Request body formats

application/json, text/json

Sample:
{
  "LastName": "sample string 1",
  "RoomNumber": "sample string 2",
  "PostZipCode": "sample string 3",
  "ChosenService": "sample string 4",
  "HotelID": 5
}

application/xml, text/xml

Sample:
<GuestAccessDTO xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/HotelBillingDTO.Models">
  <ChosenService>sample string 4</ChosenService>
  <HotelID>5</HotelID>
  <LastName>sample string 1</LastName>
  <PostZipCode>sample string 3</PostZipCode>
  <RoomNumber>sample string 2</RoomNumber>
</GuestAccessDTO>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Response body formats

application/json, text/json

Sample:
"sample string 1"

application/xml, text/xml

Sample:
<string xmlns="http://schemas.microsoft.com/2003/10/Serialization/">sample string 1</string>