Amenities

Create Amenities | Units

POST
Create a unit amenity for any integration. This is a convenience endpoint that acts as a generic proxy for all amenity creation endpoints.

Path parameters

idstringRequired

Request

This endpoint expects an object.
amenity
stringRequired
The amenity name
integration_id
stringRequired
vendor
enumRequired
custom_data
objectOptional
Deprecated: Field is no longer applicable

Response

This endpoint returns an object
job_id
string
The ID of the job created to handle this operation
data
object
Returned data from the operation. This is dependent on the vendor specific endpoint's returned data.
POST
1curl -X POST https://api.propexo.com/v1/amenities/units/id \
2 -H "Authorization: Bearer <token>" \
3 -H "Content-Type: application/json" \
4 -d '{
5 "amenity": "amenity",
6 "integration_id": "integration_id",
7 "vendor": "BUILDIUM"
8}'
200Successful
1{
2 "job_id": "clwh5uics000608me9v74du0a",
3 "data": {}
4}