public IHttpActionResult UpCommingBatches(dynamic data) { string value = token_gen.Authorize_aesdecrpty(data); try { //string value = JsonConvert.SerializeObject(data); inputParams rootobj = JsonConvert.DeserializeObject <inputParams>(value); List <Hearders> headers = new List <Hearders>(); return(Ok(YATChel.GetMethod("https://www.apssdc.in/home/api/student/getBatches?appKey=" + rootobj.appKey + "&district=" + rootobj.district, headers))); } catch (Exception ex) { CatchData.Status = 102; CatchData.Reason = YATCHelper.ThirdpartyMessage; return(Ok(CatchData)); } }
public IHttpActionResult GetSkillAppStatus(dynamic data) { string value = token_gen.Authorize_aesdecrpty(data); try { //string value = JsonConvert.SerializeObject(data); inputParams rootobj = JsonConvert.DeserializeObject <inputParams>(value); List <Hearders> headers = new List <Hearders>(); return(Ok(YATChel.GetMethod("https://www.apssdc.in/home/api/mobile/getStatusOfCandidate?userMasterId=" + rootobj.userMasterId + "&batchId=" + rootobj.batchId + "&key=" + rootobj.key, headers))); } catch (Exception ex) { CatchData.Status = 102; CatchData.Reason = YATCHelper.ThirdpartyMessage; return(Ok(CatchData)); } }
public IHttpActionResult SkillDistrics(dynamic data) { string value = token_gen.Authorize_aesdecrpty(data); try { //string value = JsonConvert.SerializeObject(data); inputParams rootobj = JsonConvert.DeserializeObject <inputParams>(value); List <Hearders> headers = new List <Hearders>(); //headers.Add(new Hearders { key = "key", value = rootobj.key }); //headers.Add(new Hearders { key = "ref_id", value = rootobj.ref_id }); return(Ok(YATChel.GetMethod("https://www.apssdc.in/home/dropdownsettings/getdropdowndata?key=" + rootobj.key + "&ref_id=" + rootobj.ref_id, headers))); } catch (Exception ex) { CatchData.Status = 102; CatchData.Reason = YATCHelper.ThirdpartyMessage; return(Ok(CatchData)); } }
public IHttpActionResult UpCommingJobs(dynamic data) { string value = token_gen.Authorize_aesdecrpty(data); try { //string value = JsonConvert.SerializeObject(data); inputParams rootobj = JsonConvert.DeserializeObject <inputParams>(value); List <Hearders> headers = new List <Hearders>(); //headers.Add(new Hearders { key = "key", value = rootobj.key }); //headers.Add(new Hearders { key = "ref_id", value = rootobj.ref_id }); //return Ok(YATChel.GetMethod("https://www.apssdc.in/home/api/mobile/getAllUpcomingJobDetails", headers)); return(Ok(YATChel.GetMethod("https://www.apssdc.in/home/api/mobile/getUpComingJobMela?infoId=1", headers))); } catch (Exception ex) { CatchData.Status = 102; CatchData.Reason = YATCHelper.ThirdpartyMessage; return(Ok(CatchData)); } }