Transferência entre almoxarifados
https://host/webservice/v1/transf_almox_top
🟢Listar
{
"qtype" : "transf_almox_top.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" : "transf_almox_top.id",//campo para ordenar a consulta
"sortorder" : "desc"//ordenação (asc= crescente | desc=decrescente)
}curl --location --request GET 'https://host/webservice/v1/transf_almox_top' \
--header 'ixcsoft: listar' \
--header 'Content-Type: application/json' \
--header 'Authorization: Basic MzY3OmExNmMwZDVkZGM3ZjFiODViMzJmYzIyOThlMDM5MjgyNzg3NTkwMGQwNGNmMTNiMzY1Y2M2ZWMxMmViMTU3MzQ=' \
--header 'Cookie: IXC_Session=ovbcep20qrjqu43qhmthic8ms9' \
--data '{
"qtype" : "transf_almox_top.id",
"query" : "1",
"oper" : ">=",
"page" : "1",
"rp" : "2000",
"sortname" : "transf_almox_top.id",
"sortorder" : "desc"
}'🟠Inserir
{
"id_filial_entrada": "",
"id_filial": "",
"data": "DD/MM/AAAA",
"obs": "",
"id_almox_saida": "",
"id_almox_entrada": ""
}{
"id_filial_entrada": "1",
"id_filial": "1",
"data": "2024-02-22",
"obs": "Transf. via req. materiais [ID: 122].",
"documento": "REQ122",
"id_produto": "0",
"qtde": "0.00000",
"id_almox_saida": "1",
"id_almox_entrada": "2",
"id_unidade": "0"
}curl --location 'https://host/webservice/v1/transf_almox_top' \
--header 'Content-Type: application/json' \
--header 'Authorization: Basic MzY3OmExNmMwZDVkZGM3ZjFiODViMzJmYzIyOThlMDM5MjgyNzg3NTkwMGQwNGNmMTNiMzY1Y2M2ZWMxMmViMTU3MzQ=' \
--header 'Cookie: IXC_Session=ovbcep20qrjqu43qhmthic8ms9' \
--data '{
"id_filial_entrada": "1",
"id_filial": "1",
"data": "2024-02-22",
"obs": "Transf. via req. materiais [ID: 122].",
"documento": "REQ122",
"id_produto": "0",
"qtde": "0.00000",
"id_almox_saida": "1",
"id_almox_entrada": "2",
"id_unidade": "0"
}'🔵Editar
Deve ser informado o id, a ser editado, na URL: https://host/webservice/v1/transf_almox_top/5
Todos os campos devem ser inseridos para realizar uma alteração cadastral.
{
"id_filial_entrada": "1",
"id_filial": "1",
"data": "2024-02-22",
"obs": "Transf. via req. materiais [ID: 122].",
"documento": "REQ122",
"id_produto": "0",
"qtde": "0.00000",
"id_almox_saida": "1",
"id_almox_entrada": "2",
"id_unidade": "0"
}curl --location --request PUT 'https://host/webservice/v1/transf_almox_top/5' \
--header 'Content-Type: application/json' \
--header 'Authorization: Basic MzY3OmExNmMwZDVkZGM3ZjFiODViMzJmYzIyOThlMDM5MjgyNzg3NTkwMGQwNGNmMTNiMzY1Y2M2ZWMxMmViMTU3MzQ=' \
--header 'Cookie: IXC_Session=ovbcep20qrjqu43qhmthic8ms9' \
--data '{
"id_filial_entrada": "1",
"id_filial": "1",
"data": "2024-02-22",
"obs": "Transf. via req. materiais [ID: 122].",
"documento": "REQ122",
"id_produto": "0",
"qtde": "0.00000",
"id_almox_saida": "1",
"id_almox_entrada": "2",
"id_unidade": "0"
}'🔴Deletar
Deve ser informado o id, a ser excluído, na URL: https://host/webservice/v1/transf_almox_top/5
curl --location --request DELETE 'https://host/webservice/v1/transf_almox_top/5' \
--header 'Authorization: Basic MzY3OmExNmMwZDVkZGM3ZjFiODViMzJmYzIyOThlMDM5MjgyNzg3NTkwMGQwNGNmMTNiMzY1Y2M2ZWMxMmViMTU3MzQ=' \
--header 'Cookie: IXC_Session=ovbcep20qrjqu43qhmthic8ms9' \
--data ''Last updated