Add a Job Tag to a Job
Query String Parameters
Name | Type | Description | Required |
---|---|---|---|
Action | String | SetJobTag | Required |
JobId | Int | The unique identifier of the job, which can be retrieved using any of the methods listed under add something here. | Required |
TagId | Int | Unique Id of the tag to apply. | Required |
Comment | String | Free text comment on the tag. | Optional |
UseJWOwner | Int | Set to 1 to set the user. | Optional |
JWOwnerId | Int | Unique user Id to use when UseJWOwner is set to 1. | Optional |
Notifications | Bool | Set to true to send update to devices. | Optional |
Response Codes
Code | Message | Information |
---|---|---|
0 | null | |
2 | Missing or invalid parameters for jobId or tagid | |
2 | The job id does not exist in JobWatch. | |
2 | The tag id does not exist in JobWatch. | |
2 | ex.Message.ToString( |
Example
- Request
- Response
Request URL
https://webservice.bigchange.com/v01/services.ashx?action=SetJobTag&JobId=12345678&TagId=12345&Comment=Delivered
Response Data
{ "Code": 0 }