Get a Job Card Url
This service returns the URL to enable viewing of job card.
Query String Parameters
Name | Type | Description | Required |
---|---|---|---|
Action | String | JobCardUrl | Required |
JobId | Int | The unique identifier of the job, which can be retrieved using any of the methods listed under add something here. | Required |
SortBy | Int | Sort through the list of attachments on the job, return the data either by date or by name. If you do not use this parameter, the list will default to sorting by name. 1 = date, 2 = name. | Optional |
Response Codes
Code | Message | Information |
---|---|---|
0 | No results. | |
0 | tempUrl | |
2 | Missing or invalid parameter - JobId | |
2 | Invalid parameter - sortBy |
Example
- Request
- Response
Request URL
https://webservice.bigchange.com/v01/services.ashx?action=jobcardurl
Response Data
{ "Code": 0, "Result": [ { "AssetCheckId": "12345" } ] }