public void UZ_SMS_GetUZ_DOC_Of_NumDoc() { UZ_SMS sms = new UZ_SMS(); sms.Connection(); List <UZ_DOC> list = sms.GetUZ_DOC_Of_NumDoc("74089598"); }
public void UZ_SMS_GetOTPR() { UZ_SMS sms = new UZ_SMS(); sms.Connection(); OTPR otpr = sms.GetOTPR("70358690"); //OTPR otpr1 = sms.GetOTPR("43000000000518178624"); //OTPR otpr2 = sms.GetOTPR("43000000000518166808"); }
public IHttpActionResult GetUZ_DOC_Of_Num(string num_doc) { try { UZ_SMS sms = new UZ_SMS(service.WebAPI_UZ); bool res_con = sms.Connection(); if (res_con) { List <UZ_DOC> list = sms.GetUZ_DOC_Of_NumDoc(num_doc); return(Ok(list)); } else { return(BadRequest("Ошибка подключения к модулю согласования")); } } catch (Exception e) { return(BadRequest(e.Message)); } }