API Citire date din RVX

⌘K
  1. Home
  2. Docs
  3. Instalare si configurare
  4. API Citire date din RVX

API Citire date din RVX

 

Pentru a citi date din RVX utilizati urmatorul REST API:

http://user:pass@server/index.php?rest/action/module/object/filter

  • user= utilizator definit in RVX
  • pass = parola acestui utilizator
  • action = index pentru lista de inregistrari sau view pentru detaliu inregistrare
  • module = modul RVX din care citim
  • object = documentul RVX din care citim
  • filter = idul inregistrarii daca action=view

Exemple de citire date de pe serverul demo RVX:

Lista nomenclatoare

  • URL/index.php?rest/index/catalog/item
  • URL/index.php?rest/index/catalog/item_category
  • URL/index.php?rest/index/catalog/item_subcategory
  • URL/index.php?rest/index/admin/location
  • URL/index.php?rest/index/admin/agent
  • URL/index.php?rest/index/admin/center
  • URL/index.php?rest/index/partner/partner

Lista documente

  • URL/index.php?rest/index/sale/sale_invoice/PartnerCode=X
  • URL/index.php?rest/index/sale/sale_delivery/PartnerCode=X
  • URL/index.php?rest/index/sale/sale_order/PartnerCode=X
  • URL/index.php?rest/index/sale/sale_quote/PartnerCode=X
  • URL/index.php?rest/index/sale/sale_payment/PartnerCode=X

Detaliu document

  • URL/index.php?rest/index/sale/sale_invoice/ID
  • URL/index.php?rest/index/sale/sale_delivery/ID
  • URL/index.php?rest/index/sale/sale_quote/ID
  • URL/index.php?rest/index/sale/sale_invoice/ID

Extrage PDF document

  • URL//index.php?sale/sale_invoice/printer/id/ID/report/2