PRUVAN SUPPORT CENTER

Follow

Quick Start Excercise #1. Pulling Orders

 

Pulling orders from a Pruvan account

 

  1. Get a Pruvan account at Pruvan.com->SignUp
  2. Setup a Sub-User with a CREW role and assign a few Projects to this Sub-User
  3. 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

apiv2getorders.png

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.

See also: https://pruvan.com/clientDocs/std2.pdf

Was this article helpful?
0 out of 0 found this helpful
Have more questions? Submit a request

Comments