GET | /reservedAmenitiesByLease |
---|
Name | Parameter | Data Type | Required | Description |
---|---|---|---|---|
CommunityCode | query | string | No | |
LeaseId | query | string | No |
Name | Parameter | Data Type | Required | Description |
---|---|---|---|---|
Results | form | List<Amenity> | No | |
ResponseStatus | form | ResponseStatus | No |
Name | Parameter | Data Type | Required | Description |
---|---|---|---|---|
Key | form | Guid | No | |
Id | form | int | No | |
PropAmenityCategoryKey | form | string | No | |
Title | form | string | No | |
Description | form | string | No | |
Picture | form | string | No | |
PictureCaption | form | string | No | |
PictureGivenFileName | form | string | No | |
Attachment | form | string | No | |
AttachmentDisplayName | form | string | No | |
AttachmentGivenFileName | form | string | No | |
IsActive | form | bool | No | |
IsReservable | form | bool | No | |
IsDeleted | form | bool | No | |
CreatedByName | form | string | No | |
CreatedDate | form | DateTime | No | |
LastUpdatedByName | form | string | No | |
LastUpdatedDate | form | DateTime | No | |
ReservationSettings | form | AmenityReservationSettings | No | |
Reservations | form | List<AmenityReservation> | No |
Name | Parameter | Data Type | Required | Description |
---|---|---|---|---|
CommunityCode | form | string | No | |
EmailNotification | form | bool | No | |
TermsandConditions | form | bool | No | |
IsReservationCharge | form | bool | No | |
EstimatedCharge | form | decimal? | No | |
ResourceServiceUrl | form | string | No | |
LeadTimeStart | form | string | No | |
LeadTimeEnd | form | string | No | |
ReservationLimitStart | form | string | No | |
ReservationLimitEnd | form | string | No | |
ReservationDurationStart | form | string | No | |
ReservationDurationEnd | form | string | No | |
Id | form | string | No | |
AmenityKey | form | Guid | No | |
AmenityId | form | int | No | |
AmenityName | form | string | No | |
Attachment | form | string | No | |
AttachmentGivenFileName | form | string | No | |
CreatedByName | form | string | No | |
CreatedDate | form | DateTime | No | |
LastUpdatedByName | form | string | No | |
LastUpdatedDate | form | DateTime | No | |
Availability | form | List<Availability> | No | |
ReservableinRp | form | bool | No |
Name | Parameter | Data Type | Required | Description |
---|---|---|---|---|
id | form | string | No | |
title | form | string | No | |
start | form | string | No | |
end | form | string | No | |
day | form | string | No | |
DOW | form | int | No |
Name | Parameter | Data Type | Required | Description |
---|---|---|---|---|
Id | form | string | No | |
CommunityCode | form | string | No | |
AmenityKey | form | Guid | No | |
AmenityId | form | int | No | |
LeaseId | form | string | No | |
PersonId | form | string | No | |
ReservationType | form | ReservationType | No | |
EventTitle | form | string | No | |
AssociateName | form | string | No | |
Notes | form | string | No | |
ReservationDate | form | DateTime | No | |
StartTime | form | DateTime | No | |
EndTime | form | DateTime | No | |
Charge | form | decimal | No | |
CreatedBy | form | string | No | |
CreatedDate | form | DateTime | No | |
ModifiedBy | form | string | No | |
ModifiedDate | form | DateTime | No | |
IsActive | form | bool | No |
Community |
Resident |
To override the Content-type in your clients, use the HTTP Accept Header, append the .jsv suffix or ?format=jsv
The following are sample HTTP requests and responses. The placeholders shown need to be replaced with actual values.
GET /reservedAmenitiesByLease HTTP/1.1 Host: avalonaccessapi.avalonbay.com Accept: text/jsv
HTTP/1.1 200 OK Content-Type: text/jsv Content-Length: length { results: [ { id: 0, propAmenityCategoryKey: String, title: String, description: String, picture: String, pictureCaption: String, pictureGivenFileName: String, attachment: String, attachmentDisplayName: String, attachmentGivenFileName: String, isActive: False, isReservable: False, isDeleted: False, createdByName: String, createdDate: 0001-01-01, lastUpdatedByName: String, lastUpdatedDate: 0001-01-01, reservationSettings: { communityCode: String, emailNotification: False, termsandConditions: False, isReservationCharge: False, estimatedCharge: 0, resourceServiceUrl: String, leadTimeStart: String, leadTimeEnd: String, reservationLimitStart: String, reservationLimitEnd: String, reservationDurationStart: String, reservationDurationEnd: String, id: String, amenityId: 0, amenityName: String, attachment: String, attachmentGivenFileName: String, createdByName: String, createdDate: 0001-01-01, lastUpdatedByName: String, lastUpdatedDate: 0001-01-01, availability: [ { id: String, title: String, start: String, end: String, day: String, dow: 0 } ], reservableinRp: False }, reservations: [ { id: String, communityCode: String, amenityId: 0, leaseId: String, personId: String, reservationType: Community, eventTitle: String, associateName: String, notes: String, reservationDate: 0001-01-01, startTime: 0001-01-01, endTime: 0001-01-01, charge: 0, createdBy: String, createdDate: 0001-01-01, modifiedBy: String, modifiedDate: 0001-01-01, isActive: False } ] } ], responseStatus: { errorCode: String, message: String, stackTrace: String, errors: [ { errorCode: String, fieldName: String, message: String, meta: { String: String } } ], meta: { String: String } } }