Skip to content
This repository has been archived by the owner on Apr 5, 2024. It is now read-only.

Admin can create a reservation for user through REST API #8

Closed
jussiarpalahti opened this issue Jul 6, 2015 · 0 comments
Closed

Admin can create a reservation for user through REST API #8

jussiarpalahti opened this issue Jul 6, 2015 · 0 comments

Comments

@jussiarpalahti
Copy link
Member

This functionality is for external reservation handlers where users authenticate and make reservations through an UI and service middleware makes a request to Respa using its API. Reservation should happen using admin credentials, but in the user's name.

Tasks

  • admin has authenticated as admin user
  • admin makes a reservation request through the API for regular user
  • outcome: reservation is marked for the user in the db

Implementation

Django REST framework or API end point should manage user information in addition of reservation information, get user object from db and create a relation on the reservation object.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants