POST Api/HostelRoomBed/downgradeVIPRoom

Request Information

URI Parameters

None.

Body Parameters

HostelRoomMaster
NameDescriptionTypeAdditional information
hostelId

integer

None.

hostelName

string

None.

buildingId

integer

None.

buildingName

string

None.

blockId

integer

None.

blockName

string

None.

roomTypeId

integer

None.

typeName

string

None.

roomNumber

string

None.

floorNumber

integer

None.

capacity

integer

None.

status

string

None.

facilities

string

None.

isVIP

boolean

None.

genderType

string

None.

roleName

string

None.

opCode

integer

None.

isException

boolean

None.

exceptionMessage

string

None.

DS

DataSet

None.

id

string

None.

strId

string

None.

userId

integer

None.

status

integer

None.

message

string

None.

PageSize

string

None.

PageIndex

string

None.

responseValue

DataSet

None.

Request Formats

application/json, text/json

Sample:
{
  "hostelId": 1,
  "hostelName": "sample string 2",
  "buildingId": 3,
  "buildingName": "sample string 4",
  "blockId": 1,
  "blockName": "sample string 5",
  "roomTypeId": 6,
  "typeName": "sample string 7",
  "roomNumber": "sample string 8",
  "floorNumber": 9,
  "capacity": 10,
  "status": "sample string 11",
  "facilities": "sample string 12",
  "isVIP": true,
  "genderType": "sample string 14",
  "roleName": "sample string 15",
  "opCode": 16,
  "isException": true,
  "exceptionMessage": "sample string 18",
  "ds": null,
  "id": "sample string 19",
  "strId": "sample string 20",
  "userId": 21,
  "message": "sample string 23",
  "pageSize": "sample string 24",
  "pageIndex": "sample string 25",
  "responseValue": {}
}

application/xml, text/xml

Sample:
<HostelRoomMaster xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/SMSWebAPI.Models">
  <DS i:nil="true" xmlns="http://schemas.datacontract.org/2004/07/DLLUtility" />
  <PageIndex xmlns="http://schemas.datacontract.org/2004/07/DLLUtility">sample string 25</PageIndex>
  <PageSize xmlns="http://schemas.datacontract.org/2004/07/DLLUtility">sample string 24</PageSize>
  <exceptionMessage xmlns="http://schemas.datacontract.org/2004/07/DLLUtility">sample string 18</exceptionMessage>
  <id xmlns="http://schemas.datacontract.org/2004/07/DLLUtility">sample string 19</id>
  <isException xmlns="http://schemas.datacontract.org/2004/07/DLLUtility">true</isException>
  <message xmlns="http://schemas.datacontract.org/2004/07/DLLUtility">sample string 23</message>
  <opCode xmlns="http://schemas.datacontract.org/2004/07/DLLUtility">16</opCode>
  <responseValue xmlns="http://schemas.datacontract.org/2004/07/DLLUtility">
    <xs:schema id="sample_x0020_string_x0020_3" targetNamespace="sample string 4" xmlns:mstns="sample string 4" xmlns="sample string 4" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata" attributeFormDefault="qualified" elementFormDefault="qualified">
      <xs:element name="sample_x0020_string_x0020_3" msdata:IsDataSet="true" msdata:CaseSensitive="true" msdata:UseCurrentLocale="true">
        <xs:complexType>
          <xs:choice minOccurs="0" maxOccurs="unbounded" />
        </xs:complexType>
      </xs:element>
    </xs:schema>
    <diffgr:diffgram xmlns:msdata="urn:schemas-microsoft-com:xml-msdata" xmlns:diffgr="urn:schemas-microsoft-com:xml-diffgram-v1" />
  </responseValue>
  <status xmlns="http://schemas.datacontract.org/2004/07/DLLUtility">22</status>
  <strId xmlns="http://schemas.datacontract.org/2004/07/DLLUtility">sample string 20</strId>
  <userId xmlns="http://schemas.datacontract.org/2004/07/DLLUtility">21</userId>
  <blockId>1</blockId>
  <blockName>sample string 5</blockName>
  <buildingId>3</buildingId>
  <buildingName>sample string 4</buildingName>
  <capacity>10</capacity>
  <facilities>sample string 12</facilities>
  <floorNumber>9</floorNumber>
  <genderType>sample string 14</genderType>
  <hostelId>1</hostelId>
  <hostelName>sample string 2</hostelName>
  <isVIP>true</isVIP>
  <roleName>sample string 15</roleName>
  <roomNumber>sample string 8</roomNumber>
  <roomTypeId>6</roomTypeId>
  <status>sample string 11</status>
  <typeName>sample string 7</typeName>
</HostelRoomMaster>

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 'HostelRoomMaster'.

Response Information

Resource Description

HttpResponseMessage
NameDescriptionTypeAdditional information
Version

Version

None.

Content

HttpContent

None.

StatusCode

HttpStatusCode

None.

ReasonPhrase

string

None.

Headers

Collection of Object

None.

RequestMessage

HttpRequestMessage

None.

IsSuccessStatusCode

boolean

None.