Intervia-PoC
    Intervia-PoC
    • Intervia PoC
    • Issue new ticket
      POST
    • Activate ticket
      POST
    • Inspect ticket
      POST
    • Schemas
      • IssueTicket request
      • Activate/Inspect request
      • Response

      Inspect ticket

      POST
      /inspectTicket

      Request

      Authorization
      API Key
      Add parameter in header
      Authorization
      Example:
      Authorization: ********************
      or
      Body Params application/jsonRequired

      Example
      {
          "customerAddress": "0x1dDF0209F4540E541B5AC0cB37b67DD8BDb667Da",
          "ticketId": "0xD60aBE9CBFA3d4da9E54dDb73C4badFE53B187Cd39f9f3EF3b5f8F89dCC7C47c",
          "currentStationId": "S4"
      }

      Responses

      🟢200OK
      application/json
      Body

      Example
      {
          "success": true,
          "message": "Ticket inspected and valid. Remaining time:: 45 min.",
          "data": {
              "service": "L5R"
          }
      }
      🟠401Unauthorized
      🟠403Forbidden
      🟠409Conflict
      🟠410Gone
      🔴500Internal Server Error
      🔴503Service Unavailable
      Previous
      Activate ticket
      Next
      IssueTicket request
      Built with