British-Library-Architecture / bpm-tender

Resources for the British Library BPM tender (2017) technical demonstration
https://british-library-architecture.github.io/bpm-tender/
MIT License
0 stars 0 forks source link

Bank Account API output format #2

Open mtavira opened 7 years ago

mtavira commented 7 years ago

I've noticed the Bank Account API (http://bpmn-api.northeurope.cloudapp.azure.com/api/v1/bankaccount/200415/) returns the information in XML format. The rest of the API's return the information in JSON format. Is there a way to choose the output format?

GuyWicks commented 7 years ago

For the purposes of this demonstration, I wanted to provide a series of JSON only interfaces and XML only service interfaces/ This is so we can check and compare that that the client / consuming systems can support both formats. These services were not intended to be polymorphic. Guy

On 19 September 2017 at 14:17, mtavira notifications@github.com wrote:

I've noticed the Bank Account API (http://bpmn-api.northeurope. cloudapp.azure.com/api/v1/bankaccount/200415/) returns the information in XML format. The rest of the API's return the information in JSON format. Is there a way to choose the output format?

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/British-Library-Architecture/bpm-tender/issues/2, or mute the thread https://github.com/notifications/unsubscribe-auth/ALfnDOJOwgiZWhHLlekFm8Q5bue1Bn5hks5sj78DgaJpZM4PcYMs .