POST api/manage-room-information
Request Information
URI Parameters
None.
Body Parameters
RoomInfoMappers| Name | Description | Type | Additional information |
|---|---|---|---|
| Id | integer |
None. |
|
| MasterBathCount | integer |
None. |
|
| FullBathCount | integer |
None. |
|
| HalfBathCount | integer |
None. |
|
| HasKitchen | boolean |
None. |
|
| HasKitchenNook | boolean |
None. |
|
| HasMasterTubShower | boolean |
None. |
|
| HasFullTubShower | boolean |
None. |
|
| HasLaundryRoom | boolean |
None. |
|
| Rooms | Collection of RoomMappers |
None. |
|
| AdditionalRooms | Collection of AdditionalRoomMappers |
None. |
Request Formats
application/json, text/json
Sample:
{
"Id": 1,
"MasterBathCount": 2,
"FullBathCount": 3,
"HalfBathCount": 4,
"HasKitchen": true,
"HasKitchenNook": true,
"HasMasterTubShower": true,
"HasFullTubShower": true,
"HasLaundryRoom": true,
"Rooms": [
{
"Id": 1,
"PlanId": 2,
"RoomTypeId": 3,
"FloorTypeId": 4,
"Quantity": 5,
"DampMoppedQuantity": 6,
"Type": 7,
"FloorTypes": "sample string 8",
"RoomTypes": "sample string 9",
"PlanName": "sample string 10"
},
{
"Id": 1,
"PlanId": 2,
"RoomTypeId": 3,
"FloorTypeId": 4,
"Quantity": 5,
"DampMoppedQuantity": 6,
"Type": 7,
"FloorTypes": "sample string 8",
"RoomTypes": "sample string 9",
"PlanName": "sample string 10"
}
],
"AdditionalRooms": [
{
"Id": 1,
"PlanId": 2,
"FloorTypeId": 3,
"FloorTypeName": "sample string 4",
"AdditionalRoomMasterID": 5,
"AdditionalRoomName": "sample string 6",
"Quantity": 7,
"DampMoppedQuantity": 8,
"OtherRoomID": 9
},
{
"Id": 1,
"PlanId": 2,
"FloorTypeId": 3,
"FloorTypeName": "sample string 4",
"AdditionalRoomMasterID": 5,
"AdditionalRoomName": "sample string 6",
"Quantity": 7,
"DampMoppedQuantity": 8,
"OtherRoomID": 9
}
]
}
application/xml, text/xml
Sample:
<RoomInfoMappers xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/CottageCareOnlinePricing.BAL.ServiceClass">
<AdditionalRooms>
<AdditionalRoomMappers>
<AdditionalRoomMasterID>5</AdditionalRoomMasterID>
<AdditionalRoomName>sample string 6</AdditionalRoomName>
<DampMoppedQuantity>8</DampMoppedQuantity>
<FloorTypeId>3</FloorTypeId>
<FloorTypeName>sample string 4</FloorTypeName>
<Id>1</Id>
<OtherRoomID>9</OtherRoomID>
<PlanId>2</PlanId>
<Quantity>7</Quantity>
</AdditionalRoomMappers>
<AdditionalRoomMappers>
<AdditionalRoomMasterID>5</AdditionalRoomMasterID>
<AdditionalRoomName>sample string 6</AdditionalRoomName>
<DampMoppedQuantity>8</DampMoppedQuantity>
<FloorTypeId>3</FloorTypeId>
<FloorTypeName>sample string 4</FloorTypeName>
<Id>1</Id>
<OtherRoomID>9</OtherRoomID>
<PlanId>2</PlanId>
<Quantity>7</Quantity>
</AdditionalRoomMappers>
</AdditionalRooms>
<FullBathCount>3</FullBathCount>
<HalfBathCount>4</HalfBathCount>
<HasFullTubShower>true</HasFullTubShower>
<HasKitchen>true</HasKitchen>
<HasKitchenNook>true</HasKitchenNook>
<HasLaundryRoom>true</HasLaundryRoom>
<HasMasterTubShower>true</HasMasterTubShower>
<Id>1</Id>
<MasterBathCount>2</MasterBathCount>
<Rooms>
<RoomMappers>
<DampMoppedQuantity>6</DampMoppedQuantity>
<FloorTypeId>4</FloorTypeId>
<FloorTypes>sample string 8</FloorTypes>
<Id>1</Id>
<PlanId>2</PlanId>
<PlanName>sample string 10</PlanName>
<Quantity>5</Quantity>
<RoomTypeId>3</RoomTypeId>
<RoomTypes>sample string 9</RoomTypes>
<Type>7</Type>
</RoomMappers>
<RoomMappers>
<DampMoppedQuantity>6</DampMoppedQuantity>
<FloorTypeId>4</FloorTypeId>
<FloorTypes>sample string 8</FloorTypes>
<Id>1</Id>
<PlanId>2</PlanId>
<PlanName>sample string 10</PlanName>
<Quantity>5</Quantity>
<RoomTypeId>3</RoomTypeId>
<RoomTypes>sample string 9</RoomTypes>
<Type>7</Type>
</RoomMappers>
</Rooms>
</RoomInfoMappers>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
Result| Name | Description | Type | Additional information |
|---|---|---|---|
| HasError | boolean |
None. |
|
| HasSuccess | boolean |
None. |
|
| IsServiceable | boolean |
None. |
|
| Status | StatusType |
None. |
|
| MessageTitle | string |
None. |
|
| Message | string |
None. |
|
| ExceptionMessage | string |
None. |
|
| ExceptionStackTrace | string |
None. |
|
| ResultException | Exception |
None. |
|
| ResultObject | Object |
None. |
Response Formats
application/json, text/json
Sample:
{
"ResultObject": {},
"HasError": false,
"HasSuccess": true,
"IsServiceable": true,
"Status": 200,
"MessageTitle": "sample string 4",
"Message": "sample string 5",
"ExceptionMessage": "sample string 6",
"ExceptionStackTrace": "sample string 7",
"ResultException": {
"ClassName": "System.Exception",
"Message": null,
"Data": null,
"InnerException": null,
"HelpURL": "sample string 1",
"StackTraceString": null,
"RemoteStackTraceString": null,
"RemoteStackIndex": 0,
"ExceptionMethod": null,
"HResult": 3,
"Source": "sample string 2",
"WatsonBuckets": null
}
}
application/xml, text/xml
Sample:
<Result xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/CottageCare.BAL.ServiceClass">
<ExceptionMessage>sample string 6</ExceptionMessage>
<ExceptionStackTrace>sample string 7</ExceptionStackTrace>
<HasError>false</HasError>
<HasSuccess>true</HasSuccess>
<IsServiceable>true</IsServiceable>
<Message>sample string 5</Message>
<MessageTitle>sample string 4</MessageTitle>
<ResultException xmlns:d2p1="http://schemas.datacontract.org/2004/07/System">
<ClassName xmlns:d3p1="http://www.w3.org/2001/XMLSchema" i:type="d3p1:string" xmlns="">System.Exception</ClassName>
<Message i:nil="true" xmlns="" />
<Data i:nil="true" xmlns="" />
<InnerException i:nil="true" xmlns="" />
<HelpURL xmlns:d3p1="http://www.w3.org/2001/XMLSchema" i:type="d3p1:string" xmlns="">sample string 1</HelpURL>
<StackTraceString i:nil="true" xmlns="" />
<RemoteStackTraceString i:nil="true" xmlns="" />
<RemoteStackIndex xmlns:d3p1="http://www.w3.org/2001/XMLSchema" i:type="d3p1:int" xmlns="">0</RemoteStackIndex>
<ExceptionMethod i:nil="true" xmlns="" />
<HResult xmlns:d3p1="http://www.w3.org/2001/XMLSchema" i:type="d3p1:int" xmlns="">3</HResult>
<Source xmlns:d3p1="http://www.w3.org/2001/XMLSchema" i:type="d3p1:string" xmlns="">sample string 2</Source>
<WatsonBuckets i:nil="true" xmlns="" />
</ResultException>
<ResultObject />
<Status>Success</Status>
</Result>