POST api/EndOfTrip/ConfirmReceipt

Request Information

URI Parameters

None.

Body Parameters

globally unique identifier

Request Formats

application/json, text/json

Sample:
"5af3afd0-91ef-44cc-a6b4-72658b70cf1f"

application/xml, text/xml

Sample:
<guid xmlns="http://schemas.microsoft.com/2003/10/Serialization/">5af3afd0-91ef-44cc-a6b4-72658b70cf1f</guid>

application/x-www-form-urlencoded

Sample:

Failed to generate the sample for media type 'application/x-www-form-urlencoded'. Cannot use formatter 'JQueryMvcFormUrlEncodedFormatter' to write type 'Guid'.

Response Information

Resource Description

ExceptionResponse
NameDescriptionTypeAdditional information
ResponseStatus

ResponseStatus

None.

Response Formats

application/json, text/json

Sample:
{
  "ResponseStatus": {
    "ErrorCode": "sample string 1",
    "Message": "sample string 2",
    "StackTrace": "sample string 3",
    "Errors": [
      "sample string 1",
      "sample string 2"
    ],
    "Title": "sample string 4"
  }
}

application/xml, text/xml

Sample:
<ExceptionResponse xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/RCCI.Models">
  <ResponseStatus>
    <ErrorCode>sample string 1</ErrorCode>
    <Errors xmlns:d3p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
      <d3p1:string>sample string 1</d3p1:string>
      <d3p1:string>sample string 2</d3p1:string>
    </Errors>
    <Message>sample string 2</Message>
    <StackTrace>sample string 3</StackTrace>
    <Title>sample string 4</Title>
  </ResponseStatus>
</ExceptionResponse>