5.24.2-9-Beta.1 • Published 1 year ago

restomax-metadata v5.24.2-9-Beta.1

Weekly downloads
176
License
ISC
Repository
gitlab
Last release
1 year ago

layout: page title: Restomax API Metadata permalink: /restomax-metadata/

date: 2024-02-09 11:41

restomax-rpcalls

Restomax auto generated help by PublishMetadata Script (text/markdown formatted)
Version: RestoCmd.exe. 5.24.2.9 Dte: 09.02.24 11:00 LastW: 09.02.24 05:00. DB: FB2-RESTO5.94

  • Warning: Please be advised that the information and data contained below is meant for reference purposes only and is subject to change without warning.
  • Copyright and other Intellectual: Property Rights.The whole content of this api is subject to Restomax copyrights and remain the property of Restomax.
    Any reproduction, transfer, alteration or utilization of the website and of the logo of Restomax for a public and/or commercial purpose without prior written consent of Restomax is prohibited.
  • Install a Markdown Viewer
  • Install a Typescript Viewer

restomax api access routes (EndPoints)

  • Restomax Internal Websocket WAMPv1 RPC (original route)
  • Restomax Internal WebServer
    access/security managed by LAN Admim
  • Restomax Jabber VPN EntryPoint
    test using rpnInst.exe rpn:aJabberLogin action params
    test using curl http://fire.restomax.com:8080/action?IID=demo-123456&staff=123456&action=Help
    test using postman :)
  • APIs can be consumed in any language but Restomax advice TypeScript (using npm).
    Most RPC expect json body but some also accept http query params.
    If you provide both, query params are merged into json body.

restomax api CRUD ops (Create/Read/Update/Delete)

  • restomax api ignore Http method (Get/Set/...) may change in future
  • restomax api is mapping Websocket RPC to URL GetXXXs,GetXXX,SetXXX,DelXXX
    example to handle Articles(PLU)
    Resto:GetArticles : Search/Read all Articles
    Resto:GetArticle : Read ONE Article
    Resto:SetArticle : Update ONE Article
    Resto:DelArticle : Delete ONE Article
  • restomax api answer mode can be changed
    by adding to the Body Args Object, the property AnswerMode set to Status | Echo
  • restomax api GetXXX operation can be normal or simplified
    by adding to the Body Args Object, the property simplified true|false.
    in simplified mode, all properties will be returned (coalescing to default value).
  • restomax api SetXXX operation can be partial or full
    by adding to the Body Args Object, the property SetMode set to OnlyModif | Full
    OnlyModif : will update only properties received
    Full : will update all properties. (setting missing props to default).
  • restomax api legacy
    still implement special Del as Set with Object Property SetMode set to Delete

restomax api Select ops

  • all select ops can be filtered using simple {SearchKey:yyy,SearchVal:xxx|regex:xxx} criteria
    where yyy is a fieldname and xxx wanted value
  • example to select some Articles(PLU)
    Resto:GetArticles&{SearchVal:11,SearchKey:Categorie} : Search/Read all Articles in Categorie=11
    Resto:GetArticles : Search/Read all Articles

RPCs List


Ping

  • Descr: Should just anwer {Pong:DateTime}
  • Response content-type: text/json

  • Demo Urls

    Ping


Help


Resto:GetMetaData


Resto:GetRestoDBObjs


Resto:GetRestoDBObj


Resto:GetRptCodes

  • Descr: Return Rpts List
  • Response: All Rpts Codes List. Array of IR5RptCode
  • Response content-type: text/json

  • Demo Urls

    Resto:GetRptCodes


Resto:GetRptList


Resto:GetRptInfo


Resto:GetData


Resto:SetData


Resto:GetEtab


Resto:ClotureSvc


Resto:OpenSvc


Resto:ClotureStaff


Resto:OpenStaff


Resto:ClockOutStaff


Resto:ClockInStaff


Resto:GetEtabParam

  • Descr: Return EtabExtParam
  • Request: {Key:xx}
  • Response: {Key:xx,Value=yyy,Bin=zzz}
  • Response content-type: text/json

  • Demo Urls

    Resto:GetEtabParam&{Key:Test}


