Coleção de chamadas
{
"info": {
"_postman_id": "8739f5f8-87db-4bc5-96b3-39c9f45edd5e",
"name": "API - Regra On Demand v1",
"schema": "https://schema.getpostman.com/json/collection/v2.1.0/collection.json",
"_exporter_id": "21298242"
},
"item": [
{
"name": "Entrada",
"item": [
{
"name": "Teste 1 - Vigência Atual",
"request": {
"method": "POST",
"header": [],
"body": {
"mode": "raw",
"raw": "[ \r\n { \r\n \"metodo\":\"calculo\",\r\n \"versao_requisicao\":\"1\",\r\n \"versao_retorno\":\"1\",\r\n \"username\": \"\",\r\n \"senha\": \"\",\r\n \"origem_mercadoria\":\"0\",\r\n \"cean\":\"\",\r\n \"ncm\":\"22042100\",\r\n \"ex_tipi\":\"\",\r\n \"cenario\":[ \r\n { \r\n \"ent_sai\":\"E\",\r\n \"nat_op\":\"120\",\r\n \"finalidade\": \"569\",\r\n \"uf_origem\":\"SP\",\r\n \"uf_destino\":\"SP\",\r\n \"remetente\":\"1\",\r\n \"destinatario\":\"140\",\r\n \"vigente_em\": \"10/08/2023\"\r\n }\r\n ]\r\n }\r\n]",
"options": {
"raw": {
"language": "json"
}
}
},
"url": {
"raw": "http://api.systax.com.br/webservice/systax_data_rest.php",
"protocol": "http",
"host": [
"api",
"systax",
"com",
"br"
],
"path": [
"webservice",
"systax_data_rest.php"
]
}
},
"response": []
},
{
"name": "Teste 1 - Vigência Passada",
"request": {
"method": "POST",
"header": [],
"body": {
"mode": "raw",
"raw": "[ \r\n { \r\n \"metodo\":\"calculo\",\r\n \"versao_requisicao\":\"1\",\r\n \"versao_retorno\":\"1\",\r\n \"username\": \"\",\r\n \"senha\": \"\",\r\n \"origem_mercadoria\":\"0\",\r\n \"cean\":\"\",\r\n \"ncm\":\"22042100\",\r\n \"ex_tipi\":\"\",\r\n \"cenario\":[ \r\n { \r\n \"ent_sai\":\"E\",\r\n \"nat_op\":\"120\",\r\n \"finalidade\": \"569\",\r\n \"uf_origem\":\"SP\",\r\n \"uf_destino\":\"SP\",\r\n \"remetente\":\"1\",\r\n \"destinatario\":\"140\",\r\n \"vigente_em\": \"10/08/2020\"\r\n }\r\n ]\r\n }\r\n]",
"options": {
"raw": {
"language": "json"
}
}
},
"url": {
"raw": "http://api2.systax.com.br/webservice/systax_data_rest.php",
"protocol": "http",
"host": [
"api2",
"systax",
"com",
"br"
],
"path": [
"webservice",
"systax_data_rest.php"
]
}
},
"response": []
}
]
},
{
"name": "Saída",
"item": [
{
"name": "Teste 1 - Vigência Atual",
"request": {
"method": "POST",
"header": [],
"body": {
"mode": "raw",
"raw": "[ \r\n { \r\n \"metodo\":\"calculo\",\r\n \"versao_requisicao\":\"1\",\r\n \"versao_retorno\":\"1\",\r\n \"username\": \"\",\r\n \"senha\": \"\",\r\n \"origem_mercadoria\":\"0\",\r\n \"cean\":\"\",\r\n \"ncm\":\"22043000\",\r\n \"ex_tipi\":\"\",\r\n \"cenario\":[ \r\n { \r\n \"ent_sai\":\"S\",\r\n \"nat_op\":\"121\",\r\n \"finalidade\": \"\",\r\n \"uf_origem\":\"SP\",\r\n \"uf_destino\":\"SP\",\r\n \"remetente\":\"3\",\r\n \"destinatario\":\"140\",\r\n \"vigente_em\": \"10/08/2023\"\r\n }\r\n ]\r\n }\r\n]",
"options": {
"raw": {
"language": "json"
}
}
},
"url": {
"raw": "http://api.systax.com.br/webservice/systax_data_rest.php",
"protocol": "http",
"host": [
"api",
"systax",
"com",
"br"
],
"path": [
"webservice",
"systax_data_rest.php"
]
}
},
"response": []
},
{
"name": "Teste 2 - Vigência Passada",
"request": {
"method": "POST",
"header": [],
"body": {
"mode": "raw",
"raw": "[ \r\n { \r\n \"metodo\":\"calculo\",\r\n \"versao_requisicao\":\"1\",\r\n \"versao_retorno\":\"1\",\r\n \"username\": \"\",\r\n \"senha\": \"\",\r\n \"origem_mercadoria\":\"0\",\r\n \"cean\":\"\",\r\n \"ncm\":\"22043000\",\r\n \"ex_tipi\":\"\",\r\n \"cenario\":[ \r\n { \r\n \"ent_sai\":\"S\",\r\n \"nat_op\":\"121\",\r\n \"finalidade\": \"\",\r\n \"uf_origem\":\"SP\",\r\n \"uf_destino\":\"SP\",\r\n \"remetente\":\"3\",\r\n \"destinatario\":\"140\",\r\n \"vigente_em\": \"10/08/2000\"\r\n }\r\n ]\r\n }\r\n]",
"options": {
"raw": {
"language": "json"
}
}
},
"url": {
"raw": "http://api2.systax.com.br/webservice/systax_data_rest.php",
"protocol": "http",
"host": [
"api2",
"systax",
"com",
"br"
],
"path": [
"webservice",
"systax_data_rest.php"
]
}
},
"response": []
}
]
}
]
}