GET api/v2/lojasync

Request Information

URI Parameters

None.

Body Parameters

None.

Response Information

Resource Description

LojaSyncResult
NameDescriptionTypeAdditional information
Itens

Collection of LojaSyncViewModel

None.

Erro

LojaSyncError

None.

Success

boolean

None.

Response Formats

application/json, text/json

Sample:
{
  "Itens": [
    {
      "Id": 1,
      "Token": "e2d9d6aa-4bc4-47ca-aed0-e726fdb46920",
      "TotalRegistros": 3,
      "TenantId": "2bc3473e-4797-443c-8e88-26753667ca9e",
      "DataCriacao": "2024-11-21T02:36:48.016573+00:00",
      "DataultimaAtualizacao": "2024-11-21T02:36:48.016573+00:00",
      "SyncStatusId": 6
    },
    {
      "Id": 1,
      "Token": "e2d9d6aa-4bc4-47ca-aed0-e726fdb46920",
      "TotalRegistros": 3,
      "TenantId": "2bc3473e-4797-443c-8e88-26753667ca9e",
      "DataCriacao": "2024-11-21T02:36:48.016573+00:00",
      "DataultimaAtualizacao": "2024-11-21T02:36:48.016573+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-21T02:36:48.016573+00:00</DataCriacao>
      <DataultimaAtualizacao>2024-11-21T02:36:48.016573+00:00</DataultimaAtualizacao>
      <Id>1</Id>
      <SyncStatusId>6</SyncStatusId>
      <TenantId>2bc3473e-4797-443c-8e88-26753667ca9e</TenantId>
      <Token>e2d9d6aa-4bc4-47ca-aed0-e726fdb46920</Token>
      <TotalRegistros>3</TotalRegistros>
    </LojaSyncViewModel>
    <LojaSyncViewModel>
      <DataCriacao>2024-11-21T02:36:48.016573+00:00</DataCriacao>
      <DataultimaAtualizacao>2024-11-21T02:36:48.016573+00:00</DataultimaAtualizacao>
      <Id>1</Id>
      <SyncStatusId>6</SyncStatusId>
      <TenantId>2bc3473e-4797-443c-8e88-26753667ca9e</TenantId>
      <Token>e2d9d6aa-4bc4-47ca-aed0-e726fdb46920</Token>
      <TotalRegistros>3</TotalRegistros>
    </LojaSyncViewModel>
  </Itens>
  <Success>true</Success>
</LojaSyncResult>