GetSmsDeliveryWithClientId
Receive sent message status with user code
{{:: 'controllers.documentation.chooseFramework' | translate }}
PM > Install-Package
NikSms.Library.Net
PM > Install-Package
NikSms.Library.NetCore
string url = "https://niksms.com/fa/publicapi/getSmsDeliveryWithClientId";
using (var client = new WebClient())
{
var values = new NameValueCollection();
values["username"] = "YourUsername";
values["password"] = "YourPassword";
values["nikSmsId"] = "*********,*********";
var response = client.UploadValues(url, values);
var responseString = Encoding.Default.GetString(response);
NikSmsReceiveStatus[] result = JsonConvert.DeserializeObject<NikSmsReceiveStatus[]>(responseString);
}