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": "b2690927-f15f-439c-af74-320b55602efa", "TotalRegistros": 3, "TenantId": "95ab80f0-fe49-4ee7-b996-ea0f90416928", "DataCriacao": "2024-09-08T00:50:46.8128037+00:00", "DataultimaAtualizacao": "2024-09-08T00:50:46.8128037+00:00", "SyncStatusId": 6 }, { "Id": 1, "Token": "b2690927-f15f-439c-af74-320b55602efa", "TotalRegistros": 3, "TenantId": "95ab80f0-fe49-4ee7-b996-ea0f90416928", "DataCriacao": "2024-09-08T00:50:46.8128037+00:00", "DataultimaAtualizacao": "2024-09-08T00:50:46.8128037+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-09-08T00:50:46.8128037+00:00</DataCriacao> <DataultimaAtualizacao>2024-09-08T00:50:46.8128037+00:00</DataultimaAtualizacao> <Id>1</Id> <SyncStatusId>6</SyncStatusId> <TenantId>95ab80f0-fe49-4ee7-b996-ea0f90416928</TenantId> <Token>b2690927-f15f-439c-af74-320b55602efa</Token> <TotalRegistros>3</TotalRegistros> </LojaSyncViewModel> <LojaSyncViewModel> <DataCriacao>2024-09-08T00:50:46.8128037+00:00</DataCriacao> <DataultimaAtualizacao>2024-09-08T00:50:46.8128037+00:00</DataultimaAtualizacao> <Id>1</Id> <SyncStatusId>6</SyncStatusId> <TenantId>95ab80f0-fe49-4ee7-b996-ea0f90416928</TenantId> <Token>b2690927-f15f-439c-af74-320b55602efa</Token> <TotalRegistros>3</TotalRegistros> </LojaSyncViewModel> </Itens> <Success>true</Success> </LojaSyncResult>