Given Event Details resource is accessible
And Event Details resource is accessible
When the client request the Event Details in JSON
Then the Web API should return Event Details in JSON
And returned response is supplied with the Event Details resource URL
Given Event Details resource is accessible
And Event Details resource is accessible
When the client request the Event Details in XML
Then the Web API should return Event Details in XML
And returned response is supplied with the Event Details resource URL
Given the Web API only support JSON and XML for the response
When the client request the resource with Content-Type other than JSON or XML
Then the Web API should return HTTP 406 code
And returned reponse should be contained an client error message