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": "6150857f-7db3-4658-a5b1-fd8fa80cc053",
      "TotalRegistros": 3,
      "TenantId": "a71e46b2-c0b9-44f4-a210-7180be0c8c12",
      "DataCriacao": "2024-12-03T16:39:06.539699+00:00",
      "DataultimaAtualizacao": "2024-12-03T16:39:06.539699+00:00",
      "SyncStatusId": 6
    },
    {
      "Id": 1,
      "Token": "6150857f-7db3-4658-a5b1-fd8fa80cc053",
      "TotalRegistros": 3,
      "TenantId": "a71e46b2-c0b9-44f4-a210-7180be0c8c12",
      "DataCriacao": "2024-12-03T16:39:06.539699+00:00",
      "DataultimaAtualizacao": "2024-12-03T16:39:06.539699+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-12-03T16:39:06.539699+00:00</DataCriacao>
      <DataultimaAtualizacao>2024-12-03T16:39:06.539699+00:00</DataultimaAtualizacao>
      <Id>1</Id>
      <SyncStatusId>6</SyncStatusId>
      <TenantId>a71e46b2-c0b9-44f4-a210-7180be0c8c12</TenantId>
      <Token>6150857f-7db3-4658-a5b1-fd8fa80cc053</Token>
      <TotalRegistros>3</TotalRegistros>
    </LojaSyncViewModel>
    <LojaSyncViewModel>
      <DataCriacao>2024-12-03T16:39:06.539699+00:00</DataCriacao>
      <DataultimaAtualizacao>2024-12-03T16:39:06.539699+00:00</DataultimaAtualizacao>
      <Id>1</Id>
      <SyncStatusId>6</SyncStatusId>
      <TenantId>a71e46b2-c0b9-44f4-a210-7180be0c8c12</TenantId>
      <Token>6150857f-7db3-4658-a5b1-fd8fa80cc053</Token>
      <TotalRegistros>3</TotalRegistros>
    </LojaSyncViewModel>
  </Itens>
  <Success>true</Success>
</LojaSyncResult>