Model for Get Auth Token
Note - Gert Auth Token is Post Method for libraries, But incase you are using Decrypted URL then it is Get Method
Responce Auth Token
|
public class RespAuthPl
{
public int Status { get; set; }
public AuthSuccessRespPl Data { get; set; }
public List<RespErrDetailsPl> ErrorDetails { get; set; }
public List<RespInfoDtlsPl> InfoDtls { get; set; }
}
public class AuthSuccessRespPl
{
public string ClientId { get; set; }
public string UserName { get; set; }
public string AuthToken { get; set; }
public string Sek { get; set; }
public string TokenExpiry { get; set; }
}
public class RespErrDetailsPl
{
public string ErrorCode { get; set; }
public string ErrorMessage { get; set; }
}
public class RespInfoDtlsPl
{
public string InfCd { get; set; }
public object Desc { get; set; }
}
|
public class DupIrnPl
{
public string AckNo { get; set; }
public string AckDt { get; set; }
public string Irn { get; set; }
}
public class EwbErrPl
{
public string ErrorCode { get; set; }
public string ErrorMessage { get; set; }
}
|