Proforme
Restaurare proforma anulata
Restaureaza o proforma anulata anterior. Parametrii se trimit in URL (query string).
Ai primit o eroare la restaurare?
Erorile de autentificare si autorizare sunt comune tuturor endpoint-urilor V1. Pentru email/token, cif, drepturi pe firma sau pe serie, vezi Erori API V1. Mai jos gasesti doar erorile specifice restaurarii.
<details> <summary><strong>Erori la restaurarea proformei</strong></summary> <table> <thead> <tr> <th>Situatie</th> <th>Eroare</th> <th>Sugestie</th> </tr> </thead> <tbody> <tr> <td><code>number</code> lipseste din URL</td> <td><code>Numarul proformei trebuie specificat in url in parametrul 'number'!</code></td> <td>Adauga `number` in query string cu numarul proformei de restaurat, de exemplu `number=0223`.</td> </tr> <tr> <td><code>seriesname</code> lipseste din URL</td> <td><code>Seria proformei trebuie specificata in url in parametrul 'seriesname'!</code></td> <td>Adauga `seriesname` in query string cu seria proformei, de exemplu `seriesname=pro`.</td> </tr> <tr> <td>Proforma de restaurat nu exista</td> <td><code>Proforma cu seria si numarul pro99999999 nu a fost gasita!</code></td> <td>Verifica `seriesname` si `number`. Combinatia serie plus numar trebuie sa existe in cont.</td> </tr> </tbody> </table> </details>put/estimate/restore
Request
- Base URLhttps://ws.smartbill.ro/SBORO/api
- AuthHTTP basic
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Query parameters
cifstring required
seriesnamestring required
numberstring required
Response
Proforma restaurata cu succes. Daca proforma nu era anulata, raspunsul e tot 200 cu un mesaj informativ (restaurarea e idempotenta).
Changes
No recorded changes to this operation across all 6 revisions of this API.