Update a Job Assistant Time
Query String Parameters
Name | Type | Description | Required |
---|---|---|---|
Action | String | JobUpdateAssistantTime | Required |
JobId | int | The unique identifier of the job, which can be retrieved using any of the methods listed under add something here. | Required |
JobReference | string | The reference of the job that is input as free text. | Required |
ResourceId | int | Identifier for resource. | Required |
Start | DateTime | Start time of job. | Required |
End | DateTime | End time of job. | Required |
Response Codes
Code | Message | Information |
---|---|---|
0 | result | |
2 | Missing parameter - Start | |
2 | Invalid datetime format - Start. | |
2 | Missing parameter - End | |
2 | Invalid datetime format - End | |
2 | Invalid datetime format - Start Date must be before End Date | |
2 | error | |
2 | Missing or Invalid parameter - resourceId | |
2 | $Could not find assistants using values - {string.Join( | |
2 | $Resource with ID {resourceId} is not set as an assistant for job with ID {job.JobId} |
Example
- Request
- Response
Request URL
https://webservice.bigchange.com/v01/services.ashx?action=jobupdateassistanttime
Response Data
{ "Code": 0, "Result": [ { "AssetCheckId": "12345" } ] }