POST api/v2/lojasync/sync
Request Information
URI Parameters
None.
Body Parameters
Collection of LojaSyncBindingModelName | Description | Type | Additional information |
---|---|---|---|
Token | globally unique identifier |
Required |
|
QuantidadeRegistros | integer |
Required |
Request Formats
application/json, text/json
Sample:
[ { "Token": "ce61a554-0c92-4832-8493-4a01ba18eab4", "QuantidadeRegistros": 2 }, { "Token": "ce61a554-0c92-4832-8493-4a01ba18eab4", "QuantidadeRegistros": 2 } ]
application/xml, text/xml
Sample:
<ArrayOfLojaSyncBindingModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/FormulaCertaAPI.Models.v2.BindingModels"> <LojaSyncBindingModel> <QuantidadeRegistros>2</QuantidadeRegistros> <Token>ce61a554-0c92-4832-8493-4a01ba18eab4</Token> </LojaSyncBindingModel> <LojaSyncBindingModel> <QuantidadeRegistros>2</QuantidadeRegistros> <Token>ce61a554-0c92-4832-8493-4a01ba18eab4</Token> </LojaSyncBindingModel> </ArrayOfLojaSyncBindingModel>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
LojaSync_SyncResultName | Description | Type | Additional information |
---|---|---|---|
Erro | LojaSyncError |
None. |
|
Success | boolean |
None. |
|
Itens | Collection of LojaSync_SyncResultItem |
None. |
Response Formats
application/json, text/json
Sample:
{ "Erro": { "Codigo": 1, "Descricao": "sample string 2" }, "Success": true, "Itens": [ { "Index": 1, "Token": "35ef9363-5eec-4f0c-b2f0-ac1e90626c56", "Itens": null }, { "Index": 1, "Token": "35ef9363-5eec-4f0c-b2f0-ac1e90626c56", "Itens": null } ] }
application/xml, text/xml
Sample:
<LojaSync_SyncResult xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/FormulaCertaAPI.Models.v2.Result"> <Erro> <Codigo>1</Codigo> <Descricao>sample string 2</Descricao> </Erro> <Itens> <LojaSync_SyncResultItem> <Index>1</Index> <Itens xmlns:d4p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays" i:nil="true" /> <Token>35ef9363-5eec-4f0c-b2f0-ac1e90626c56</Token> </LojaSync_SyncResultItem> <LojaSync_SyncResultItem> <Index>1</Index> <Itens xmlns:d4p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays" i:nil="true" /> <Token>35ef9363-5eec-4f0c-b2f0-ac1e90626c56</Token> </LojaSync_SyncResultItem> </Itens> <Success>true</Success> </LojaSync_SyncResult>