⚪Contas a Pagar
🟢Listar
{
"qtype" : "fn_apagar.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" : "fn_apagar.id",//campo para ordenar a consulta
"sortorder" : "asc"//ordenação (asc= crescente | desc=decrescente)
}curl --location --request GET 'https://host/webservice/v1/fn_apagar' \
--header 'ixcsoft: listar' \
--header 'Content-Type: application/json' \
--header 'Authorization: Basic MzY3OmExNmMwZDVkZGM3ZjFiODViMzJmYzIyOThlMDM5MjgyNzg3NTkwMGQwNGNmMTNiMzY1Y2M2ZWMxMmViMTU3MzQ=' \
--header 'Cookie: IXC_Session=vkld052nm6do0grh1d8a1nat2d' \
--data '{
"qtype" : "fn_apagar.id",
"query" : "1",
"oper" : ">=",
"page" : "1",
"rp" : "2000",
"sortname" : "fn_apagar.id",
"sortorder" : "asc"
}'🟠Inserir
{
"id_fornecedor":"",
"data_emissao":"",
"data_vencimento":"",
"valor":"",
"id_contas":"",
"id_conta":"",
"filial_id":"",
"previsao":""
}{
"id_remessa_pagamento": "",
"tipo_pix": "",
"numero_nota": "",
"id_dado_bancario": "",
"liberado": "",
"filial_id": "",
"status": "",
"data_emissao": "DD/MM/AAAA",
"data_vencimento": "DD/MM/AAAA",
"valor": "",
"valor_aberto": "",
"valor_pago": "",
"data_pagamento": "DD/MM/AAAA 00:00:00",
"id_fornecedor": "",
"valor_total_pago": "",
"debito_data": "DD/MM/AAAA",
"status_auditoria": "",
"obs": "",
"documento": "",
"id_entrada": "",
"tipo_pagamento": "",
"previsao": "",
"id_conta": "",
"codigo_barras": "",
"id_contas": "",
"duplicata": "",
"valor_cancelado": "",
"lote": "",
"id_mot_cancelamento": "",
"data_cancelamento": "",
"eh_despesa_veiculo": "",
"id_lote_importacao": "",
"chave_pix": "",
"id_lote_pagamento": "",
"comunicado": ""
}curl --location 'https://host/webservice/v1/fn_apagar' \
--header 'Content-Type: application/json' \
--header 'Authorization: Basic MzY3OmExNmMwZDVkZGM3ZjFiODViMzJmYzIyOThlMDM5MjgyNzg3NTkwMGQwNGNmMTNiMzY1Y2M2ZWMxMmViMTU3MzQ=' \
--header 'Cookie: IXC_Session=vkld052nm6do0grh1d8a1nat2d' \
--data '{
"id_remessa_pagamento": "",
"tipo_pix": "",
"numero_nota": "",
"id_dado_bancario": "",
"liberado": "",
"filial_id": "",
"status": "",
"data_emissao": "DD/MM/AAAA",
"data_vencimento": "DD/MM/AAAA",
"valor": "",
"valor_aberto": "",
"valor_pago": "",
"data_pagamento": "DD/MM/AAAA 00:00:00",
"id_fornecedor": "",
"valor_total_pago": "",
"debito_data": "DD/MM/AAAA",
"status_auditoria": "",
"obs": "",
"documento": "",
"id_entrada": "",
"tipo_pagamento": "",
"previsao": "",
"id_conta": "",
"codigo_barras": "",
"id_contas": "",
"duplicata": "",
"valor_cancelado": "",
"lote": "",
"id_mot_cancelamento": "",
"data_cancelamento": "",
"eh_despesa_veiculo": "",
"id_lote_importacao": "",
"chave_pix": "",
"id_lote_pagamento": "",
"comunicado": ""
}'🔵Editar
Deve ser informado o id, a ser editado, na URL: https://host/webservice/v1/fn_apagar/5
Todos os campos devem ser inseridos para realizar uma alteração cadastral.
{
"id_remessa_pagamento": "",
"tipo_pix": "",
"numero_nota": "",
"id_dado_bancario": "",
"liberado": "",
"filial_id": "",
"status": "",
"data_emissao": "DD/MM/AAAA",
"data_vencimento": "DD/MM/AAAA",
"valor": "",
"valor_aberto": "",
"valor_pago": "",
"data_pagamento": "DD/MM/AAAA 00:00:00",
"id_fornecedor": "",
"valor_total_pago": "",
"debito_data": "DD/MM/AAAA",
"status_auditoria": "",
"obs": "",
"documento": "",
"id_entrada": "",
"tipo_pagamento": "",
"previsao": "",
"id_conta": "",
"codigo_barras": "",
"id_contas": "",
"duplicata": "",
"valor_cancelado": "",
"lote": "",
"id_mot_cancelamento": "",
"data_cancelamento": "",
"eh_despesa_veiculo": "",
"id_lote_importacao": "",
"chave_pix": "",
"id_lote_pagamento": "",
"comunicado": ""
}curl --location --request PUT 'https://host/webservice/v1/fn_apagar/5' \
--header 'Content-Type: application/json' \
--header 'Authorization: Basic MzY3OmExNmMwZDVkZGM3ZjFiODViMzJmYzIyOThlMDM5MjgyNzg3NTkwMGQwNGNmMTNiMzY1Y2M2ZWMxMmViMTU3MzQ=' \
--header 'Cookie: IXC_Session=vkld052nm6do0grh1d8a1nat2d' \
--data '{
"id_remessa_pagamento": "",
"tipo_pix": "",
"numero_nota": "",
"id_dado_bancario": "",
"liberado": "",
"filial_id": "",
"status": "",
"data_emissao": "DD/MM/AAAA",
"data_vencimento": "DD/MM/AAAA",
"valor": "",
"valor_aberto": "",
"valor_pago": "",
"data_pagamento": "DD/MM/AAAA 00:00:00",
"id_fornecedor": "",
"valor_total_pago": "",
"debito_data": "DD/MM/AAAA",
"status_auditoria": "",
"obs": "",
"documento": "",
"id_entrada": "",
"tipo_pagamento": "",
"previsao": "",
"id_conta": "",
"codigo_barras": "",
"id_contas": "",
"duplicata": "",
"valor_cancelado": "",
"lote": "",
"id_mot_cancelamento": "",
"data_cancelamento": "",
"eh_despesa_veiculo": "",
"id_lote_importacao": "",
"chave_pix": "",
"id_lote_pagamento": "",
"comunicado": ""
}'🔴Deletar
Deve ser informado o id, a ser excluído, na URL: https://host/webservice/v1/fn_apagar/5
curl --location --request DELETE 'https://host/webservice/v1/fn_apagar/5' \
--header 'Authorization: Basic MzY3OmExNmMwZDVkZGM3ZjFiODViMzJmYzIyOThlMDM5MjgyNzg3NTkwMGQwNGNmMTNiMzY1Y2M2ZWMxMmViMTU3MzQ=' \
--header 'Cookie: IXC_Session=vkld052nm6do0grh1d8a1nat2d' \
--data ''Last updated