JSON API
Get all tickets
Get the tickets registered in the “caisse” db.
Service name : caisse
URL : api/tickets
Method : GET
Auth required : NO
Query Parameters : NO
Content examples:
[
  {
    "id": 42,
    "date": "2019-10-09T17:01:29.408701Z",
    "prix": 424, 
    "client": "33",
    "pointsFidelite": 0,
    "modePaiement": "CASH",
    "articles": [
      {
        "codeProduit": "X1-0",
        "quantity": 2                
      },
      {
        "codeProduit": "X1-9",
        "quantity": 1
      }
    ]
  },
  {
    "id": 38,
    "date": "2019-10-09T18:03:45.408701Z",
    "prix": 7582, 
    "client": "22",
    "pointsFidelite": 18,
    "modePaiement": "CARD",
    "articles": [
      {
        "codeProduit": "X1-4",
        "quantity": 2
      }
    ]
  }
]