Update README.md
This commit is contained in:
@@ -2,12 +2,14 @@ Production API's
|
||||
---
|
||||
|
||||
1. **Base address** - http://sla12iis01.emea.sensus.net/LaaProductionWeb
|
||||
|
||||
1. **Authentication & Authorization** - each user has his own set of roles and allowed functions to access within his employee account's. Authentication succeeds over username, password and software name.
|
||||
1. **POST: /api/Personalization/Login** - in order to authenticate particular user and obtain an authorization token use following parameters:
|
||||
1. **POST: /api/personalization/login** - in order to authenticate particular user and obtain an authorization token use following parameters:
|
||||
- **Username** - required string. Should match a username saved in the database.
|
||||
- **Password** - required hash string. Should match the password hash for the above entered username.
|
||||
- **Software** - required string. As software name use the assembly name that calls this API.
|
||||
- only if authentication succeeds you will receive in response a string that should be used for further authorization else error message is received.
|
||||
1. **Authorize: Bearer {token}** -
|
||||
- only if authentication succeeds you will receive in response a string ({token}) that should be used for further authorization else error message is received.
|
||||
1. **Authorization: Bearer {token}** - is the scheme to use within the authorization and furtherAPI calls.
|
||||
|
||||
1. **Wildcard search:**
|
||||
1. **GET: /api/Search/Wildcard** -
|
||||
1. **GET: /api/search/wildcard** -
|
||||
|
||||
Reference in New Issue
Block a user