Update README.md

This commit is contained in:
Stoyan Zlatev 2024-03-06 13:04:39 +00:00
parent 3662db7faa
commit fb2d5efa3f

View File

@ -1,14 +1,14 @@
**LaaProductionWeb**
---
### 1. **Wildcard search** - find API explanation and usage **[hier](https://slm.sms-esaap.com/la_operations/laa_production/-/tree/main/LaaProductionWeb/LaaProduction.Web/Controllers/API)** otherwise you can use it as web UI **[hier](http://sla12iis01.emea.sensus.net/LaaProductionWeb/Search/Wildcard)**.
#### 1. **Wildcard search** - find API explanation and usage **[hier](https://slm.sms-esaap.com/la_operations/laa_production/-/tree/main/LaaProductionWeb/LaaProduction.Web/Controllers/API)** otherwise you can use it as web UI **[hier](http://sla12iis01.emea.sensus.net/LaaProductionWeb/Search/Wildcard)**.
- The wildcard search UI works with the implemented API explained above, also requires WEB_API_Explorer user role. Once you have access to the web page the usage is as simple as posible. You can select or not a fields that you whant to see in response to the search. By default are all listed fields returned.
![...](/source/images/fields.png "Available fields")
then type your search string, the search is processed against serial numbers, pcb id, eregister or genesis meter addresses. So you can type a hole number or part of it. Depending on the input you can becomm one or more results. For instance below was typed last part of customer specific serial number.
![...](/source/images/results.png "Search results")
### 2. **Cordonel EOL API** - each of the exposed endpoint return the progress model or Dictionary<string, string> written into the response content.
#### 2. **Cordonel EOL API** - each of the exposed endpoint return the progress model or Dictionary<string, string> written into the response content.
- **GET:** /api/Cordonels/EOLProgress/{pcbid} - gets existing progress model by its PcbId or creates one if not exists.
- **DELETE:** /api/Cordonels/EOLProgress/{pcbid} - saves the current progress in backup table and resets existing one.