API Focalprice
Enviado: 25 Jun 2014, 09:17
Olá Pessoal...
Gostaria de uma ajuda/orientação! (agradeço desde já pela força)
Obtive junto ao FocalPrice uma API para cadastro automático de produtos em meu site. Eles me informaram o Token, código de acesso...etc. e me enviaram um arquivo ZIP contendo a API.
Arquivos que contém no ZIP da API:

Como proceder com esta instalação? etapa por etapa.
Veja o texto que acompanha o arquivo:
How to use the API
1. Confirm your client process language (eg C#,PHP,or Others), we use the C# (vs2012) in the Demo.
2. Add web References in your project (VS2012), and fill in the API URL
http://link-products.chiangcn.com/APIService.asmx
Then head to the URL and find the service APIService, rename the Namespace Like ServiceReference, and confirm the Dialog box.
2. CALL the API
AuthorizedCategoriesRequest ACRequest = new AuthorizedCategoriesRequest();
ACRequest.ClientId = client;
ACRequest.AccessToken = AccessToken;
var strReqCategory = Utility.SerializeXML(ACRequest);
var str = new ServiceReference1.APIServiceSoapClient().GetAuthorizedCategories(strReqCategory)
Then you can get the str
3. Read FP API Reference.docx for more information.
Gostaria de uma ajuda/orientação! (agradeço desde já pela força)
Obtive junto ao FocalPrice uma API para cadastro automático de produtos em meu site. Eles me informaram o Token, código de acesso...etc. e me enviaram um arquivo ZIP contendo a API.
Arquivos que contém no ZIP da API:

Como proceder com esta instalação? etapa por etapa.
Veja o texto que acompanha o arquivo:
How to use the API
1. Confirm your client process language (eg C#,PHP,or Others), we use the C# (vs2012) in the Demo.
2. Add web References in your project (VS2012), and fill in the API URL
http://link-products.chiangcn.com/APIService.asmx
Then head to the URL and find the service APIService, rename the Namespace Like ServiceReference, and confirm the Dialog box.
2. CALL the API
AuthorizedCategoriesRequest ACRequest = new AuthorizedCategoriesRequest();
ACRequest.ClientId = client;
ACRequest.AccessToken = AccessToken;
var strReqCategory = Utility.SerializeXML(ACRequest);
var str = new ServiceReference1.APIServiceSoapClient().GetAuthorizedCategories(strReqCategory)
Then you can get the str
3. Read FP API Reference.docx for more information.