API de gerenciamento de usuários em C Sharp

Gerencie as informações do usuário, saiba o saldo que você tem em sua conta e gerencie seus endereços.

Obter saldo de conta com C Sharp

String afilnet_class="user";
String afilnet_method="getbalance";
String afilnet_user="user";
String afilnet_password="password";

// Create an URL request
WebRequest request = WebRequest.Create("https://www.afilnet.com/api/http/?class="+afilnet_class+"&method="+afilnet_method+"&user="+afilnet_user+"&password="+afilnet_password);
	
// Get the response
WebResponse response = request.GetResponse ();

// Get the stream returned by the server
Stream dataStream = response.GetResponseStream();

// Open the stream
StreamReader reader = new StreamReader (dataStream);

// Read the Response
String result = reader.ReadToEnd ();

// Asign vars
var data = new NameValueCollection();
data["class"] = "user";
data["method"] = "getbalance";
data["user"] = "user";
data["password"] = "password";

// Create Web client 
var wb = new WebClient();

// Execute POST petition
var response = wb.UploadValues("https://www.afilnet.com/api/http/", "POST", data);

// Get response
string responseString = Encoding.UTF8.GetString(response);

// Asign vars
var data = new NameValueCollection();
data["class"] = "user";
data["method"] = "getbalance";

// Create Web client 
var wb = new WebClient { Credentials = new NetworkCredential("user", "password") };

// Execute POST petition
var response = wb.UploadValues("https://www.afilnet.com/api/basic/", "POST", data);

// Get response
string responseString = Encoding.UTF8.GetString(response);
String afilnet_class="user";
String afilnet_method="getbalance";
String afilnet_user="user";
String afilnet_password="password";
	
// Allow SSL/TLS config
System.Net.ServicePointManager.SecurityProtocol = SecurityProtocolType.Tls12;

// We create the webservice instance (Register Web Service first in project)
var service = new WebService.ApplicationServicesPortTypeClient();

// Call to WebService method
String response = service.call(afilnet_user, afilnet_password, afilnet_class, afilnet_method, "{}");
Parâmetro Descrição Mandatório / Opcional
class=user Classe pedida: Classe à qual o pedido é requisitado Mandatório
method=getbalance Método de classe requisitado: Método da classe à qual o pedido é requisitado Mandatório
user Utilizador e email da sua conta Afilnet Mandatório
password Password da sua conta Afilnet Mandatório
Responda:
  • status
  • result (if status=success), aqui receberá os seguintes valores:
    • Não lhe será enviado qualquer valor adicional
  • error (if status=error), aqui receberá o código de erro

Códigos de erro:
Código Descrição
MISSING_USER Utilizador ou email não incluído
MISSING_PASSWORD Password não incluída
MISSING_CLASS Classe não incluída
MISSING_METHOD Método não incluído
MISSING_COMPULSORY_PARAM Parâmetro obrigatório não incluído
INCORRECT_USER_PASSWORD Utilizador ou password incorretos
INCORRECT_CLASS Classe incorreta
INCORRECT_METHOD Método incorreto

Adicione um novo endereço com C Sharp

String afilnet_class="user";
String afilnet_method="getbalance";
String afilnet_user="user";
String afilnet_password="password";
	
// Allow SSL/TLS config
System.Net.ServicePointManager.SecurityProtocol = SecurityProtocolType.Tls12;

// We create the webservice instance (Register Web Service first in project)
var service = new WebService.ApplicationServicesPortTypeClient();

// Call to WebService method
String response = service.call(afilnet_user, afilnet_password, afilnet_class, afilnet_method, "{}");String afilnet_class="user";
String afilnet_method="addaddress";
String afilnet_user="user";
String afilnet_password="password";
String afilnet_namelastname="name+lastname";
String afilnet_iscompany="1";
String afilnet_companyname="mycompany";
String afilnet_documentid="123456789A";
String afilnet_countrycode="us";
String afilnet_cityid="1";
String afilnet_cityname="town";
String afilnet_zipcode="123456";
String afilnet_address="address";