Resto:SetEtabParam


Resto:GetImages


Resto:GetImage


Resto:SetImage


Resto:DelImage


Resto:GetStations


Resto:GetStation


Resto:SetStation


Resto:DelStation


Resto:GetDivisions

  • Descr: Return Divisions
  • Response: IR5Divisions
  • Response content-type: text/json

  • Demo Urls

    Resto:GetDivisions


Resto:GetDivision


Resto:SetDivision


Resto:DelDivision


Resto:GetAccueil

  • Descr: Return Restomax Acceuil/Staffs Screen Data
  • Response: IR5Accueil
  • Response content-type: text/json

  • Demo Urls

    Resto:GetAccueil


Resto:GetStaffs


Resto:GetStaff


Resto:SetStaff


Resto:DelStaff


Resto:GetSalles


Resto:GetTblBtns


Resto:GetTblBtn


Resto:SetTblBtn


Resto:DelTblBtn


Resto:GetTables

  • Descr: Return All Tables (True Tables, Doors, ....)
  • Response: Array of IR5Tbl
  • Response content-type: text/json

  • Demo Urls

    Resto:GetTables


Resto:GetTable


Resto:SetTable


Resto:DelTable


Resto:GetMvtTbls

  • Descr: Return MvtTbls
  • Response content-type: text/json

  • Demo Urls

    Resto:GetMvtTbls


Resto:GetCarte

  • Descr: Return Restomax Carte/Pointage Screen Data
  • Response: IR5Carte
  • Response content-type: text/json

  • Demo Urls

    Resto:GetCarte


Resto:SetCarte


Resto:GetCategs


Resto:GetCateg


Resto:SetCateg


Resto:DelCateg


Resto:GetGroups


Resto:GetGroup

  • Descr: Return Selected Article Group
  • Request: need at least one key (GroupNum,ExtRef,...). TR5ArtGroup
  • Response: TR5ArtGroup
  • Response content-type: text/json

  • Demo Urls

    Resto:GetGroup&Group=1


Resto:SetGroup


Resto:DelGroup


Resto:GetTariffColors


Resto:GetTariffColor


Resto:SetTariffColor


Resto:DelTariffColor


Resto:GetSimplifiedArticles


Resto:GetArticles


Resto:GetArticle


Resto:SetArticle


Resto:DelArticle


Resto:GetArticlesStocks


Resto:GetArticleStock


Resto:GetSuppliers


Resto:GetStockDocs


Resto:GetStockDoc


Resto:SetStockDoc


Resto:DelStockDoc


Resto:GetEncaisse


Resto:GetModePays


Resto:GetModePay


Resto:SetModePay


Resto:DelModePay


Resto:GetRoutes


Resto:GetPtrs


Resto:GetPtrLnks


Resto:TicketStatus

  • Descr: Return Get/Set Ticket Status
  • MoreInfos: mark the ticket as Printed if Status:true or AutoRedirected
  • Request: TicketStatus
  • Response: TicketStatus
  • Response content-type: text/json

  • Demo Urls

    Resto:TicketStatus&{TicketId:123,Status:true}


Resto:GetMembers

  • Descr: Search Members. Return Members List. Warning RegEx:Search use SQL RegEx pattern (similar to %blabla%)
  • Request: {FromRow:0,PacketSize:50,SearchVal:zzz|star,SearchKey:MemberFieldName|star}.
  • Response: Return Selected Members. Array of IR5Member
  • Response content-type: text/json

  • Demo Urls

    Resto:GetMembers


Resto:GetMember


Resto:SetMember


Resto:DelMember


Resto:GetMemberPhoto


Resto:SetMemberPhoto


Resto:GetMemberPoints


Resto:SetMemberPoints


Resto:GetResource


Resto:GetUrl


Resto:GetUri


Resto:GetHisto


Resto:GetArchive


Resto:GetView


