AuthenticationApi
AuthenticationApiController.
API | Description |
---|---|
POST api/login |
Login user. |
Comments
API to handle Comments.
API | Description |
---|---|
POST api/reviews/{reviewId}/comments |
Create a new comment. |
Reviews
API | Description |
---|---|
GET api/reviews?pageNumber={pageNumber}&pageSize={pageSize} |
Get all reviews for the authorized user with pagination. |
GET api/reviews?listingKey={listingKey}&pageNumber={pageNumber}&pageSize={pageSize} |
Get all reviews for a given listing with pagination. |
POST api/reviews |
Add property reviews for an authorized integration partner. |
Test
This is a testing endpoint. Use the unauthenticated GET method to test specific response codes via the /api/test/{id} endpoint. Use the authenticated POST method to test authentication and api authorization.
API | Description |
---|---|
GET api/test |
Returns and empty 200 Ok response after 5 seconds. |
GET api/test/{id} |
Use this endpoint to test any supported response code. |
POST api/test |
Returns a 204 No Content response. Be sure to set the Content-Type when using POST as well. This method requires Authentication and Api authorization. |
Listings
API | Description |
---|---|
GET api/listings?hqKey={hqKey} |
Returns all the listings of headquarter |
GET api/listings |
Returns all the listings of authenticated user. |