Skip to main content

Exemplos de chamada e retorno

 

Chamada

{

  "cenarios": [

    {

      "idTributo": 100,

      "apelido": "Teste SP-MA Transf Ind. Filial",

      "diasFuturos": 30,

      "entSai": 1,

      "naturezaOperacao": 107,

      "finalidade": "113",

      "ufOrigem": "SP",

      "municipioOrigem": "",

      "ufDestino": "MA",

      "municipioDestino": "",

      "ufEntrega": "",

      "municipioEntrega": "",

      "municipioExecucao": "",

      "perfilOrigem": "1",

      "cnaeOrigem": "",

      "perfilDestino": "579",

      "cnaeDestino": "",

      "prestador": "",

      "tomador": "",

      "executor": "",

      "origemProdAlternativo": ""

    }

 ]

}

 

Retorno

{

    "success": true,

    "message": "ok",

    "total_itens": 1,

    "total_ok": 1,

    "itens_ok": [

        {

            "position": 0,

            "id": 24303

        }

    ],

    "total_error": 0,

    "itens_error": []

}