To override the Content-type in your clients, use the HTTP Accept Header, append the .json suffix or ?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 /contabilita/bilancio/dal/{DataDa}/al/{DataA} HTTP/1.1
Host: unico3.link.api
Accept: application/json
Content-Type: application/json
Content-Length: length
{"DataA":"0001-01-01T00:00:00.0000000","DataDa":"0001-01-01T00:00:00.0000000","Sezione":0,"CAT":{"Codice":"String","Id":0},"EscludiExtracontabili":false}
HTTP/1.1 200 OK
Content-Type: application/json
Content-Length: length
{"Elementi":[{"Conto":{"IsEconomico":false,"IsPatrimoniale":false,"CodiceMastro":"String","CodiceConto":"String","Descrizione":"String","Codice":"String","CodiceExport":"String","Id":0},"AttivitaRicavo":0,"PassivitaCosto":0,"Saldo":0}]}