// Create an URL request
WebRequest request = WebRequest.Create("https://www.afilnet.com/api/http/?class="+afilnet_class+"&method="+afilnet_method+"&user="+afilnet_user+"&password="+afilnet_password+"&namelastname="+afilnet_namelastname+"&iscompany="+afilnet_iscompany+"&companyname="+afilnet_companyname+"&documentid="+afilnet_documentid+"&countrycode="+afilnet_countrycode+"&cityid="+afilnet_cityid+"&cityname="+afilnet_cityname+"&zipcode="+afilnet_zipcode+"&address="+afilnet_address);
	
// Get the response
WebResponse response = request.GetResponse ();

// Get the stream returned by the server
Stream dataStream = response.GetResponseStream();

// Open the stream
StreamReader reader = new StreamReader (dataStream);

// Read the Response
String result = reader.ReadToEnd ();

// Asign vars
var data = new NameValueCollection();
data["class"] = "user";
data["method"] = "addaddress";
data["user"] = "user";
data["password"] = "password";
data["namelastname"] = "name+lastname";
data["iscompany"] = "1";
data["companyname"] = "mycompany";
data["documentid"] = "123456789A";
data["countrycode"] = "us";
data["cityid"] = "1";
data["cityname"] = "town";
data["zipcode"] = "123456";
data["address"] = "address";

// Create Web client 
var wb = new WebClient();

// Execute POST petition
var response = wb.UploadValues("https://www.afilnet.com/api/http/", "POST", data);

// Get response
string responseString = Encoding.UTF8.GetString(response);

// Asign vars
var data = new NameValueCollection();
data["class"] = "user";
data["method"] = "addaddress";
data["namelastname"] = "name+lastname";
data["iscompany"] = "1";
data["companyname"] = "mycompany";
data["documentid"] = "123456789A";
data["countrycode"] = "us";
data["cityid"] = "1";
data["cityname"] = "town";
data["zipcode"] = "123456";
data["address"] = "address";

// Create Web client 
var wb = new WebClient { Credentials = new NetworkCredential("user", "password") };

// Execute POST petition
var response = wb.UploadValues("https://www.afilnet.com/api/basic/", "POST", data);

// Get response
string responseString = Encoding.UTF8.GetString(response);
String afilnet_class="user";
String afilnet_method="addaddress";
String afilnet_user="user";
String afilnet_password="password";
String afilnet_namelastname="name+lastname";
String afilnet_iscompany="1";
String afilnet_companyname="mycompany";
String afilnet_documentid="123456789A";
String afilnet_countrycode="us";
String afilnet_cityid="1";
String afilnet_cityname="town";
String afilnet_zipcode="123456";
String afilnet_address="address";
	
// Allow SSL/TLS config
System.Net.ServicePointManager.SecurityProtocol = SecurityProtocolType.Tls12;

// We create the webservice instance (Register Web Service first in project)
var service = new WebService.ApplicationServicesPortTypeClient();

// Call to WebService method
String response = service.call(afilnet_user, afilnet_password, afilnet_class, afilnet_method, "{\"namelastname\":\""+afilnet_namelastname+"\",\"iscompany\":\""+afilnet_iscompany+"\",\"companyname\":\""+afilnet_companyname+"\",\"documentid\":\""+afilnet_documentid+"\",\"countrycode\":\""+afilnet_countrycode+"\",\"cityid\":\""+afilnet_cityid+"\",\"cityname\":\""+afilnet_cityname+"\",\"zipcode\":\""+afilnet_zipcode+"\",\"address\":\""+afilnet_address+"\"}");
Parâmetro Descrição Mandatório / Opcional
class=user Classe pedida: Classe à qual o pedido é requisitado Mandatório
method=addaddress Método de classe requisitado: Método da classe à qual o pedido é requisitado Mandatório
user Utilizador e email da sua conta Afilnet Mandatório
password Password da sua conta Afilnet Mandatório
namelastname Nome e sobrenome da pessoa de contato Mandatório
iscompany (0) Se for pessoa física ou (1) se for uma empresa Mandatório
companyname Nome da empresa (no caso de ser uma empresa) Opcional
documentid Código do documento de identificação da empresa Mandatório
countrycode Código ISO do país no formato ISO-3166-1 ALPHA-2 Mandatório
cityid Identificador de cidade Mandatório
cityname Nome da cidade ou vila a que pertence Mandatório
zipcode Código postal Mandatório
address Endereço físico Mandatório
Responda:
  • status
  • result (if status=success), aqui receberá os seguintes valores:
    • Não lhe será enviado qualquer valor adicional
  • error (if status=error), aqui receberá o código de erro

