WO Schedule Get |
Functions
Work Order Schedule Ge API is used to find and view existing schedule information on a Work Order
URL-{Root URL}/API/WOSchedule/Get/{API Key}
Parameters
Parameters |
Description |
Required |
Comment |
WoNo |
Work Order Number |
Y |
|
Example Strings
Schedule Get
URL-?WoNo=WONO
JSON
A Successful Get Should result in
{
$id: "1",
Code: 200,
Message: "WorkOrderSchedule details:",
SessionId: null,
IsValidUser: true,
-ResponseObject: [
-{
$id: "2",
DUEDT_UNIQ: "69F6SVHN7L",
WONO: "410 ",
DUE_DTS: "2014-11-07T00:00:00",
QTY: 0,
AUTOSCHEDULE: false
}
]
}
Common Errors
Invalid API Key
If the entered API key is invalid the system will return an "Invalid API Key" Error Message.
{
"$id": "1",
"Code": 403,
"Message": "Invalid API Key.",
"SessionId": null,
"IsValidUser": false,
"ResponseObject": null
}
URL Error
If the entered URL is invalid the system will return a "HTTP Error" message.
{
"$id": "1",
"Message": "No HTTP resource was found that matches the request URI 'http://localhost/api/WOScheduleGet/123456789?Wono=410'.",
"MessageDetail": "No type was found that matches the controller named 'WOScheduleGet'."
}
Schedule Does Not Exist
If the requested schedule information doesn't exist the system will return a "Work Order Schedule does not exist" error message.
{
"$id": "1",
"Code": 403,
"Message": "WorkOrderSchedule does not exists.",
"SessionId": null,
"IsValidUser": true,
"ResponseObject": null
}
|
|
|
|
|
Article ID: 5805 |