SAGRES REST API

<back to all web services

StatusPedidoCliente

The following routes are available for this service:
POST/financeiro/status-pedido

To override the Content-type in your clients HTTP Accept Header, append ?format=json

To embed the response in a jsonp callback, append ?callback=myCallback

HTTP + JSON

The following are sample HTTP requests and responses. The placeholders shown need to be replaced with actual values.

POST /json/reply/StatusPedidoCliente HTTP/1.1 
Host: www2.bahiana.edu.br 
Content-Type: application/json
Content-Length: length

{"idPedido":0,"cdPedido":"String","embutir":"","campos":""}
HTTP/1.1 200 OK
Content-Type: application/json
Content-Length: length

{"id":0,"titulos":[{"id":0,"numero":"String","descricao":"String","nomePagante":"String","planoContas":"String","centroCustos":"String","dataReferencia":"0001-01-01T00:00:00-03:00","valorTitulo":0,"valorJurosMulta":0,"valorLiquidado":0,"valorAberto":0,"valorCorrigido":0,"dataPagamento":"0001-01-01T00:00:00-03:00","nomeCurso":"String","diasAtraso":0,"percentualJuros":0,"percentualMulta":0,"tipoSituacao":0,"situacao":0,"valorPagamento":0}],"valorTotal":0,"statusCode":"String","statusText":"String"}