Códigos de erro:
Código Descrição
MISSING_USER Utilizador ou email não incluído
MISSING_PASSWORD Password não incluída
MISSING_CLASS Classe não incluída
MISSING_METHOD Método não incluído
MISSING_COMPULSORY_PARAM Parâmetro obrigatório não incluído
INCORRECT_USER_PASSWORD Utilizador ou password incorretos
INCORRECT_CLASS Classe incorreta
INCORRECT_METHOD Método incorreto
EMPTY_COUNTRYCODE O código do país está vazio
COUNTRY_NOT_FOUND Não há nenhum país com o código indicado
EMPTY_CITY Você não indicou a cidade
CITY_NOT_FOUND A cidade indicada não existe

Remova um endereço com C Sharp

String afilnet_class="user";
String afilnet_method="addaddress";
String afilnet_user="user";
String afilnet_password="password";
String afilnet_namelastname="name+lastname";
String afilnet_iscompany="1";
String afilnet_companyname="mycompany";
String afilnet_documentid="123456789A";
String afilnet_countrycode="us";
String afilnet_cityid="1";
String afilnet_cityname="town";
String afilnet_zipcode="123456";
String afilnet_address="address";
	
// Allow SSL/TLS config
System.Net.ServicePointManager.SecurityProtocol = SecurityProtocolType.Tls12;

// We create the webservice instance (Register Web Service first in project)
var service = new WebService.ApplicationServicesPortTypeClient();

// Call to WebService method
String response = service.call(afilnet_user, afilnet_password, afilnet_class, afilnet_method, "{\"namelastname\":\""+afilnet_namelastname+"\",\"iscompany\":\""+afilnet_iscompany+"\",\"companyname\":\""+afilnet_companyname+"\",\"documentid\":\""+afilnet_documentid+"\",\"countrycode\":\""+afilnet_countrycode+"\",\"cityid\":\""+afilnet_cityid+"\",\"cityname\":\""+afilnet_cityname+"\",\"zipcode\":\""+afilnet_zipcode+"\",\"address\":\""+afilnet_address+"\"}");String afilnet_class="user";
String afilnet_method="deleteaddress";
String afilnet_user="user";
String afilnet_password="password";
String afilnet_idaddress="1000";

// Create an URL request
WebRequest request = WebRequest.Create("https://www.afilnet.com/api/http/?class="+afilnet_class+"&method="+afilnet_method+"&user="+afilnet_user+"&password="+afilnet_password+"&idaddress="+afilnet_idaddress);
	
// Get the response
WebResponse response = request.GetResponse ();

// Get the stream returned by the server
Stream dataStream = response.GetResponseStream();

// Open the stream
StreamReader reader = new StreamReader (dataStream);

// Read the Response
String result = reader.ReadToEnd ();

// Asign vars
var data = new NameValueCollection();
data["class"] = "user";
data["method"] = "deleteaddress";
data["user"] = "user";
data["password"] = "password";
data["idaddress"] = "1000";

// Create Web client 
var wb = new WebClient();

// Execute POST petition
var response = wb.UploadValues("https://www.afilnet.com/api/http/", "POST", data);

// Get response
string responseString = Encoding.UTF8.GetString(response);

// Asign vars
var data = new NameValueCollection();
data["class"] = "user";
data["method"] = "deleteaddress";
data["idaddress"] = "1000";

// Create Web client 
var wb = new WebClient { Credentials = new NetworkCredential("user", "password") };

// Execute POST petition
var response = wb.UploadValues("https://www.afilnet.com/api/basic/", "POST", data);

// Get response
string responseString = Encoding.UTF8.GetString(response);
String afilnet_class="user";
String afilnet_method="deleteaddress";
String afilnet_user="user";
String afilnet_password="password";
String afilnet_idaddress="1000";
	
// Allow SSL/TLS config
System.Net.ServicePointManager.SecurityProtocol = SecurityProtocolType.Tls12;

// We create the webservice instance (Register Web Service first in project)
var service = new WebService.ApplicationServicesPortTypeClient();

