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": "8b6617da-1945-4824-b9ea-86af13158877",
      "TotalRegistros": 3,
      "TenantId": "c9c18132-123b-43c3-bc98-8796dd92add7",
      "DataCriacao": "2024-11-21T09:30:15.4264911+00:00",
      "DataultimaAtualizacao": "2024-11-21T09:30:15.4264911+00:00",
      "SyncStatusId": 6
    },
    {
      "Id": 1,
      "Token": "8b6617da-1945-4824-b9ea-86af13158877",
      "TotalRegistros": 3,
      "TenantId": "c9c18132-123b-43c3-bc98-8796dd92add7",
      "DataCriacao": "2024-11-21T09:30:15.4264911+00:00",
      "DataultimaAtualizacao": "2024-11-21T09:30:15.4264911+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-21T09:30:15.4264911+00:00</DataCriacao>
      <DataultimaAtualizacao>2024-11-21T09:30:15.4264911+00:00</DataultimaAtualizacao>
      <Id>1</Id>
      <SyncStatusId>6</SyncStatusId>
      <TenantId>c9c18132-123b-43c3-bc98-8796dd92add7</TenantId>
      <Token>8b6617da-1945-4824-b9ea-86af13158877</Token>
      <TotalRegistros>3</TotalRegistros>
    </LojaSyncViewModel>
    <LojaSyncViewModel>
      <DataCriacao>2024-11-21T09:30:15.4264911+00:00</DataCriacao>
      <DataultimaAtualizacao>2024-11-21T09:30:15.4264911+00:00</DataultimaAtualizacao>
      <Id>1</Id>
      <SyncStatusId>6</SyncStatusId>
      <TenantId>c9c18132-123b-43c3-bc98-8796dd92add7</TenantId>
      <Token>8b6617da-1945-4824-b9ea-86af13158877</Token>
      <TotalRegistros>3</TotalRegistros>
    </LojaSyncViewModel>
  </Itens>
  <Success>true</Success>
</LojaSyncResult>