Entrada
https://host/webservice/v1/entrada_pedido/
🟢Listar
{
"qtype": "entrada_pedido.id",
"query": "1",
"oper": ">=",
"page": "1",
"rp": "1000",
"sortname": "entrada_pedido.id",
"sortorder": "desc"
}curl --location --request GET 'https://host/webservice/v1/entrada_pedido' \
--header 'ixcsoft: listar' \
--header 'Content-Type: application/json' \
--header 'Authorization: Basic MzoxYWVmZWRiNTkzZjczZjYxNDM3NTI4ZWQ3OGViMjQ3ODFjYTAxNjczZDkxYWM2ODg2ZWM1MDZlNjlhMTQxY2Qz' \
--header 'Cookie: Path=/; IXC_Session=gich1dfv174l43c6v0gku0igec' \
--data '{
"qtype": "entrada_pedido.id",
"query": "1",
"oper": ">=",
"page": "1",
"rp": "1000",
"sortname": "entrada_pedido.id",
"sortorder": "desc"
}'🟠Inserir
{
"id_entrada":"",
"id_pedido":""
}{
"id_entrada": "1",
"id_pedido": "1",
"filial_id": "1"
}curl --location 'https://host/webservice/v1/entrada_pedido' \
--header 'Content-Type: application/json' \
--header 'Authorization: Basic MzoxYWVmZWRiNTkzZjczZjYxNDM3NTI4ZWQ3OGViMjQ3ODFjYTAxNjczZDkxYWM2ODg2ZWM1MDZlNjlhMTQxY2Qz' \
--header 'Cookie: Path=/; IXC_Session=gich1dfv174l43c6v0gku0igec' \
--data '{
"id_entrada": "1",
"id_pedido": "1"
}'🔵Editar
Deve ser informado o id, a ser editado, na URL: https://host/webservice/v1/entrada_pedido/5
Todos os campos devem ser inseridos para realizar uma alteração cadastral.
{
"id_entrada": "1",
"id_pedido": "1",
"filial_id": "1"
}curl --location --request PUT 'https://host/webservice/v1/entrada_pedido/5' \
--header 'Content-Type: application/json' \
--header 'Authorization: Basic MzoxYWVmZWRiNTkzZjczZjYxNDM3NTI4ZWQ3OGViMjQ3ODFjYTAxNjczZDkxYWM2ODg2ZWM1MDZlNjlhMTQxY2Qz' \
--header 'Cookie: Path=/; IXC_Session=gich1dfv174l43c6v0gku0igec' \
--data '{
"id_entrada": "1",
"id_pedido": "2",
"filial_id": "1"
}'🔴Deletar
Deve ser informado o id, a ser excluído, na URL: https://host/webservice/v1/entrada_pedido/5
curl --location --request DELETE 'https://host/webservice/v1/entrada_pedido/5' \
--header 'Authorization: Basic MzoxYWVmZWRiNTkzZjczZjYxNDM3NTI4ZWQ3OGViMjQ3ODFjYTAxNjczZDkxYWM2ODg2ZWM1MDZlNjlhMTQxY2Qz' \
--header 'Cookie: Path=/; IXC_Session=gich1dfv174l43c6v0gku0igec' \
--data ''Last updated