// Call to WebService method
String response = service.call(afilnet_user, afilnet_password, afilnet_class, afilnet_method, "{\"idaddress\":\""+afilnet_idaddress+"\"}");
Parâmetro Descrição Mandatório / Opcional
class=user Classe pedida: Classe à qual o pedido é requisitado Mandatório
method=deleteaddress Método de classe requisitado: Método da classe à qual o pedido é requisitado Mandatório
user Utilizador e email da sua conta Afilnet Mandatório
password Password da sua conta Afilnet Mandatório
idaddress ID do endereço da conta do usuário Mandatório
Responda:
  • status
  • result (if status=success), aqui receberá os seguintes valores:
    • Não lhe será enviado qualquer valor adicional
  • error (if status=error), aqui receberá o código de erro

Códigos de erro:
Código Descrição
MISSING_USER Utilizador ou email não incluído
MISSING_PASSWORD Password não incluída
MISSING_CLASS Classe não incluída
MISSING_METHOD Método não incluído
MISSING_COMPULSORY_PARAM Parâmetro obrigatório não incluído
INCORRECT_USER_PASSWORD Utilizador ou password incorretos
INCORRECT_CLASS Classe incorreta
INCORRECT_METHOD Método incorreto

Obtenha a lista de endereços com C Sharp

String afilnet_class="user";
String afilnet_method="deleteaddress";
String afilnet_user="user";
String afilnet_password="password";
String afilnet_idaddress="1000";
	
// Allow SSL/TLS config
System.Net.ServicePointManager.SecurityProtocol = SecurityProtocolType.Tls12;

// We create the webservice instance (Register Web Service first in project)
var service = new WebService.ApplicationServicesPortTypeClient();

// Call to WebService method
String response = service.call(afilnet_user, afilnet_password, afilnet_class, afilnet_method, "{\"idaddress\":\""+afilnet_idaddress+"\"}");String afilnet_class="user";
String afilnet_method="getaddresses";
String afilnet_user="user";
String afilnet_password="password";

// Create an URL request
WebRequest request = WebRequest.Create("https://www.afilnet.com/api/http/?class="+afilnet_class+"&method="+afilnet_method+"&user="+afilnet_user+"&password="+afilnet_password);
	
// Get the response
WebResponse response = request.GetResponse ();

// Get the stream returned by the server
Stream dataStream = response.GetResponseStream();

// Open the stream
StreamReader reader = new StreamReader (dataStream);

// Read the Response
String result = reader.ReadToEnd ();

// Asign vars
var data = new NameValueCollection();
data["class"] = "user";
data["method"] = "getaddresses";
data["user"] = "user";
data["password"] = "password";

// Create Web client 
var wb = new WebClient();

// Execute POST petition
var response = wb.UploadValues("https://www.afilnet.com/api/http/", "POST", data);

// Get response
string responseString = Encoding.UTF8.GetString(response);

// Asign vars
var data = new NameValueCollection();
data["class"] = "user";
data["method"] = "getaddresses";

// Create Web client 
var wb = new WebClient { Credentials = new NetworkCredential("user", "password") };

// Execute POST petition
var response = wb.UploadValues("https://www.afilnet.com/api/basic/", "POST", data);

// Get response
string responseString = Encoding.UTF8.GetString(response);
String afilnet_class="user";
String afilnet_method="getaddresses";
String afilnet_user="user";
String afilnet_password="password";
	
// Allow SSL/TLS config
System.Net.ServicePointManager.SecurityProtocol = SecurityProtocolType.Tls12;

// We create the webservice instance (Register Web Service first in project)
var service = new WebService.ApplicationServicesPortTypeClient();

// Call to WebService method
String response = service.call(afilnet_user, afilnet_password, afilnet_class, afilnet_method, "{}");
Parâmetro Descrição Mandatório / Opcional
class=user Classe pedida: Classe à qual o pedido é requisitado Mandatório
method=getaddresses Método de classe requisitado: Método da classe à qual o pedido é requisitado Mandatório
user Utilizador e email da sua conta Afilnet Mandatório
password Password da sua conta Afilnet Mandatório
Responda:
  • status
  • result (if status=success), aqui receberá os seguintes valores:
    • list
      • id
      • namelastname
      • iscompany
      • companyname
      • documentid
      • countrycode
      • cityid
      • cityname
      • zipcode
      • address
      • verified
      • addressverified
  • error (if status=error), aqui receberá o código de erro

