⚪Venda
https://host/webservice/v1/vd_saida
🟢Listar
{
"qtype" : "vd_saida.id",//campo de filtro
"query" : "1",//valor para consultar
"oper" : ">=",//operador da consulta
"page" : "1",//página a ser mostrada
"rp" : "2000",//quantidade de registros por página
"sortname" : "vd_saida.id",//campo para ordenar a consulta
"sortorder" : "asc"//ordenação (asc= crescente | desc=decrescente)
}curl --location --request GET 'https://host/webservice/v1/vd_saida' \
--header 'ixcsoft: listar' \
--header 'Content-Type: application/json' \
--header 'Authorization: Basic MzY3OmExNmMwZDVkZGM3ZjFiODViMzJmYzIyOThlMDM5MjgyNzg3NTkwMGQwNGNmMTNiMzY1Y2M2ZWMxMmViMTU3MzQ=' \
--header 'Cookie: IXC_Session=ovbcep20qrjqu43qhmthic8ms9' \
--data '{
"qtype" : "vd_saida.id",
"query" : "1",
"oper" : ">=",
"page" : "1",
"rp" : "2000",
"sortname" : "vd_saida.id",
"sortorder" : "asc"
}'🟠Inserir
{
"id_tipo_documento":"",
"id_cliente":"",
"id_condicao_pagamento":"",
"filial_id":"",
"data_emissao":"",
"data_saida":"",
"gera_estoque":"",
"modalidade_frete":"",
"id_comissionado":""
}{
"gera_estoque": "S",
"id_transportadora": "",
"valor_frete": "0.00",
"status_fat_os": "1",
"origem": "",
"pcomissao": "0.00",
"filial_id": "1",
"numero_nf": "",
"modelo_nf": "",
"serie": "",
"id_tipo_documento": "100",
"data_emissao": "2018-02-27",
"data_saida": "2018-02-27",
"id_cliente": "2",
"valor_total": "90.00",
"status": "F",
"impresso": "N",
"id_condicao_pagamento": "1",
"id_comissionado": "1",
"id_contrato": "",
"id_contrato_avulso": "",
"data_cancelamento": "",
"documento": "",
"modalidade_frete": "9",
"obs": "",
"previsao": "",
"placa": "",
"placa_uf": "",
"placa_rntc": "",
"indFinal": "",
"indPres": "",
"avalista_1": "",
"avalista_2": "",
"comissao_perc_recebimento": "0.00",
"difal_vFCPUFDest": "0.00",
"difal_vICMSUFDest": "0.00",
"difal_vICMSUFRemet": "0.00",
"id_im_imovel": "",
"nfse_lote": "",
"nfse_prot": "",
"nfse_status": "",
"consumidor_final_razao": "",
"consumidor_final_cpf": "",
"id_lote_geracao_financeiro": "",
"numeracao_lote_ixc": "",
"id_geracao_lote": "",
"ultima_atualizacao": "2020-03-24 09:31:14",
"id_geracao_lote_assinaturas": "",
"id_lote_geracao_fatura": ""
}curl --location 'https://host/webservice/v1/vd_saida' \
--header 'Content-Type: application/json' \
--header 'Authorization: Basic MzY3OmExNmMwZDVkZGM3ZjFiODViMzJmYzIyOThlMDM5MjgyNzg3NTkwMGQwNGNmMTNiMzY1Y2M2ZWMxMmViMTU3MzQ=' \
--header 'Cookie: IXC_Session=ovbcep20qrjqu43qhmthic8ms9' \
--data '{
"gera_estoque": "S",
"id_transportadora": "",
"valor_frete": "0.00",
"status_fat_os": "1",
"origem": "",
"pcomissao": "0.00",
"filial_id": "1",
"numero_nf": "",
"modelo_nf": "",
"serie": "",
"id_tipo_documento": "100",
"data_emissao": "2018-02-27",
"data_saida": "2018-02-27",
"id_cliente": "2",
"valor_total": "90.00",
"status": "F",
"impresso": "N",
"id_condicao_pagamento": "1",
"id_comissionado": "1",
"id_contrato": "",
"id_contrato_avulso": "",
"data_cancelamento": "",
"documento": "",
"modalidade_frete": "9",
"obs": "",
"previsao": "",
"placa": "",
"placa_uf": "",
"placa_rntc": "",
"indFinal": "",
"indPres": "",
"avalista_1": "",
"avalista_2": "",
"comissao_perc_recebimento": "0.00",
"difal_vFCPUFDest": "0.00",
"difal_vICMSUFDest": "0.00",
"difal_vICMSUFRemet": "0.00",
"id_im_imovel": "",
"nfse_lote": "",
"nfse_prot": "",
"nfse_status": "",
"consumidor_final_razao": "",
"consumidor_final_cpf": "",
"id_lote_geracao_financeiro": "",
"numeracao_lote_ixc": "",
"id_geracao_lote": "",
"ultima_atualizacao": "2020-03-24 09:31:14",
"id_geracao_lote_assinaturas": "",
"id_lote_geracao_fatura": ""
}'🔵Editar
Deve ser informado o id, a ser editado, na URL: https://host/webservice/v1/vd_saida/5
Todos os campos devem ser inseridos para realizar uma alteração cadastral.
{
"gera_estoque": "S",
"id_transportadora": "",
"valor_frete": "0.00",
"status_fat_os": "1",
"origem": "",
"pcomissao": "0.00",
"filial_id": "1",
"numero_nf": "",
"modelo_nf": "",
"serie": "",
"id_tipo_documento": "100",
"data_emissao": "2018-02-27",
"data_saida": "2018-02-27",
"id_cliente": "2",
"valor_total": "90.00",
"status": "F",
"impresso": "N",
"id_condicao_pagamento": "1",
"id_comissionado": "1",
"id_contrato": "",
"id_contrato_avulso": "",
"data_cancelamento": "",
"documento": "",
"modalidade_frete": "9",
"obs": "",
"previsao": "",
"placa": "",
"placa_uf": "",
"placa_rntc": "",
"indFinal": "",
"indPres": "",
"avalista_1": "",
"avalista_2": "",
"comissao_perc_recebimento": "0.00",
"difal_vFCPUFDest": "0.00",
"difal_vICMSUFDest": "0.00",
"difal_vICMSUFRemet": "0.00",
"id_im_imovel": "",
"nfse_lote": "",
"nfse_prot": "",
"nfse_status": "",
"consumidor_final_razao": "",
"consumidor_final_cpf": "",
"id_lote_geracao_financeiro": "",
"numeracao_lote_ixc": "",
"id_geracao_lote": "",
"ultima_atualizacao": "2020-03-24 09:31:14",
"id_geracao_lote_assinaturas": "",
"id_lote_geracao_fatura": ""
}curl --location --request PUT 'https://host/webservice/v1/vd_saida/5' \
--header 'Content-Type: application/json' \
--header 'Authorization: Basic MzY3OmExNmMwZDVkZGM3ZjFiODViMzJmYzIyOThlMDM5MjgyNzg3NTkwMGQwNGNmMTNiMzY1Y2M2ZWMxMmViMTU3MzQ=' \
--header 'Cookie: IXC_Session=ovbcep20qrjqu43qhmthic8ms9' \
--data '{
"gera_estoque": "S",
"id_transportadora": "",
"valor_frete": "0.00",
"status_fat_os": "1",
"origem": "",
"pcomissao": "0.00",
"filial_id": "1",
"numero_nf": "",
"modelo_nf": "",
"serie": "",
"id_tipo_documento": "100",
"data_emissao": "2018-02-27",
"data_saida": "2018-02-27",
"id_cliente": "2",
"valor_total": "90.00",
"status": "F",
"impresso": "N",
"id_condicao_pagamento": "1",
"id_comissionado": "1",
"id_contrato": "",
"id_contrato_avulso": "",
"data_cancelamento": "",
"documento": "",
"modalidade_frete": "9",
"obs": "",
"previsao": "",
"placa": "",
"placa_uf": "",
"placa_rntc": "",
"indFinal": "",
"indPres": "",
"avalista_1": "",
"avalista_2": "",
"comissao_perc_recebimento": "0.00",
"difal_vFCPUFDest": "0.00",
"difal_vICMSUFDest": "0.00",
"difal_vICMSUFRemet": "0.00",
"id_im_imovel": "",
"nfse_lote": "",
"nfse_prot": "",
"nfse_status": "",
"consumidor_final_razao": "",
"consumidor_final_cpf": "",
"id_lote_geracao_financeiro": "",
"numeracao_lote_ixc": "",
"id_geracao_lote": "",
"ultima_atualizacao": "2020-03-24 09:31:14",
"id_geracao_lote_assinaturas": "",
"id_lote_geracao_fatura": ""
}'🔴Deletar
Deve ser informado o id, a ser excluído, na URL: https://host/webservice/v1/vd_saida/5
curl --location --request DELETE 'https://host/webservice/v1/vd_saida/5' \
--header 'Authorization: Basic MzY3OmExNmMwZDVkZGM3ZjFiODViMzJmYzIyOThlMDM5MjgyNzg3NTkwMGQwNGNmMTNiMzY1Y2M2ZWMxMmViMTU3MzQ=' \
--header 'Cookie: IXC_Session=ovbcep20qrjqu43qhmthic8ms9' \
--data ''🔘Botões
Last updated