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
string domain |
Value should be getjobstatus |
Required |
string action |
Value should be getjobstatus |
Required |
object data |
Empty object | Required |
Sample Request Body
{
domain: "getjobstatus",
action: "getjobstatus",
"data": {}
}
Response Paramters
string status |
This indicate the status of the response. success is the expected value. |
string message |
This explains the reson for status. |
list data |
This contain result data list conatining objects for each job status. |
string id |
The ID of the job status. |
string name |
The name of the job status. |
string bg_color |
The background color of the job status. |
string tx_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"
},
]
}
}