Resto:GetRpt

  • Descr: Execute One Simple report or a Layout of reports or a A4 report
    • Simple report: see list with Resto:GetRptCodes
    • Layout of reports: Cloture,... or custom layout id
    • A4 report : SummaryView,RentaRpt,DailyView1,DailyView2,MonthlyView,PeriodeCompareView,TariffByArt,TariffsRpt,TariffByCateg, ... or custom layout id
      In Case of A4 report, it return the generated PDF URL
  • Request: Supported Params D1,D2,PLU,...
  • Response content-type: text/json

  • Demo Urls

    Resto:GetRpt&Staff=123456&Rpt=Rpt_012&D1=20190101&D2=20991231


Resto:GetLedger


Resto:GetDashBoard


Resto:GetSvcDashBoard


Resto:GetInvoices


Resto:GetInvDoc


Resto:GetPointage


Resto:SetPointage


Resto:Action

  • Descr: Return Wanted Action. Ex:Action=GetEtab same as GetEtab
  • Response content-type: text/json

  • Demo Urls

    Resto:GetEtab


5.24.2-9-Beta.1

1 year ago

5.22.7-19-Beta.1

3 years ago

5.22.6-24-Beta.1

3 years ago

5.22.6-17-Beta.1

3 years ago

5.22.6-23-Beta.1

3 years ago

5.22.5-13-Beta.1

3 years ago

5.22.4-28-Beta.1

3 years ago

5.22.3-23-Beta.4

3 years ago

5.22.3-21-Beta.4

3 years ago

5.22.1-28-Beta.9

3 years ago

5.22.1-28-Beta.4

3 years ago

5.22.1-28-Beta.3

3 years ago

5.22.1-28-Beta.2

3 years ago

5.22.1-28-Beta.1

3 years ago

5.21.12-6-Beta.9

4 years ago

5.21.7-28-Beta.9

4 years ago

5.21.6-22-Beta.9

4 years ago

5.21.1-29-Beta.9

4 years ago

5.21.1-29-Beta.3

4 years ago

5.21.1-29-Beta.2

4 years ago

5.21.1-29-Beta.1

4 years ago

5.21.1-28-Beta.1

4 years ago

5.20.12-5-Beta.9

5 years ago

5.20.10-9-Beta.9

5 years ago

5.20.9-30-Beta.9

5 years ago

5.20.9-10-Beta.9

5 years ago

5.20.8-7-Beta.9

5 years ago

5.20.6-23-Beta.9

5 years ago

5.20.6-13-Beta.9

5 years ago

5.20.6-10-Beta.9

5 years ago

5.20.6-3-Beta.9

5 years ago

5.20.5-30-Beta.9

5 years ago

5.20.4-28-Beta.9

5 years ago

5.20.4-25-Beta.9

5 years ago

5.20.3-31-Beta.9

5 years ago

5.20.3-20-Beta.9

5 years ago

5.20.3-20-Beta.5

5 years ago

5.20.3-19-Beta.5

5 years ago

5.20.3-19-Beta.4

5 years ago

5.20.3-6-Beta.4

5 years ago

5.20.3-6-Beta.3

5 years ago

5.20.3-5-Beta.3

5 years ago

5.20.1-13-Beta.3

6 years ago

5.20.1-9-Beta.3

6 years ago

5.19.12-5-Beta.3

6 years ago

5.19.11-5-Beta.3

6 years ago

5.19.11-1-Beta.3

6 years ago

5.19.9-5-Beta.12

6 years ago

5.19.8-28-Beta.2

6 years ago

5.19.8-28-Beta.1

6 years ago

5.19.8-21-Beta.9

6 years ago

5.19.7-31-Beta.9

6 years ago

5.19.7-31-Beta.5

6 years ago

5.19.7-30-Beta.5

6 years ago

5.19.7-30-Beta.3

6 years ago

5.19.7-30-Beta.2

6 years ago

5.19.7-11-Beta.4

6 years ago

5.19.7-11-Beta.3

6 years ago

5.19.7-11-Beta.2

6 years ago

5.19.6-20-Beta.2

6 years ago

5.19.6-20-Beta.1

6 years ago

5.19.6-14-Beta.3

6 years ago

5.19.6-14-Beta.2

6 years ago

5.19.6-14-Beta.1

6 years ago

5.19.6-13-Beta.9

6 years ago

5.19.6-13-Beta.8

6 years ago

5.19.6-12-Beta.8

6 years ago

5.19.6-12-Beta.7

