From bd2146fcbdd490f75a8fc821b99a44c96a007499 Mon Sep 17 00:00:00 2001 From: Stoyan Zlatev Date: Mon, 19 Jun 2023 11:19:17 +0000 Subject: [PATCH] Update README.md --- .../LaaProductionWeb/Controllers/API/Search/README.md | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/LaaProductionWeb/LaaProductionWeb/Controllers/API/Search/README.md b/LaaProductionWeb/LaaProductionWeb/Controllers/API/Search/README.md index 1112ac26..9288d69f 100644 --- a/LaaProductionWeb/LaaProductionWeb/Controllers/API/Search/README.md +++ b/LaaProductionWeb/LaaProductionWeb/Controllers/API/Search/README.md @@ -2,8 +2,11 @@ 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 and password. - 1. Use: **POST: /api/Personalization/Login** - in order to authenticate particular user and obtain an authorization token. +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: + - **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. For {Software} use the assembly name that calls this API. 1. **Authorize: Bearer {token}** - 1. **Wildcard search:** 1. **GET: /api/Search/Wildcard** -