Get Job Status
This Domain will server for requests to get job details
Get Job Status
POSTRetrieves the job statuses configurations.Within the nested "data" object, each job status is represented by a numeric key (8, 9, 10, etc.), and each key corresponds to an object containing details about a specific job status.
Request Paramters
stringdomain |
Value should be getjobstatus |
Required |
stringaction |
Value should be getjobstatus |
Required |
objectdata |
Empty object | Required |
Sample Request Body
{
domain: "getjobstatus",
action: "getjobstatus",
"data": {}
}
Response Paramters
stringstatus |
This indicate the status of the response. success is the expected value. |
stringmessage |
This explains the reson for status. |
listdata |
This contain result data list conatining objects for each job status. |
stringid |
The ID of the job status. |
stringname |
The name of the job status. |
stringbg_color |
The background color of the job status. |
stringtx_color |
The text color of the job status. |
Sample Response
{
status: "success",
data: {
status: "success",
message: "Job status Read",
data: [
8: {
id: "8",
name: "Ordered",
bg_color: "#75c3ff",
tx_color: "#000000"
},
9: {
id: "9",
name: "Install Booked",
bg_color: "#f78aff",
tx_color: "#000000"
},
]
}
}