GET api/convert/ToBnr/{bnr}
Umwandeln einer beliebig formatierten Betriebsnummer in die numerische bzw. alphanumerische normierte Darstellungsform. Liefert immer HTTP Status 200. Die Schwere zeigt an, ob die Betriebsnummer korrekt ist oder nicht: ist sie kleiner 2, ist so korrekt, sonst fehlerhaft.
Request Information
Parameters
| Name | Description | Additional information |
|---|---|---|
| bnr | beliebige Form der Betriebsnummer |
Define this parameter in the request URI. |
Response Information
Struktur mit numerischer und alphanumerischer Darstellungsform plus Fehlerschwere und Fehlertext
Response body formats
Samples
application/json, text/json
Sample:
{
"Input": "sample string 1",
"AlphaForm": "sample string 2",
"NumForm": 1,
"IstSpeziell": true,
"I2of5check": "sample string 3",
"Schwere": 0,
"Fehlertext": "sample string 4"
}
application/xml, text/xml
Sample:
<ConvertController.ConvertResult xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/HIT3.Controllers.RESTv2"> <AlphaForm>sample string 2</AlphaForm> <Fehlertext>sample string 4</Fehlertext> <I2of5check>sample string 3</I2of5check> <Input>sample string 1</Input> <IstSpeziell>true</IstSpeziell> <NumForm>1</NumForm> <Schwere>Ok</Schwere> </ConvertController.ConvertResult>
