GET api/receipt?cartId={cartId}
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
cartId | globally unique identifier |
Required |
Body Parameters
None.
Response Information
Resource Description
ReceiptName | Description | Type | Additional 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": "125328ef-9212-4afd-b759-8e314e610c47", "Messages": [ "sample string 1", "sample string 2" ], "InvoiceNumber": "sample string 2", "InvoiceDate": "2024-11-21T10:23:07.1108368+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-21T10:23:07.1108368+00:00</InvoiceDate> <InvoiceId>125328ef-9212-4afd-b759-8e314e610c47</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>