Skip to content

Instantly share code, notes, and snippets.

@aman0511
Last active September 12, 2016 11:12
Show Gist options
  • Select an option

  • Save aman0511/a15eb898428bec0da5f58baa9354d110 to your computer and use it in GitHub Desktop.

Select an option

Save aman0511/a15eb898428bec0da5f58baa9354d110 to your computer and use it in GitHub Desktop.
Api Doc
----------------------------------
login:
1. http://localhost:8000/accounts/login/
{
"password": "",
"username": ""
}
2. http://localhost:8000/accounts/logout/
3. http://localhost:8000/accounts/me/
display user details.
4.http://localhost:8000/accounts/user/
list of user
5.http://localhost:8000/inventory/item/
list of invetory item
6.http://localhost:8000/inventory/request/item/
request inventory item
7.http://localhost:8000/inventory/confirm/request/item
confirm list of request item.
8.http://localhost:8000/inventory/demand/user/<user_id>?month=""&year=""
get: user requested item
post: to process all request of user with {} data
9.http://localhost:8000/inventory/demand/history/
histrory display for all user
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment