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": "bb617d6f-c89b-4f00-85df-14e5c8483913",
  "Messages": [
    "sample string 1",
    "sample string 2"
  ],
  "InvoiceNumber": "sample string 2",
  "InvoiceDate": "2024-11-17T12:14:07.9958532-05: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-17T12:14:07.9958532-05:00</InvoiceDate>
  <InvoiceId>bb617d6f-c89b-4f00-85df-14e5c8483913</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>