Gestiuni
Listare gestiuni
Changed onReturneaza toate gestiunile si depozitele din nomenclatorul tau SmartBill.
Filtrare
name potriveste oriunde in nume, nu doar la inceput: ?name=pozit gaseste si Depozit Central, si Depozit Secundar. Un filtru trimis gol (?name=) e ignorat, deci primesti lista nefiltrata.
get/v3/companies/{cif}/warehouses
Request
- Base URLhttps://ws.smartbill.ro/SBORO/api
- AuthHTTP bearer
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Path parameters
cifstring required
CIF-ul firmei tale, fara spatii.
Query parameters
namestring
Filtreaza dupa nume (potrivire partiala, case-insensitive)
limitinteger
Numar maxim de rezultate returnate (intre 1 si 100)
afterstring
Cursor pentru pagina urmatoare, id-ul gestiunii dupa care se continua. Nu se foloseste impreuna cu 'before'.
beforestring
Cursor pentru pagina anterioara, id-ul gestiunii inainte de care se continua. Nu se foloseste impreuna cu 'after'.
Response
Lista gestiuni paginata (paginare cursor)
Example response
{
"items": [
{
"id": "ware_019f17cddf1272f2a7405cb6c7f30d15",
"name": "Depozit Exemplu",
"description": "Gestiune de exemplu",
"type": "en gros",
"keeper": "Popescu Ion",
"address": "Str. Depozitelor 10",
"city": "Berlin",
"county": "Bucuresti",
"country": "DE"
}
]
}Changes
- info
added the non-success response with the status
- info