| Create WorkOrder Attachment | |
| URL | /WorkOrderAttachment |
| Method | POST |
| Body |
{ |
| Response |
HTTP/1.1 200 OK
{ |
| Comments |
|
| Update WorkOrder Attachment | |
| URL | /WorkOrderAttachment/{workOrderAttachmentId} |
| Method | PUT |
| Body |
{ |
| Response |
HTTP/1.1 200 OK
{ |
| Comments |
| Get WorkOrder Attachments | |
| URL | /WorkOrderAttachment/{workOrderId}/{page}/{size} |
| Method | GET |
| Body |
|
| Response |
HTTP/1.1 200 OK
[ |
| Comments |
| Upload WorkOrder Attachment | |
| URL | /WorkOrderAttachment/Stream/{workOrderAttachmentId} |
| Method | PUT |
| Body |
{file content} |
| Response |
HTTP/1.1 200 OK
{ |
| Comments |
|
| Download WorkOrder Attachment | |
| URL | /WorkOrderAttachment/Stream/{workOrderAttachmentId} |
| Method | GET |
| Body |
|
| Response |
HTTP/1.1 200 OK
{file content} |
| Comments |
This downloads a binary stream of data. You will need to save the data to a file with the appropriate filetype in order to open the attachment. |
| Delete WorkOrder Attachment | |
| URL | /WorkOrderAttachment/{workOrderAttachmentId} |
| Method | DELETE |
| Body |
|
| Response |
HTTP/1.1 200 OK
{ |
| Comments |
|