Árvore de páginas

Objetivo

Método que disponibiliza informações de Operadores de PDV cadastrados.

Chamada

GET api/v1/sm/tickets/cash-operator?
COMPANY_REG_NUMBER=
{COMPANY_REG_NUMBER}&OPERATOR_NAME=
{OPERATOR_NAME}&OPERATOR_REG_NUMBER=
{OPERATOR_REG_NUMBER}&LAST_UPDATE_DATE_TIME=
{LAST_UPDATE_DATE_TIME}&_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)
company_reg_numberCompany Register Number – (CNPJ) Brazilian Registry of Corporate Taxpayers Format: 00.000.000/0001-00 or 00000000000000 – RequiredstringRequired
operator_nameOperator Name – OptionalstringString length: inclusive between 0 and 100
operator_reg_numberOperator Register Number – (CPF) – Optional Individual Taxpayers Format: 000.000.000-00 or 00000000000 –stringNone.
last_update_date_timeUpdate Date – Format: dd/mm/aaaa hh:mm ou ddmmaaaa hhmm – (Optional)stringNone.
_pageNo
integerNone.
_pageSize
integerNone.

Parâmetros do Corpo (Body Parameters)

Não há.

Informações para Resposta (Response Information)

Códigos do Recurso (Response Codes)

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

Descrição do Recurso (Resource Description)

CashOperatorsResponseDTO – List of Cashiers

Collection of CashOperatorsResponseDTO

Nome (Name)Descrição (Description)Tipo (Type)Informações Adicionais (Adittional Information)
birth_dateOperator’s Birth DatedateNone.
company_numberCompany NumberintegerNone.
company_reg_numberCompany Register Number (CNPJ) – Brazilian Registry of Corporate TaxpayersstringNone.
function_codeOperator’s Function Code Acronym: I = Computing, G = Manager, O = Operator, S = Supervisor, V = SalesmanstringNone.
function_descriptionDescription of the Operator’s FunctionstringNone.
genderGender – Acronym: M – Male, F – FemalestringNone.
date_includeDate of InclusiondateNone.
operator_nameOperator’s NamestringNone.
reg_number_operatorOperator Register Number (CPF) – Individual TaxpayersstringNone.
operator_sequenceOperator’s SequenceintegerNone.
statusOperator’s StatusstringNone.
date_updateLast Update DatedateNone.
user_codeUser’s CodestringNone.

Formatos de Resposta (Response Formats)

application/json, text/json

Exemplo (Sample):

[
  {
    "birth_date": "2020-04-27T10:05:49.7620702-03:00",
    "company_number": 1,
    "company_reg_number": "sample string 2",
    "function_code": "sample string 3",
    "function_description": "sample string 4",
    "gender": "sample string 5",
    "date_include": "2020-04-27T10:05:49.7620702-03:00",
    "operator_name": "sample string 6",
    "reg_number_operator": "sample string 7",
    "operator_sequence": 8,
    "status": "sample string 9",
    "date_update": "2020-04-27T10:05:49.7620702-03:00",
    "user_code": "sample string 10"
  },
  {
    "birth_date": "2020-04-27T10:05:49.7620702-03:00",
    "company_number": 1,
    "company_reg_number": "sample string 2",
    "function_code": "sample string 3",
    "function_description": "sample string 4",
    "gender": "sample string 5",
    "date_include": "2020-04-27T10:05:49.7620702-03:00",
    "operator_name": "sample string 6",
    "reg_number_operator": "sample string 7",
    "operator_sequence": 8,
    "status": "sample string 9",
    "date_update": "2020-04-27T10:05:49.7620702-03:00",
    "user_code": "sample string 10"
  }
]
application/xml, text/xml 

Exemplo (Sample):

<ArrayOfCashOperatorsResponseDTO xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Consinco.SM.Api.Entities.Entities.v1.Sales">
  <CashOperatorsResponseDTO>
    <BIRTH_DATE>2020-04-27T10:05:49.7620702-03:00</BIRTH_DATE>
    <COMPANY_NUMBER>1</COMPANY_NUMBER>
    <COMPANY_REG_NUMBER>sample string 2</COMPANY_REG_NUMBER>
    <FUNCTION_CODE>sample string 3</FUNCTION_CODE>
    <FUNCTION_DESCRIPTION>sample string 4</FUNCTION_DESCRIPTION>
    <GENDER>sample string 5</GENDER>
    <INCLUDE_DATE>2020-04-27T10:05:49.7620702-03:00</INCLUDE_DATE>
    <OPERATOR_NAME>sample string 6</OPERATOR_NAME>
    <OPERATOR_REG_NUMBER>sample string 7</OPERATOR_REG_NUMBER>
    <OPERATOR_SEQUENCE>8</OPERATOR_SEQUENCE>
    <STATUS>sample string 9</STATUS>
    <UPDATE_DATE>2020-04-27T10:05:49.7620702-03:00</UPDATE_DATE>
    <USER_CODE>sample string 10</USER_CODE>
  </CashOperatorsResponseDTO>
  <CashOperatorsResponseDTO>
    <BIRTH_DATE>2020-04-27T10:05:49.7620702-03:00</BIRTH_DATE>
    <COMPANY_NUMBER>1</COMPANY_NUMBER>
    <COMPANY_REG_NUMBER>sample string 2</COMPANY_REG_NUMBER>
    <FUNCTION_CODE>sample string 3</FUNCTION_CODE>
    <FUNCTION_DESCRIPTION>sample string 4</FUNCTION_DESCRIPTION>
    <GENDER>sample string 5</GENDER>
    <INCLUDE_DATE>2020-04-27T10:05:49.7620702-03:00</INCLUDE_DATE>
    <OPERATOR_NAME>sample string 6</OPERATOR_NAME>
    <OPERATOR_REG_NUMBER>sample string 7</OPERATOR_REG_NUMBER>
    <OPERATOR_SEQUENCE>8</OPERATOR_SEQUENCE>
    <STATUS>sample string 9</STATUS>
    <UPDATE_DATE>2020-04-27T10:05:49.7620702-03:00</UPDATE_DATE>
    <USER_CODE>sample string 10</USER_CODE>
  </CashOperatorsResponseDTO>
</ArrayOfCashOperatorsResponseDTO>