Delete a Lab Test Report

Delete a specific lab test report by executing the deleteLabTestReport mutation.

Required Argument

Argument Name
Type
Description
id
ID
Unique lab test report Id. Use the labTestReports query to get the list of all lab test reports.
memberId
ID
Unique member id. Use the members query to list the information of a all available members.

Available fields

The following fields will be displayed in the response:
Field Name
Type
Description
success
Boolean
True if the lab test report has been deleted successfully. Otherwise, Flase
message
String
Description of the result

Example

Request
Response
mutation {
deleteLabTestReport(
id: "TGFiVGVzdFJlcG9ydDo3Nw=="
memberId: "TGFiVGVzdFJlcG9ydDo3Nw=="
) {
success
message
}
}
{
"data": {
"deleteLabTestReport": {
"success": true,
"message": "Lab Test Report deleted"
}
}