Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 4 Next »

This endpoint allows an external system to post lens breakages against an Rx-Universe Rx order.

Inputs:

order - Rx-Universe order number
right breakage code - the code for the right breakage, up to 7 characters are allowed

right employee code - the 2 character code for the employee reporting the breakage

left breakage code - the code for the left breakage, up to 7 characters are allowed

left employee code - the 2 character code for the employee reporting the breakage

Response:

The response indicates the status of the breakage request.

If the breakage was done, “successful” is returned.

{
  "order-number": "xxxxxxxx",
  "status": "00",
  "message": "Successful"
}

If the submission cannot be processed, the response will indicate the reason why. Possible reasons for not processing are as follows:

status = message

  • 1 = order not found - the specified Rx Order does not exist

  • 2 = order deleted - the specified Rx order has been flagged for deletion

  • 3 = order unvalid - the specified Rx Order has not been validated

  • 4 = order already completed - the specified Rx order has already been completed

  • 5 = order entered is a stock order - the specified Rx order is a stock type order not an Rx order

  • 10 = breakage requires sub-fields - the RxUniverse system requires the use of breakage sub-codes, breakages cannot be carried out with this function.

  • 11 = no breakage entered - no breakage codes have been jsupplied

  • 12 = Right employee with no right breakage - a right employee code is present with no right breakage code

  • 13 = Left employee with no left breakage - a left employee code is present with no left breakage code

  • 20 = no lens right eye - the specified Rx order has no right lens to break

  • 21 = no lens left eye - the specified Rx order has no left lens to break

  • 22 = invalid breakage code right eye - the breakage code for the right eye does not appear in the breakage reason database

  • 23 = invalid breakage code left eye - the breakage code for the left eye does not appear in the breakage reason database

  • 24 = invalid breakage code both eyes - the breakage codes for both eyes do not appear in the breakage reason database

  • No labels