Consulta de Tags – GET

Filtros


Atalhos para busca

Objetivo

A finalidade deste método é possibilitar a consulta de tags (palavras-chaves) no sistema.

Chamada

GET api/v1/sm/tags?NUMBER_COMPANY=
{NUMBER_COMPANY}&_pageNo=
{_pageNo}&_pageSize=
{_pageSize}

Informações para Requisição (Request Information)

Parâmetros URI (URI Parameters)

Nome (Name) Descrição (Description) Tipo (Type) Informações Adicionais (Adittional Information)
number_company Number of Company from the Tag integer Não há.
_pageNo integer Não há.
_pageSize integer Não há.

Parâmetros do Corpo (Body Parameters)

Não há.

Informações para Resposta (Response Information)

Response Codes

  • OK (200)
  • NotFound (404)
  • BadRequest (400)
  • Unauthorized (401)
  • InternalServerError (500)

Descrição do Recurso (Resource Description)

TagResponseDTO – List of Tags

Collection of TagResponseDTO

Nome (Name) Descrição (Description) Tipo (Type) Informações Adicionais (Adittional Information)
seq_tag Indicates the company number integer Não há.
number_company Indicates the company number integer Não há.
size Indicates the size tag integer Não há.
identifier Initial digit integer Não há.
initial_position_product_code Position initial of the product code integer Não há.
final_position_product_code Position final of the product code integer Não há.
initial_position_weight Initial weight position integer Não há.
final_position_weight End weight position integer Não há.
decimal_places_weight Number of decimal places of weight integer Não há.
initial_position_value Initial value position integer Não há.
final_position_value End value position integer Não há.
decimal_places_value Number of decimal places of value integer Não há.
initial_position_expiration_date Initial expiration date position integer Não há.
final_position_expiration_date End expiration date position integer Não há.

Formatos de Resposta (Response Formats)

application/json, text/json

Exemplo (Sample):

[
  {
    "seq_tag": 1,
    "number_company": 2,
    "size": 3,
    "identifier": 1,
    "initial_position_product_code": 1,
    "final_position_product_code": 1,
    "initial_position_weight": 1,
    "final_position_weight": 1,
    "decimal_places_weight": 1,
    "initial_position_value": 1,
    "final_position_value": 1,
    "decimal_places_value": 1,
    "initial_position_expiration_date": 1,
    "final_position_expiration_date": 1
  },
  {
    "seq_tag": 1,
    "number_company": 2,
    "size": 3,
    "identifier": 1,
    "initial_position_product_code": 1,
    "final_position_product_code": 1,
    "initial_position_weight": 1,
    "final_position_weight": 1,
    "decimal_places_weight": 1,
    "initial_position_value": 1,
    "final_position_value": 1,
    "decimal_places_value": 1,
    "initial_position_expiration_date": 1,
    "final_position_expiration_date": 1
  }
]

application/xml, text/xml

Exemplo (Sample):

<ArrayOfTagResponseDTO xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns=
 "http://schemas.datacontract.org/2004/07/Consinco.SM.Api.Entities.Entities.v1.Tag">
  <TagResponseDTO>
    <DECIMAL_PLACES_VALUE>1</DECIMAL_PLACES_VALUE>
    <DECIMAL_PLACES_WEIGHT>1</DECIMAL_PLACES_WEIGHT>
    <FINAL_POSITION_EXPIRATION_DATE>1</FINAL_POSITION_EXPIRATION_DATE>
    <FINAL_POSITION_PRODUCT_CODE>1</FINAL_POSITION_PRODUCT_CODE>
    <FINAL_POSITION_VALUE>1</FINAL_POSITION_VALUE>
    <FINAL_POSITION_WEIGHT>1</FINAL_POSITION_WEIGHT>
    <IDENTIFIER>1</IDENTIFIER>
    <INITIAL_POSITION_EXPIRATION_DATE>1</INITIAL_POSITION_EXPIRATION_DATE>
    <INITIAL_POSITION_PRODUCT_CODE>1</INITIAL_POSITION_PRODUCT_CODE>
    <INITIAL_POSITION_VALUE>1</INITIAL_POSITION_VALUE>
    <INITIAL_POSITION_WEIGHT>1</INITIAL_POSITION_WEIGHT>
    <NUMBER_COMPANY>2</NUMBER_COMPANY>
    <SEQ_TAG>1</SEQ_TAG>
    <SIZE>3</SIZE>
  </TagResponseDTO>
  <TagResponseDTO>
    <DECIMAL_PLACES_VALUE>1</DECIMAL_PLACES_VALUE>
    <DECIMAL_PLACES_WEIGHT>1</DECIMAL_PLACES_WEIGHT>
    <FINAL_POSITION_EXPIRATION_DATE>1</FINAL_POSITION_EXPIRATION_DATE>
    <FINAL_POSITION_PRODUCT_CODE>1</FINAL_POSITION_PRODUCT_CODE>
    <FINAL_POSITION_VALUE>1</FINAL_POSITION_VALUE>
    <FINAL_POSITION_WEIGHT>1</FINAL_POSITION_WEIGHT>
    <IDENTIFIER>1</IDENTIFIER>
    <INITIAL_POSITION_EXPIRATION_DATE>1</INITIAL_POSITION_EXPIRATION_DATE>
    <INITIAL_POSITION_PRODUCT_CODE>1</INITIAL_POSITION_PRODUCT_CODE>
    <INITIAL_POSITION_VALUE>1</INITIAL_POSITION_VALUE>
    <INITIAL_POSITION_WEIGHT>1</INITIAL_POSITION_WEIGHT>
    <NUMBER_COMPANY>2</NUMBER_COMPANY>
    <SEQ_TAG>1</SEQ_TAG>
    <SIZE>3</SIZE>
  </TagResponseDTO>
</ArrayOfTagResponseDTO>
Este artigo foi útil para você?
Sim
Não
Confirmar que o artigo não foi útil