Work Order Invoice REST API
Resource URL Summary
Retrieve the details of the latest Work Order Invoice for a specific Work Order
GET /seiapi/v3/trans/WorkOrder/${WorkOrderNum}/Invoice
Retrieve a list of all Work Order Invoices for a specific Work Order
GET /seiapi/v3/trans/WorkOrder/${WorkOrderNum}/Invoices
Retrieve the details of a specific Work Order Invoice for a specific Work Order
GET /seiapi/v3/trans/WorkOrder/${WorkOrderNum}/Invoice/${FileName}
API Specific Parameters
Parameter | Description | ||||||
---|---|---|---|---|---|---|---|
${FileName} | Identifies the Invoice file name. File name format is:
| ||||||
| Identifies the Work Order Object. |
HTTP Headers
This API uses the default ServiceMobility HTTP Headers.
API Specifics
Retrieve the details of the latest Work Order Invoice for a specific Work Order
This REST API will return the latest Work Order Invoice for the Work Order with the specified ID. The Work Order with the specified ID must already exist in the system.
URL
GET /seiapi/v3/trans/WorkOrder/${WorkOrderNum}/Invoice
HTTP Request Body
This request does not require a request body.Â
HTTP Response Body
On success, an HTTP response code of 200 will be returned, and the response body will contain the actual invoice PDF as an attachment.
Otherwise, on error, the API returns the standard response object.
Retrieve a list of all Work Order Invoices for a specific Work Order
This REST API will return a list of all valid Work Order Invoices for the Work Order with the specified ID. The Work Order with the specified ID must already exist in the system.
URL
GET /seiapi/v3/trans/WorkOrder/${WorkOrderNum}/Invoices
HTTP Request Body
This request does not require a request body.Â
HTTP Response Body
On success, an HTTP response code of 200 will be returned, and the response body will contain a Work Order Invoices Object.
Otherwise, on error, the API returns the standard response object.
Retrieve the details of a specific Work Order Invoice for a specific Work Order
This REST API will return the Work Order Invoice with the specified file name for the Work Order with the specified ID. Both the Work Order with the specified ID and the Work Order Invoice with the specified file name must already exist in the system.
URL
GET /seiapi/v3/trans/WorkOrder/${WorkOrderNum}/Invoice/${FileName}
HTTP Request Body
This request does not require a request body.Â
HTTP Response Body
On success, an HTTP response code of 200 will be returned, and the response body will contain the actual invoice PDF as an attachment.
Otherwise, on error, the API returns the standard response object.