GET api/receipt?cartId={cartId}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
cartId

globally unique identifier

Required

Body Parameters

None.

Response Information

Resource Description

Receipt
NameDescriptionTypeAdditional information
InvoiceId

globally unique identifier

None.

Messages

Collection of string

None.

InvoiceNumber

string

None.

InvoiceDate

date

None.

TotalAmountPaid

decimal number

None.

PaymentAuthorizationNumber

string

None.

Response Formats

application/json, text/json

Sample:
{
  "InvoiceId": "e65ab368-fd1b-48e5-a01d-126fa5a80423",
  "Messages": [
    "sample string 1",
    "sample string 2"
  ],
  "InvoiceNumber": "sample string 2",
  "InvoiceDate": "2024-11-21T08:43:08.7556855+00:00",
  "TotalAmountPaid": 4.0,
  "PaymentAuthorizationNumber": "sample string 5"
}

application/xml, text/xml

Sample:
<Receipt xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/HRCI.Services.BL.Models">
  <InvoiceDate>2024-11-21T08:43:08.7556855+00:00</InvoiceDate>
  <InvoiceId>e65ab368-fd1b-48e5-a01d-126fa5a80423</InvoiceId>
  <InvoiceNumber>sample string 2</InvoiceNumber>
  <Messages xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
    <d2p1:string>sample string 1</d2p1:string>
    <d2p1:string>sample string 2</d2p1:string>
  </Messages>
  <PaymentAuthorizationNumber>sample string 5</PaymentAuthorizationNumber>
  <TotalAmountPaid>4</TotalAmountPaid>
</Receipt>