PUT Subscriber/{subscriberId}/Location/{locationId}/Amenities

Updates the amenities list assigned to a specific location to the amenities specified in the body.

Request Information

URI Parameters

NameDescriptionTypeAdditional information
subscriberId

The subscriber in which the desired location is held.

integer

Required

locationId

The location to update assigned amenities for.

integer

Required

Body Parameters

The list of amenities to set the location's amenity list to.

Collection of integer

Request Formats

application/json, text/json

Sample:
[
  1,
  2
]

application/xml, text/xml

Sample:
<ArrayOfint xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
  <int>1</int>
  <int>2</int>
</ArrayOfint>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

application/json, text/json, application/xml, text/xml

Sample:

Sample not available.