Add Attachments to a Job
BigChange provides services to upload job attachments.
The service will accept single or multiple file uploads which will then be attached to the job. This service does not update visibility types of existing attachments.
Query String Parameters
Name | Type | Description | Required |
---|---|---|---|
Action | String | JobAddAttachments | Required |
JobId | String | The unique identifier of the job, which can be retrieved using any of the methods listed under add something here. | Required |
Files | Form-Data | Binary data of the file(s) to be attached to the job. | Required |
AddToJobGroup | Bool | Add the attachments(s) to the Job Group. | Optional |
VisibilityTypes | CSV List | Valid Visibility types are
For example if you want to set visibility to WebUser and Resource the value "WebUser,Resource" Note : Visibility types are case sensitive and visibility types are not updated by this call. | Required |
Response Codes
Code | Message | Information |
---|---|---|
0 | null | |
2 | Missing parameter - jobId | |
2 | Invalid parameter - jobId | |
2 | No job found with jobId : + jobId.ToString( | |
2 | No job group Id found with jobId : + jobId.ToString( | |
2 | ex.Message |
Example
- Request
- Response
Request URL
https://webservice.bigchange.com/v01/services.ashx?action=jobaddattachments
Response Data
{ "Code": 0, "Result": [ { "AssetCheckId": "12345" } ] }