Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

  • At least one of rtLensStyle/ltLensStyle and rtLensMaterial/ltLensMaterial must be provided, or else an HTTP 400 code will be returned with an error

    Code Block
    languagejson
    {
      "error": "Incorrect arguments provided",
      "details": [
        "rtLensStyle, ltLensStyle are missing, at least one parameter must be provided",
        "rtLensMaterial, ltLensMaterial are missing, at least one parameter must be provided"
      ]
    }
  • If a crib has been set and the job is not an uncut job (jobType = U) an HTTP 400 code will be returned with an error

    Code Block
    languagejson
    {
      "error": "crib is only valid on uncut jobs",
      "details": [
        "Job Type: F",
        "Frame SW:"
      ]
    }
  • If ellh has been set and the job is not an uncut job (jobType = U) an HTTP 400 code will be returned with an error

    Code Block
    languagejson
    {
      "error": "ellh is only valid on uncut jobs",
      "details": [
        "Job Type: F",
        "Frame SW:"
      ]
    }
  • If the customer number does not exist in Rx-Universe an HTTP 400 code will be returned with an error

    Code Block
    languagejson
    {
      "error": "Customer does not exist",
      "details": [
        "Provided: 9999"
      ]
    }
  • If the Frame Inventory module is in use, required for the order (the order is set to supply frame), and offline an HTTP 500 code will be returned with an error

    Code Block
    languagejson
    {
      "error": "Frame Inventory Module is offline",
      "details": []
    }
  • If the job type is addon and no addons are entered and HTTP 400 code will be returned with an error

    Code Block
    languagejson
    {
      "error": "No addons entered",
      "details": []
    }