6 years ago

5.19.6-12-Beta.5

6 years ago

5.19.6-7-Beta.5

6 years ago

5.19.6-7-Beta.4

6 years ago

5.19.6-6-Beta.4

6 years ago

5.19.6-3-Beta.6

6 years ago

5.19.6-3-Beta.4

6 years ago

5.19.5-29-Beta.5

6 years ago

5.19.5-29-Beta.4

6 years ago

5.19.5-29-Beta.3

6 years ago

5.19.5-29-Beta2

6 years ago

5.19.5-28-Beta2

6 years ago

5.19.5-27-Beta2

6 years ago

5.19.5-20-Beta2

6 years ago

5.19.5-20-Beta

6 years ago

5.19.5-17-Beta

6 years ago

5.19.5-04-Beta

6 years ago

5.19.5-03-Beta

6 years ago

5.19.5-02-Beta

6 years ago

5.19.3-22-Beta.3

6 years ago

5.19.3-22-Beta.2

6 years ago

5.19.3-22-Beta

6 years ago

5.19.3-21-Beta

6 years ago

5.19.2-21-Beta

6 years ago

5.19.2-20-Beta

6 years ago

5.19.2-4-Beta.2

6 years ago

5.19.2-1-Beta5

6 years ago

5.19.2-1-Beta4

6 years ago

5.19.2-1-Beta3

6 years ago

5.19.2-1-Beta2

6 years ago

5.19.2-1-Beta1

6 years ago

5.19.2-1-Beta

6 years ago

5.19.1-31-BetaY

6 years ago

5.19.1-31-Beta

6 years ago

5.19.1-31-Beta7

6 years ago

5.19.1-30-Beta7

6 years ago

5.19.1-28-Beta7

6 years ago

5.19.1-25-Beta7

6 years ago

5.19.1-24-Beta7

6 years ago

5.19.1-23-Beta7

6 years ago

5.19.1-21-Beta

6 years ago

5.19.1-18-Beta7

6 years ago

5.19.1-18-Beta6

6 years ago

5.19.1-18-Beta5

6 years ago

5.19.1-18-Beta4

6 years ago

5.19.1-17-Beta4

7 years ago

5.19.1-17-Beta3

7 years ago

5.19.1-17-Beta2

7 years ago

5.19.1-16-Alpha

7 years ago

5.19.1-16

7 years ago

5.19.1-16-Beta9

7 years ago

5.19.1-16-Beta

7 years ago

5.19.1-14-Beta99

7 years ago

5.19.1-14-Beta9

7 years ago

5.19.1-14-Beta

7 years ago

5.19.1-14-Beta2

7 years ago

5.19.1-11-Beta2

7 years ago

5.19.1-10-Beta2

7 years ago

5.19.1-9-Beta2

7 years ago

5.19.1-7-Beta

7 years ago

5.18.12-21-Beta2

7 years ago

5.18.12-21-Beta

7 years ago

5.18.12-19-Beta

7 years ago

5.18.12-12-Beta

7 years ago

5.18.12-10-Beta

7 years ago

5.18.12-5-Beta.2

7 years ago

5.18.12-5-Beta.1

7 years ago

5.18.12-5-Beta

7 years ago

5.18.12-3-Beta

7 years ago

5.18.11-30-Beta

7 years ago

5.18.11-28-Beta

7 years ago

5.18.11-26-Beta

7 years ago

5.18.11-21-Beta

7 years ago

5.18.11-20-Beta

7 years ago

5.18.11-19-Beta

7 years ago

5.18.11-16-Beta

7 years ago

5.18.11-14-Beta

7 years ago

5.18.11-7-Beta

7 years ago

5.18.11-6-Beta

7 years ago

5.18.10-31-Beta

7 years ago

5.18.10-30-Beta

7 years ago

5.18.10-29-Beta

7 years ago

5.18.10-28-Beta

7 years ago

5.18.10-26-Beta

7 years ago

5.18.10-26b

7 years ago

5.18.11-25

7 years ago

5.18.11-27

7 years ago

5.18.10-27

7 years ago

5.18.10-26

7 years ago

5.18.10-25

7 years ago

518.10.2501

7 years ago