POST api/Mobile/FavoriteUnitAdd
Request Information
URI Parameters
None.
Body Parameters
FavoriteUnit| Name | Description | Type | Additional information |
|---|---|---|---|
| FavoriteUnitId | integer |
None. |
|
| UnitId | integer |
None. |
|
| LoginId | integer |
None. |
|
| Rooms | integer |
None. |
|
| Bathrooms | decimal number |
None. |
|
| ResortName | string |
None. |
|
| Sleeps | integer |
None. |
|
| Name | string |
None. |
|
| ImagePath | string |
None. |
|
| FromDisney | decimal number |
None. |
|
| ResortID | integer |
None. |
|
| ResortStars | integer |
None. |
|
| Status | string |
None. |
Request Formats
application/json, text/json
Sample:
{
"FavoriteUnitId": 1,
"UnitId": 2,
"LoginId": 3,
"Rooms": 4,
"Bathrooms": 5.0,
"ResortName": "sample string 6",
"Sleeps": 7,
"Name": "sample string 8",
"ImagePath": "sample string 9",
"FromDisney": 10.0,
"ResortID": 11,
"ResortStars": 12,
"Status": "sample string 13"
}
application/xml, text/xml
Sample:
<FavoriteUnit xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> <FavoriteUnitId>1</FavoriteUnitId> <UnitId>2</UnitId> <LoginId>3</LoginId> <Rooms>4</Rooms> <Bathrooms>5</Bathrooms> <ResortName>sample string 6</ResortName> <Sleeps>7</Sleeps> <Name>sample string 8</Name> <ImagePath>sample string 9</ImagePath> <FromDisney>10</FromDisney> <ResortID>11</ResortID> <ResortStars>12</ResortStars> <Status>sample string 13</Status> </FavoriteUnit>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
booleanResponse Formats
application/json, text/json
Sample:
true
application/xml, text/xml
Sample:
<boolean>true</boolean>