GET api/v2/lojasync
Request Information
URI Parameters
None.
Body Parameters
None.
Response Information
Resource Description
LojaSyncResultName | Description | Type | Additional information |
---|---|---|---|
Itens | Collection of LojaSyncViewModel |
None. |
|
Erro | LojaSyncError |
None. |
|
Success | boolean |
None. |
Response Formats
application/json, text/json
Sample:
{ "Itens": [ { "Id": 1, "Token": "91eca551-ef9c-4bcd-bdad-07cac950904e", "TotalRegistros": 3, "TenantId": "f1fe7e37-f3b7-436f-bea7-4a4fbecba906", "DataCriacao": "2024-11-21T08:49:43.6134865+00:00", "DataultimaAtualizacao": "2024-11-21T08:49:43.6134865+00:00", "SyncStatusId": 6 }, { "Id": 1, "Token": "91eca551-ef9c-4bcd-bdad-07cac950904e", "TotalRegistros": 3, "TenantId": "f1fe7e37-f3b7-436f-bea7-4a4fbecba906", "DataCriacao": "2024-11-21T08:49:43.6134865+00:00", "DataultimaAtualizacao": "2024-11-21T08:49:43.6134865+00:00", "SyncStatusId": 6 } ], "Erro": { "Codigo": 1, "Descricao": "sample string 2" }, "Success": true }
application/xml, text/xml
Sample:
<LojaSyncResult 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> <LojaSyncViewModel> <DataCriacao>2024-11-21T08:49:43.6134865+00:00</DataCriacao> <DataultimaAtualizacao>2024-11-21T08:49:43.6134865+00:00</DataultimaAtualizacao> <Id>1</Id> <SyncStatusId>6</SyncStatusId> <TenantId>f1fe7e37-f3b7-436f-bea7-4a4fbecba906</TenantId> <Token>91eca551-ef9c-4bcd-bdad-07cac950904e</Token> <TotalRegistros>3</TotalRegistros> </LojaSyncViewModel> <LojaSyncViewModel> <DataCriacao>2024-11-21T08:49:43.6134865+00:00</DataCriacao> <DataultimaAtualizacao>2024-11-21T08:49:43.6134865+00:00</DataultimaAtualizacao> <Id>1</Id> <SyncStatusId>6</SyncStatusId> <TenantId>f1fe7e37-f3b7-436f-bea7-4a4fbecba906</TenantId> <Token>91eca551-ef9c-4bcd-bdad-07cac950904e</Token> <TotalRegistros>3</TotalRegistros> </LojaSyncViewModel> </Itens> <Success>true</Success> </LojaSyncResult>