Maxxton External API

Sections

Update amentylink for a location

Path Parameters

amenityIdinteger Required

amenityId to update/create AmenityLink

locationIdinteger Required

locationId to update/create AmenityLink

Body Parameters

amenityIdinteger

Unique id associated with each amenity

endDatestring

Date till which the amenity is accessible.Date should be added using ISO 8601 standard(yyyy-MM-dd)

startDatestring

Date from which the amenity can be accessed.Date should be added using ISO 8601 standard(yyyy-MM-dd)

textValuestring

If the amenity is of type text then the value provided to the amenity should be passed here

numberValuenumber

If the amenity is of type number then the value provided to the amenity should be passed here

Response

204
Object
The request is completed successfully without any errors
500
Object
Error occurred while updating/creating amenity links.

PUT

/

Select
1

Response