Códigos de erro:
Código Descrição
MISSING_USER Utilizador ou email não incluído
MISSING_PASSWORD Password não incluída
MISSING_CLASS Classe não incluída
MISSING_METHOD Método não incluído
MISSING_COMPULSORY_PARAM Parâmetro obrigatório não incluído
INCORRECT_USER_PASSWORD Utilizador ou password incorretos
INCORRECT_CLASS Classe incorreta
INCORRECT_METHOD Método incorreto

Obtenha uma lista de canais com C Sharp

String afilnet_class="user";
String afilnet_method="getaddresses";
String afilnet_user="user";
String afilnet_password="password";
	
// Allow SSL/TLS config
System.Net.ServicePointManager.SecurityProtocol = SecurityProtocolType.Tls12;

// We create the webservice instance (Register Web Service first in project)
var service = new WebService.ApplicationServicesPortTypeClient();

// Call to WebService method
String response = service.call(afilnet_user, afilnet_password, afilnet_class, afilnet_method, "{}");String afilnet_class="user";
String afilnet_method="getchannels";
String afilnet_user="user";
String afilnet_password="password";

// Create an URL request
WebRequest request = WebRequest.Create("https://www.afilnet.com/api/http/?class="+afilnet_class+"&method="+afilnet_method+"&user="+afilnet_user+"&password="+afilnet_password);
	
// Get the response
WebResponse response = request.GetResponse ();

// Get the stream returned by the server
Stream dataStream = response.GetResponseStream();

// Open the stream
StreamReader reader = new StreamReader (dataStream);

// Read the Response
String result = reader.ReadToEnd ();

// Asign vars
var data = new NameValueCollection();
data["class"] = "user";
data["method"] = "getchannels";
data["user"] = "user";
data["password"] = "password";

// Create Web client 
var wb = new WebClient();

// Execute POST petition
var response = wb.UploadValues("https://www.afilnet.com/api/http/", "POST", data);

// Get response
string responseString = Encoding.UTF8.GetString(response);

// Asign vars
var data = new NameValueCollection();
data["class"] = "user";
data["method"] = "getchannels";

// Create Web client 
var wb = new WebClient { Credentials = new NetworkCredential("user", "password") };

// Execute POST petition
var response = wb.UploadValues("https://www.afilnet.com/api/basic/", "POST", data);

// Get response
string responseString = Encoding.UTF8.GetString(response);
String afilnet_class="user";
String afilnet_method="getchannels";
String afilnet_user="user";
String afilnet_password="password";
	
// Allow SSL/TLS config
System.Net.ServicePointManager.SecurityProtocol = SecurityProtocolType.Tls12;

// We create the webservice instance (Register Web Service first in project)
var service = new WebService.ApplicationServicesPortTypeClient();

// Call to WebService method
String response = service.call(afilnet_user, afilnet_password, afilnet_class, afilnet_method, "{}");
Parâmetro Descrição Mandatório / Opcional
class=user Classe pedida: Classe à qual o pedido é requisitado Mandatório
method=getchannels Método de classe requisitado: Método da classe à qual o pedido é requisitado Mandatório
user Utilizador e email da sua conta Afilnet Mandatório
password Password da sua conta Afilnet Mandatório
Responda:
  • status
  • result (if status=success), aqui receberá os seguintes valores:
    • list
      • channeltype
      • channelname
      • active
  • error (if status=error), aqui receberá o código de erro

Códigos de erro:
Código Descrição
MISSING_USER Utilizador ou email não incluído
MISSING_PASSWORD Password não incluída
MISSING_CLASS Classe não incluída
MISSING_METHOD Método não incluído
MISSING_COMPULSORY_PARAM Parâmetro obrigatório não incluído
INCORRECT_USER_PASSWORD Utilizador ou password incorretos
INCORRECT_CLASS Classe incorreta
INCORRECT_METHOD Método incorreto

Modifique o status de um canal com C Sharp

String afilnet_class="user";
String afilnet_method="getchannels";
String afilnet_user="user";
String afilnet_password="password";
	
