Pulling orders from a Pruvan account
- Get a Pruvan account at Pruvan.com->SignUp
- Setup a Sub-User with a CREW role and assign a few Projects to this Sub-User
- Request assigned orders from a Sub-User in your account using your Sub-User credentials
- In a REST testing tool, you must create a form field named "payload", and
- set the payload variable to a valid SubUser/Password
-
{"username": "YourSubUserName","token": "SubUserNamePassword"}
- Use the method “POST”
- Use the content-type “application/x-wwwform-urlencoded”
- POST to payload variable to https://www.direct.pruvan.com/ps2/getWorkOrders.html
- View results or error message
- See Get Work Order Reference for all available field elements available
- In a REST testing tool, you must create a form field named "payload", and
Available testing tools (not supported by Pruvan).
Using a REST testing tool like "POSTMAN" (https://www.getpostman.com) or the "Advanced Rest Client” (https://code.google.com/p/chrome-rest-client/) send (Post) a properly formatted JSON payload to your pushkey url and examine the postback results and if successful, view the order in your Pruvan Online account.
API Testing Tools
Pruvan also provides a useful web services testing tool that you can test the web service endpoints you need to create to integrate with Pruvan.
You can access it here: https://www.direct.pruvan.com/admin/api-validate. This tool will test your Pruvan integration endpoints by sending validate, getWorkOrders and uploadPicture payloads and testing their response. A Status endpoint is not in the current test harness.

Comments