Any mock API testing can be done through the below links (Please note, these are programs that we recommend. You may choose to use your own mock API services):
Mocky.io
Mocky would be used for any autoVHC based responses, where autoVHC would obtain the information from the DMS. This would usually follow the Get Service Order By Date method. The methods used are:
- autoVHC Import
- autoVHC Writeback
- Searching Parts in autoVHC
- Searching Labour in autoVHC
- Searching Packages in autoVHC
- Importing Packages to autoVHC
To run a successful mock test, you would need to use the below settings:
Status Code: 200 OK
Content Type: Text/XML UTF-*
Body: This would be either the request or the response (whichever is applicable). For examples of the body that would be required, please see the code examples on each of the integration methods
Postman
Postman is used for any DMS based integrations, usually following the Push Job Method. The methods used are:
To test that your code is correct, please use the following information:
- Request Type: POST
- Request URL: Please see Integration Facade section for the correct environment to point the request at
- Headers: Content-Type should allow the value text/xml;charset=utf-8
Once you have done this, you can add your code to the Body tab. Add the code in to this, and you can then press Send at the top.
If the request has been successful, the body field below your code will show a response saying Successful Import.