// Allow SSL/TLS config
System.Net.ServicePointManager.SecurityProtocol = SecurityProtocolType.Tls12;

// We create the webservice instance (Register Web Service first in project)
var service = new WebService.ApplicationServicesPortTypeClient();

// Call to WebService method
String response = service.call(afilnet_user, afilnet_password, afilnet_class, afilnet_method, "{}");String afilnet_class="user";
String afilnet_method="modifychannel";
String afilnet_user="user";
String afilnet_password="password";
String afilnet_channelname="sms";
String afilnet_active="1";

// Create an URL request
WebRequest request = WebRequest.Create("https://www.afilnet.com/api/http/?class="+afilnet_class+"&method="+afilnet_method+"&user="+afilnet_user+"&password="+afilnet_password+"&channelname="+afilnet_channelname+"&active="+afilnet_active);
	
// Get the response
WebResponse response = request.GetResponse ();

// Get the stream returned by the server
Stream dataStream = response.GetResponseStream();

// Open the stream
StreamReader reader = new StreamReader (dataStream);

// Read the Response
String result = reader.ReadToEnd ();

// Asign vars
var data = new NameValueCollection();
data["class"] = "user";
data["method"] = "modifychannel";
data["user"] = "user";
data["password"] = "password";
data["channelname"] = "sms";
data["active"] = "1";

// Create Web client 
var wb = new WebClient();

// Execute POST petition
var response = wb.UploadValues("https://www.afilnet.com/api/http/", "POST", data);

// Get response
string responseString = Encoding.UTF8.GetString(response);

// Asign vars
var data = new NameValueCollection();
data["class"] = "user";
data["method"] = "modifychannel";
data["channelname"] = "sms";
data["active"] = "1";

// Create Web client 
var wb = new WebClient { Credentials = new NetworkCredential("user", "password") };

// Execute POST petition
var response = wb.UploadValues("https://www.afilnet.com/api/basic/", "POST", data);

// Get response
string responseString = Encoding.UTF8.GetString(response);
String afilnet_class="user";
String afilnet_method="modifychannel";
String afilnet_user="user";
String afilnet_password="password";
String afilnet_channelname="sms";
String afilnet_active="1";
	
// Allow SSL/TLS config
System.Net.ServicePointManager.SecurityProtocol = SecurityProtocolType.Tls12;

// We create the webservice instance (Register Web Service first in project)
var service = new WebService.ApplicationServicesPortTypeClient();

// Call to WebService method
String response = service.call(afilnet_user, afilnet_password, afilnet_class, afilnet_method, "{\"channelname\":\""+afilnet_channelname+"\",\"active\":\""+afilnet_active+"\"}");
Parâmetro Descrição Mandatório / Opcional
class=user Classe pedida: Classe à qual o pedido é requisitado Mandatório
method=modifychannel Método de classe requisitado: Método da classe à qual o pedido é requisitado Mandatório
user Utilizador e email da sua conta Afilnet Mandatório
password Password da sua conta Afilnet Mandatório
channelname Nome do canal Mandatório
active (1) Habilitar ou (0) Desabilitar Mandatório
Responda:
  • status
  • result (if status=success), aqui receberá os seguintes valores:
    • Não lhe será enviado qualquer valor adicional
  • error (if status=error), aqui receberá o código de erro

Códigos de erro:
Código Descrição
MISSING_USER Utilizador ou email não incluído
MISSING_PASSWORD Password não incluída
MISSING_CLASS Classe não incluída
MISSING_METHOD Método não incluído
MISSING_COMPULSORY_PARAM Parâmetro obrigatório não incluído
INCORRECT_USER_PASSWORD Utilizador ou password incorretos
INCORRECT_CLASS Classe incorreta
INCORRECT_METHOD Método incorreto

Retorna o status de entrega do SMS certificado com PHP Retorna o status de entrega do SMS certificado com Java Retorna o status de entrega do SMS certificado com C Sharp Retorna o status de entrega do SMS certificado com Unix Retorna o status de entrega do SMS certificado com Ruby on rails Retorna o status de entrega do SMS certificado com Python Retorna o status de entrega do SMS certificado com Android Retorna o status de entrega do SMS certificado com Objective C / iPhone Retorna o status de entrega do SMS certificado com SQL Server Retorna o status de entrega do SMS certificado com Oracle Retorna o status de entrega do SMS certificado com Node JS Retorna o status de entrega do SMS certificado com Go lang Retorna o status de entrega do SMS certificado com Scala lang Retorna o status de entrega do SMS certificado com Swift Retorna o status de entrega do SMS certificado com Delphi

