Managing Copy Service Orders


Copy service orders can be retrieved and updated through the API using an authentication token for the vendor’s MerusCase user account.

Retrieving Copy Service Orders

Retrieve a list of copy service orders available to API User.

Request

GET copyServiceOrders/index


Retrieve the details of a copy service order by ID. This request will also include an object containing the available record types for reference.

Request

GET copyServiceOrders/view/:copy_service_order_id


Add a new document to MerusCase.

Request

POST uploads/add

Parameters

Name Type Description
data[Upload][submitted_files][] file Required File being uploaded to requestor.
data[Upload][type] integer Required Should be set to 1.
data[Upload][case_file_id] integer Required Case File ID from copy service order.

Attach an uploaded document to a copy service order.

Request

POST copyServiceOrders/edit/:copy_service_order_id

Parameters

Name Type Description
data[CopyServiceOrder][id] integer Required Copy Service Order ID
data[CopyServiceOrder][oauth_app_id] integer Required Your app ID
data[CopyServiceOrder][uploads][] integer Required Upload ID from the above response. Include this parameter once per document being added to the request

Update an existing copy service order’s status once all documents have been added.

Request

POST copyServiceOrders/edit/copy_service_order_id

Parameters

Name Type Description
data[CopyServiceOrder][id] integer Required Copy Service ORder ID
data[CopyServiceOrder][copy_service_order_status_id] integer Required Copy Service Order Status ID