|
|
|
@ -348,7 +348,7 @@ class WorkListApiClient {
|
|
|
|
|
}, url, postParams);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
Future<ITGRequest?> getITGFormDetails(String requestType, int taskId, int itemId, String employeeNumber) async {
|
|
|
|
|
Future<ITGRequest?> getITGFormDetails(String requestType, taskId, itemId, String employeeNumber) async {
|
|
|
|
|
String url = "${ApiConsts.cocRest}ITGGetFormDetials";
|
|
|
|
|
Map<String, dynamic> postParams = {
|
|
|
|
|
"RequestType": requestType,
|
|
|
|
@ -363,7 +363,7 @@ class WorkListApiClient {
|
|
|
|
|
}, url, postParams);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
Future<ITGRequest?> rejectITGRequest(String requestType, int taskId, int itemId, String employeeNumber, String comments) async {
|
|
|
|
|
Future<ITGRequest?> rejectITGRequest(String requestType, taskId, itemId, String employeeNumber, String comments) async {
|
|
|
|
|
String url = "${ApiConsts.cocRest}ITGRejectRequest";
|
|
|
|
|
Map<String, dynamic> postParams = {
|
|
|
|
|
"RequestType": requestType,
|
|
|
|
@ -379,7 +379,7 @@ class WorkListApiClient {
|
|
|
|
|
}, url, postParams);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
Future<ITGRequest?> approveITGRequest(String requestType, int taskId, int itemId, String employeeNumber, String comments) async {
|
|
|
|
|
Future<ITGRequest?> approveITGRequest(String requestType, taskId, itemId, String employeeNumber, String comments) async {
|
|
|
|
|
String url = "${ApiConsts.cocRest}ITGApproveRequest";
|
|
|
|
|
Map<String, dynamic> postParams = {
|
|
|
|
|
"RequestType": requestType,
|
|
|
|
@ -395,7 +395,7 @@ class WorkListApiClient {
|
|
|
|
|
}, url, postParams);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
Future<ITGRequest?> delegateITGRequest(String requestType, int taskId, int itemId, String employeeNumber, String newUserEMPId, String comments) async {
|
|
|
|
|
Future<ITGRequest?> delegateITGRequest(String requestType, taskId, itemId, String employeeNumber, String newUserEMPId, String comments) async {
|
|
|
|
|
String url = "${ApiConsts.cocRest}ITGDelegateRequest";
|
|
|
|
|
Map<String, dynamic> postParams = {
|
|
|
|
|
"RequestType": requestType,
|
|
|
|
@ -414,7 +414,7 @@ class WorkListApiClient {
|
|
|
|
|
|
|
|
|
|
// ANSWER = 'Services/COCWS.svc/REST/ITGAnswer';
|
|
|
|
|
|
|
|
|
|
Future<ITGRequest?> answerITGRequest(String requestType, int taskId, int itemId, String employeeNumber, String newUserEMPId, String comments) async {
|
|
|
|
|
Future<ITGRequest?> answerITGRequest(String requestType, taskId, itemId, String employeeNumber, String newUserEMPId, String comments) async {
|
|
|
|
|
String url = "${ApiConsts.cocRest}ITGAnswer";
|
|
|
|
|
Map<String, dynamic> postParams = {
|
|
|
|
|
"RequestType": requestType,
|
|
|
|
@ -448,7 +448,7 @@ class WorkListApiClient {
|
|
|
|
|
}, url, postParams);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
Future<ITGRequest?> informationITGRequest(String requestType, int taskId, int itemId, String employeeNumber, String newUserEMPId, String comments) async {
|
|
|
|
|
Future<ITGRequest?> informationITGRequest(String requestType, taskId, itemId, String employeeNumber, String newUserEMPId, String comments) async {
|
|
|
|
|
String url = "${ApiConsts.cocRest}ITGRequestInformation";
|
|
|
|
|
Map<String, dynamic> postParams = {
|
|
|
|
|
"RequestType": requestType,
|
|
|
|
|