POST api/Suap/AddFromSuap
Request Information
URI Parameters
None.
Body Parameters
SuapAccommodation| Name | Description | Type | Additional information |
|---|---|---|---|
| Items | Collection of SuapAccommodationAccommodation |
None. |
Request Formats
application/json, text/json, text/html
Sample:
{
"itemsField": [
{
"nameField": "sample string 1",
"descriptionField": "sample string 2",
"addressStreetTypeField": "sample string 3",
"addressNameField": "sample string 4",
"addressNumberField": "sample string 5",
"geogAreaCodeField": "sample string 6",
"telField": "sample string 7",
"mobileField": "sample string 8",
"faxField": "sample string 9",
"eMailField": "sample string 10",
"pECField": "sample string 11",
"webSiteField": "sample string 12",
"pMSSystemField": "sample string 13",
"CreatorUserNameField": "sample string 14",
"activStartDateField": "sample string 15",
"renovationDateField": "sample string 16",
"defaultStateField": "sample string 17",
"entityConsolidatedField": "sample string 18",
"modelTypeField": "sample string 19",
"modelCategoryField": "sample string 20",
"modelClassificationField": "sample string 21",
"totalBedsField": 22,
"totalBathField": 23,
"totalRoomsField": 24,
"documentField": "sample string 25",
"handicapQuantityField": 26,
"freeServicesField": "sample string 27",
"paidServicesField": "sample string 28",
"entityUserField": "sample string 29",
"entityUserMailField": "sample string 30",
"relationShipField": "sample string 31",
"geogCoordinatesField": [
{
"latitudeField": "sample string 1",
"longitudeField": "sample string 2"
},
{
"latitudeField": "sample string 1",
"longitudeField": "sample string 2"
}
],
"singleRoomsField": [
{
"totalNumberField": 1,
"minPriceLSField": "sample string 2",
"maxPriceLSField": 3.0,
"minPriceHSField": 4.0,
"maxPriceHSField": 5.0
},
{
"totalNumberField": 1,
"minPriceLSField": "sample string 2",
"maxPriceLSField": 3.0,
"minPriceHSField": 4.0,
"maxPriceHSField": 5.0
}
],
"doubleRoomsField": [
{
"totalNumberField": 1,
"minPriceLSField": 2.0,
"maxPriceLSField": 3.0,
"minPriceHSField": 4.0,
"maxPriceHSField": 5.0
},
{
"totalNumberField": 1,
"minPriceLSField": 2.0,
"maxPriceLSField": 3.0,
"minPriceHSField": 4.0,
"maxPriceHSField": 5.0
}
],
"tripleRoomsField": [
{
"totalNumberField": 1,
"minPriceLSField": 2.0,
"maxPriceLSField": 3.0,
"minPriceHSField": 4.0,
"maxPriceHSField": 5.0
},
{
"totalNumberField": 1,
"minPriceLSField": 2.0,
"maxPriceLSField": 3.0,
"minPriceHSField": 4.0,
"maxPriceHSField": 5.0
}
],
"familyRoomsField": [
{
"totalNumberField": 1,
"minPriceLSField": 2.0,
"maxPriceLSField": 3.0,
"minPriceHSField": 4.0,
"maxPriceHSField": 5.0
},
{
"totalNumberField": 1,
"minPriceLSField": 2.0,
"maxPriceLSField": 3.0,
"minPriceHSField": 4.0,
"maxPriceHSField": 5.0
}
],
"housingUnitField": [
{
"minPriceLSField": 1.0,
"maxPriceLSField": 2.0,
"minPriceHSField": 3.0,
"maxPriceHSField": 4.0
},
{
"minPriceLSField": 1.0,
"maxPriceLSField": 2.0,
"minPriceHSField": 3.0,
"maxPriceHSField": 4.0
}
]
},
{
"nameField": "sample string 1",
"descriptionField": "sample string 2",
"addressStreetTypeField": "sample string 3",
"addressNameField": "sample string 4",
"addressNumberField": "sample string 5",
"geogAreaCodeField": "sample string 6",
"telField": "sample string 7",
"mobileField": "sample string 8",
"faxField": "sample string 9",
"eMailField": "sample string 10",
"pECField": "sample string 11",
"webSiteField": "sample string 12",
"pMSSystemField": "sample string 13",
"CreatorUserNameField": "sample string 14",
"activStartDateField": "sample string 15",
"renovationDateField": "sample string 16",
"defaultStateField": "sample string 17",
"entityConsolidatedField": "sample string 18",
"modelTypeField": "sample string 19",
"modelCategoryField": "sample string 20",
"modelClassificationField": "sample string 21",
"totalBedsField": 22,
"totalBathField": 23,
"totalRoomsField": 24,
"documentField": "sample string 25",
"handicapQuantityField": 26,
"freeServicesField": "sample string 27",
"paidServicesField": "sample string 28",
"entityUserField": "sample string 29",
"entityUserMailField": "sample string 30",
"relationShipField": "sample string 31",
"geogCoordinatesField": [
{
"latitudeField": "sample string 1",
"longitudeField": "sample string 2"
},
{
"latitudeField": "sample string 1",
"longitudeField": "sample string 2"
}
],
"singleRoomsField": [
{
"totalNumberField": 1,
"minPriceLSField": "sample string 2",
"maxPriceLSField": 3.0,
"minPriceHSField": 4.0,
"maxPriceHSField": 5.0
},
{
"totalNumberField": 1,
"minPriceLSField": "sample string 2",
"maxPriceLSField": 3.0,
"minPriceHSField": 4.0,
"maxPriceHSField": 5.0
}
],
"doubleRoomsField": [
{
"totalNumberField": 1,
"minPriceLSField": 2.0,
"maxPriceLSField": 3.0,
"minPriceHSField": 4.0,
"maxPriceHSField": 5.0
},
{
"totalNumberField": 1,
"minPriceLSField": 2.0,
"maxPriceLSField": 3.0,
"minPriceHSField": 4.0,
"maxPriceHSField": 5.0
}
],
"tripleRoomsField": [
{
"totalNumberField": 1,
"minPriceLSField": 2.0,
"maxPriceLSField": 3.0,
"minPriceHSField": 4.0,
"maxPriceHSField": 5.0
},
{
"totalNumberField": 1,
"minPriceLSField": 2.0,
"maxPriceLSField": 3.0,
"minPriceHSField": 4.0,
"maxPriceHSField": 5.0
}
],
"familyRoomsField": [
{
"totalNumberField": 1,
"minPriceLSField": 2.0,
"maxPriceLSField": 3.0,
"minPriceHSField": 4.0,
"maxPriceHSField": 5.0
},
{
"totalNumberField": 1,
"minPriceLSField": 2.0,
"maxPriceLSField": 3.0,
"minPriceHSField": 4.0,
"maxPriceHSField": 5.0
}
],
"housingUnitField": [
{
"minPriceLSField": 1.0,
"maxPriceLSField": 2.0,
"minPriceHSField": 3.0,
"maxPriceHSField": 4.0
},
{
"minPriceLSField": 1.0,
"maxPriceLSField": 2.0,
"minPriceHSField": 3.0,
"maxPriceHSField": 4.0
}
]
}
]
}
application/x-www-form-urlencoded
Sample:
Sample not available.
application/xml, text/xml
Sample:
<SuapAccommodation xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<Accommodation>
<Name>sample string 1</Name>
<Description>sample string 2</Description>
<AddressStreetType>sample string 3</AddressStreetType>
<AddressName>sample string 4</AddressName>
<AddressNumber>sample string 5</AddressNumber>
<GeogAreaCode>sample string 6</GeogAreaCode>
<Tel>sample string 7</Tel>
<Mobile>sample string 8</Mobile>
<Fax>sample string 9</Fax>
<EMail>sample string 10</EMail>
<PEC>sample string 11</PEC>
<WebSite>sample string 12</WebSite>
<PMSSystem>sample string 13</PMSSystem>
<CreatorUserName>sample string 14</CreatorUserName>
<ActivStartDate>sample string 15</ActivStartDate>
<RenovationDate>sample string 16</RenovationDate>
<DefaultState>sample string 17</DefaultState>
<EntityConsolidated>sample string 18</EntityConsolidated>
<ModelType>sample string 19</ModelType>
<ModelCategory>sample string 20</ModelCategory>
<ModelClassification>sample string 21</ModelClassification>
<TotalBeds>22</TotalBeds>
<TotalBath>23</TotalBath>
<TotalRooms>24</TotalRooms>
<Document>sample string 25</Document>
<HandicapQuantity>26</HandicapQuantity>
<FreeServices>sample string 27</FreeServices>
<PaidServices>sample string 28</PaidServices>
<EntityUser>sample string 29</EntityUser>
<EntityUserMail>sample string 30</EntityUserMail>
<RelationShip>sample string 31</RelationShip>
<GeogCoordinates>
<Latitude>sample string 1</Latitude>
<Longitude>sample string 2</Longitude>
</GeogCoordinates>
<GeogCoordinates>
<Latitude>sample string 1</Latitude>
<Longitude>sample string 2</Longitude>
</GeogCoordinates>
<SingleRooms>
<TotalNumber>1</TotalNumber>
<MinPriceLS>sample string 2</MinPriceLS>
<MaxPriceLS>3</MaxPriceLS>
<MinPriceHS>4</MinPriceHS>
<MaxPriceHS>5</MaxPriceHS>
</SingleRooms>
<SingleRooms>
<TotalNumber>1</TotalNumber>
<MinPriceLS>sample string 2</MinPriceLS>
<MaxPriceLS>3</MaxPriceLS>
<MinPriceHS>4</MinPriceHS>
<MaxPriceHS>5</MaxPriceHS>
</SingleRooms>
<DoubleRooms>
<TotalNumber>1</TotalNumber>
<MinPriceLS>2</MinPriceLS>
<MaxPriceLS>3</MaxPriceLS>
<MinPriceHS>4</MinPriceHS>
<MaxPriceHS>5</MaxPriceHS>
</DoubleRooms>
<DoubleRooms>
<TotalNumber>1</TotalNumber>
<MinPriceLS>2</MinPriceLS>
<MaxPriceLS>3</MaxPriceLS>
<MinPriceHS>4</MinPriceHS>
<MaxPriceHS>5</MaxPriceHS>
</DoubleRooms>
<TripleRooms>
<TotalNumber>1</TotalNumber>
<MinPriceLS>2</MinPriceLS>
<MaxPriceLS>3</MaxPriceLS>
<MinPriceHS>4</MinPriceHS>
<MaxPriceHS>5</MaxPriceHS>
</TripleRooms>
<TripleRooms>
<TotalNumber>1</TotalNumber>
<MinPriceLS>2</MinPriceLS>
<MaxPriceLS>3</MaxPriceLS>
<MinPriceHS>4</MinPriceHS>
<MaxPriceHS>5</MaxPriceHS>
</TripleRooms>
<FamilyRooms>
<TotalNumber>1</TotalNumber>
<MinPriceLS>2</MinPriceLS>
<MaxPriceLS>3</MaxPriceLS>
<MinPriceHS>4</MinPriceHS>
<MaxPriceHS>5</MaxPriceHS>
</FamilyRooms>
<FamilyRooms>
<TotalNumber>1</TotalNumber>
<MinPriceLS>2</MinPriceLS>
<MaxPriceLS>3</MaxPriceLS>
<MinPriceHS>4</MinPriceHS>
<MaxPriceHS>5</MaxPriceHS>
</FamilyRooms>
<HousingUnit>
<MinPriceLS>1</MinPriceLS>
<MaxPriceLS>2</MaxPriceLS>
<MinPriceHS>3</MinPriceHS>
<MaxPriceHS>4</MaxPriceHS>
</HousingUnit>
<HousingUnit>
<MinPriceLS>1</MinPriceLS>
<MaxPriceLS>2</MaxPriceLS>
<MinPriceHS>3</MinPriceHS>
<MaxPriceHS>4</MaxPriceHS>
</HousingUnit>
</Accommodation>
<Accommodation>
<Name>sample string 1</Name>
<Description>sample string 2</Description>
<AddressStreetType>sample string 3</AddressStreetType>
<AddressName>sample string 4</AddressName>
<AddressNumber>sample string 5</AddressNumber>
<GeogAreaCode>sample string 6</GeogAreaCode>
<Tel>sample string 7</Tel>
<Mobile>sample string 8</Mobile>
<Fax>sample string 9</Fax>
<EMail>sample string 10</EMail>
<PEC>sample string 11</PEC>
<WebSite>sample string 12</WebSite>
<PMSSystem>sample string 13</PMSSystem>
<CreatorUserName>sample string 14</CreatorUserName>
<ActivStartDate>sample string 15</ActivStartDate>
<RenovationDate>sample string 16</RenovationDate>
<DefaultState>sample string 17</DefaultState>
<EntityConsolidated>sample string 18</EntityConsolidated>
<ModelType>sample string 19</ModelType>
<ModelCategory>sample string 20</ModelCategory>
<ModelClassification>sample string 21</ModelClassification>
<TotalBeds>22</TotalBeds>
<TotalBath>23</TotalBath>
<TotalRooms>24</TotalRooms>
<Document>sample string 25</Document>
<HandicapQuantity>26</HandicapQuantity>
<FreeServices>sample string 27</FreeServices>
<PaidServices>sample string 28</PaidServices>
<EntityUser>sample string 29</EntityUser>
<EntityUserMail>sample string 30</EntityUserMail>
<RelationShip>sample string 31</RelationShip>
<GeogCoordinates>
<Latitude>sample string 1</Latitude>
<Longitude>sample string 2</Longitude>
</GeogCoordinates>
<GeogCoordinates>
<Latitude>sample string 1</Latitude>
<Longitude>sample string 2</Longitude>
</GeogCoordinates>
<SingleRooms>
<TotalNumber>1</TotalNumber>
<MinPriceLS>sample string 2</MinPriceLS>
<MaxPriceLS>3</MaxPriceLS>
<MinPriceHS>4</MinPriceHS>
<MaxPriceHS>5</MaxPriceHS>
</SingleRooms>
<SingleRooms>
<TotalNumber>1</TotalNumber>
<MinPriceLS>sample string 2</MinPriceLS>
<MaxPriceLS>3</MaxPriceLS>
<MinPriceHS>4</MinPriceHS>
<MaxPriceHS>5</MaxPriceHS>
</SingleRooms>
<DoubleRooms>
<TotalNumber>1</TotalNumber>
<MinPriceLS>2</MinPriceLS>
<MaxPriceLS>3</MaxPriceLS>
<MinPriceHS>4</MinPriceHS>
<MaxPriceHS>5</MaxPriceHS>
</DoubleRooms>
<DoubleRooms>
<TotalNumber>1</TotalNumber>
<MinPriceLS>2</MinPriceLS>
<MaxPriceLS>3</MaxPriceLS>
<MinPriceHS>4</MinPriceHS>
<MaxPriceHS>5</MaxPriceHS>
</DoubleRooms>
<TripleRooms>
<TotalNumber>1</TotalNumber>
<MinPriceLS>2</MinPriceLS>
<MaxPriceLS>3</MaxPriceLS>
<MinPriceHS>4</MinPriceHS>
<MaxPriceHS>5</MaxPriceHS>
</TripleRooms>
<TripleRooms>
<TotalNumber>1</TotalNumber>
<MinPriceLS>2</MinPriceLS>
<MaxPriceLS>3</MaxPriceLS>
<MinPriceHS>4</MinPriceHS>
<MaxPriceHS>5</MaxPriceHS>
</TripleRooms>
<FamilyRooms>
<TotalNumber>1</TotalNumber>
<MinPriceLS>2</MinPriceLS>
<MaxPriceLS>3</MaxPriceLS>
<MinPriceHS>4</MinPriceHS>
<MaxPriceHS>5</MaxPriceHS>
</FamilyRooms>
<FamilyRooms>
<TotalNumber>1</TotalNumber>
<MinPriceLS>2</MinPriceLS>
<MaxPriceLS>3</MaxPriceLS>
<MinPriceHS>4</MinPriceHS>
<MaxPriceHS>5</MaxPriceHS>
</FamilyRooms>
<HousingUnit>
<MinPriceLS>1</MinPriceLS>
<MaxPriceLS>2</MaxPriceLS>
<MinPriceHS>3</MinPriceHS>
<MaxPriceHS>4</MaxPriceHS>
</HousingUnit>
<HousingUnit>
<MinPriceLS>1</MinPriceLS>
<MaxPriceLS>2</MaxPriceLS>
<MinPriceHS>3</MinPriceHS>
<MaxPriceHS>4</MaxPriceHS>
</HousingUnit>
</Accommodation>
</SuapAccommodation>
Response Information
Resource Description
HttpResponseMessage| Name | Description | Type | Additional information |
|---|---|---|---|
| Version | Version |
None. |
|
| Content | HttpContent |
None. |
|
| StatusCode | HttpStatusCode |
None. |
|
| ReasonPhrase | string |
None. |
|
| Headers | Collection of Object |
None. |
|
| RequestMessage | HttpRequestMessage |
None. |
|
| IsSuccessStatusCode | boolean |
None. |