/** * Bluesoft ERP API *

API para Integração com Bluesoft ERP


Limite de Requisições em Paralelo

Por padrão, limitamos a quantidade de requisições em paralelo para API.

A nível de sistema o limite padrão é de 50 requisições em paralelo.

A nível de usuário o limite padrão é de 10 requisições em paralelo.

Caso haja necessidade de aumentar esse limite, entre em contato com o suporte da Bluesoft.

OAuth

Exemplo para obter token

curl -X POST \'erp.bluesoft.com.br/{TENANT}/oauth2/token\' \\
-H \'Content-Type: application/x-www-form-urlencoded\' \\
-H \'Cookie: OAUTH=OAUTH_240\' \\
-d \'grant_type=client_credentials\' \\
-d \'scope=switch.read\' \\
-d \'client_id={CLIENT_ID}\' \\
-d \'client_secret={CLIENT_SECRET}\'

Exemplo de uso do token

curl -X GET -H \'Authorization: Bearer {TOKEN}\' \'erp.bluesoft.com.br/{TENANT}/api/clientes\' * * The version of the OpenAPI document: 1.0 * Contact: suporte@bluesoft.com.br * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech * Do not edit the class manually. */ import { NotaFiscalTipoResponse } from './notaFiscalTipoResponse'; export interface PedidoObterClienteResponse { clienteKey?: number; nfChave?: string; nfDataEmissao?: string; nfKey?: number; nfNumero?: number; nfSerie?: string; nfTipo?: NotaFiscalTipoResponse; numeroPedidoCliente?: string; pedidoForcaVendaClienteKey?: number; pedidoVendaStatus?: string; /** * 1 = ABERTO, 2 = FECHADO, 3 = EM_SEPARACAO, 4 = SEPARADO, 5 = REABERTO, 6 = FATURADO_POR_NOTA_FISCAL, 7 = FATURADO_POR_CUPOM, 8 = ENVIADO_PARA_PDV, 9 = EM_DIGITACAO, 10 = EXCLUIDO, 11 = AGUARDANDO_ANALISE_GERENCIAL, 12 = EM_ANALISE_GERENCIAL, 13 = APROVADO, 14 = REPROVADO, 15 = ROTEIRIZADO, 16 = ENTREGUE, 17 = FATURANDO, 18 = CANCELADO, 19 = EM_ANALISE_DE_CREDITO, 20 = EXPIRADO, 21 = DEVOLVIDO, 22 = ENVIO_DE_CHANGES, 23 = AGUARDANDO_PAGAMENTO, 24 = DISPONIVEL_PARA_RETIRADA */ pedidoVendaStatusKey?: number; quantidadeTotal?: number; statusNfe?: string; valorNf?: number; valorTotal?: number; } //# sourceMappingURL=pedidoObterClienteResponse.d.ts.map