A Afilnet oferece-lhe métodos para melhorar a segurança ao utilizar a nossa API com C Sharp, graças à possibilidade de criar acessos e à possibilidade de ativar a filtragem por IP.

Qual API para C Sharp devo usar?

Descubra as vantagens e desvantagens de cada uma das nossas APIs. Descubra qual API é melhor para o seu Software em C Sharp.

Essa API permite que você se conecte a nós de C Sharp para enviar solicitações por meio de solicitações HTTP GET. Essa solicitação envia os parâmetros na mesma URL da solicitação.

  • HTTP GET é extremamente simples de implementar
  • As informações são enviadas sem criptografia (as senhas podem ser extraídas de logs ou cache)
  • Solicitação máxima de aproximadamente 4.000 caracteres

A API de solicitação POST permite que você se conecte à nossa API de C Sharp enviando parâmetros de solicitação por meio de parâmetros HTTP POST. As informações são enviadas independentemente da URL.

  • HTTP POST é simples de implementar
  • As informações são enviadas criptografadas
  • Não há limite para o tamanho da solicitação
  • Segurança média

A API de autenticação básica permite o uso de solicitações GET e POST em C Sharp com uma camada de segurança adicional, pois neste caso o nome de usuário e a senha são enviados no cabeçalho da solicitação.

  • A autenticação básica é fácil de implementar
  • Os dados de acesso são enviados criptografados
  • O limite de tamanho depende do uso de GET ou POST
  • Segurança média

SOAP permite enviar solicitações em formato XML com C Sharp, SOAP adiciona uma camada extra de segurança às solicitações de API.

  • A integração SOAP é mais complexa
  • As informações são enviadas criptografadas
  • Não há limite para o tamanho da solicitação
  • Segurança média/alta

Nossa API JSON permite enviar solicitações em formato JSON com C Sharp, além disso, essa API adiciona o protocolo oAuth 2.0 na autenticação que permite adicionar uma camada adicional de segurança.

  • A integração JSON oAuth 2.0 é mais complexa
  • As informações são enviadas criptografadas
  • Não há limite para o tamanho da solicitação
  • Alta seguranca

Conecte C Sharp com nossa API Utilizador

01

Registre-se como um cliente

Para ter acesso à API você deve ser um cliente Afilnet. O registro levará alguns minutos.

02

Solicite sua avaliação gratuita

Nossa empresa lhe oferecerá um balancete que lhe permitirá testar com a API que você precisa.

03

Integrar a API

Realize a integração da API usando a linguagem de programação de sua escolha. Se você tiver dúvidas ou sugestões sobre a API, entre em contato conosco

04

Bem vindo ao Afilnet!

Tudo pronto!, conseguiu melhorar as suas comunicações com a Afilnet. Estamos aqui para dar suporte à nossa API quando você precisar


Em caso de dúvidas, entre em contato com nossa equipe através dos meios de contato que oferecemos. Nossa equipe tentará lhe oferecer uma solução imediata e lhe ajudará na integração de nossa API em seu Software.

Experimente o Afilnet de graça!

Cadastre-se gratuitamente e experimente Afilnet! Oferecemos a você uma avaliação gratuita de nossos serviços. *



(*) Promoção válida apenas para empresas que nunca utilizaram o serviço Afilnet. Ao solicitar o saldo gratuito, a Afilnet pode solicitar a verificação das informações da sua empresa


SMS em massa · Email marketing · Rede social · Mensagem instantânea · Certificação · e muito mais
Continuar INFORMAÇÃO IMPORTANTE SOBRE COOKIES: Se continuar a utilizar este website iremos assumir que aceita os termos de uso. Encontrará mais informação em Política de Cookies.
Métodos de Pagamento
Transferência bancária
Cartão de crédito
Paypal
Western Union
Skrill
Crypto
Afilnet no seu idioma

Copyright © 2024 Afilnet · Todos os direitos reservados