Attachments
Delete a work order attachment
Removes an attachment from the specified work order. Returns the work order ID in the response. Removing an attachment from the work order using this method creates a system note for this work order. <br />This method is available for subscribers and providers. <br />Note: Deleting an attachment from the work order doesn’t remove this attachment from the ServiceChannel database.
delete/workorders/{workOrderId}/attachments/{attachmentId}
Request
- Base URLhttps://sb2api.servicechannel.com/v3
- AuthOAuth 2Authorization codehttps://sb2login.servicechannel.com/oauth/authorizeToken URLhttps://sb2login.servicechannel.com/oauth/token
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Path parameters
workOrderIdinteger required
Unique numeric identifier of the work order.
attachmentIdinteger required
Unique numeric identifier of the attachment to be removed from the work order. <br />To get the attachment ID, use the GET /odata/workorders({workorderId})/attachments.
Response
Attachment is successfully removed from the work order.
Changes
No recorded changes to this operation across all 1 revision of this API.