Histórico da Página
...
Leitura de registro (GET):
localhost:8085/first/api/v1/ ncmnbs / |
Retorno: { "total": 1, "hasNext": false, "syncing": false, "lines": [ { "pk": "2342.34.,1,000", "id": "2342.34.", "type": "1", "exceptionTIPI": "000", "estimatedNationalRate": 99.99, "estimatedImportedRate": 99.99, "estimatedStateRate": 99.99, "estimatedMunicipalRate": 99.99 } ] } |
Inclusão de registro (POST):
localhost:8085/first/api/v1/ncmnbs/ |
Body: { "id":"234234", "type":"1", "exceptionTIPI":"000", "estimatedNationalRate":99.99, "estimatedImportedRate":99.99, "estimatedStateRate":99.99, "estimatedMunicipalRate":99.99 } Retorno: { "url": "/first/api/v1/ncmnbs/2342.34.,1,000", "id": "2342.34.", "type": "1", "exceptionTIPI": "000" } |
Alteração de registro (PUT):
localhost:8085/first/api/v1/ ncmnbs/2342.34.,1,000 |
Body: { "estimatedNationalRate":80.50 }
Retorno: { "url": "/first/api/v1/ncmnbs/2342.34.,1,000", "id": "2342.34.", "type": "1", "exceptionTIPI": "000" } |
Exclusão de registro (DELETE):
localhost:8085/first/api/v1/ ncmnbs/2342.34.,1,000 |
Retorno: { "url": "/first/api/v1/ncmnbs/2342.34.,1,000", "id": "2342.34.", "type": "1", "exceptionTIPI": "000" } |