GET api/ShoppingCart?invoiceId={invoiceId}
Retrieve Shopping Cart based on the specified invoice id.
Possible Service Responses:
200/OK - match found and shopping cart record is in the body of the response.
404/Shopping Cart Not Found - no match found for the specified id.
500/Internal Server - unexpected server error, details in the body of the response.
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
invoiceId |
The id for the invoice record in CRM |
System.String |
Required |
Body Parameters
None.
Response Information
Resource Description
Contact
Altai.Web.Services.Models.ShoppingCartName | Description | Type | Additional information |
---|---|---|---|
Id | System.String |
None. |
|
BillToContactId | System.String |
None. |
|
ContactId | System.String |
None. |
|
InvoiceId | System.String |
None. |
|
ApplicationId | System.String |
None. |
|
PaymentAuthorizationNumber | System.String |
None. |
|
ConfirmationHtml | System.String |
None. |
Response Formats
application/json, text/json
Sample:
{ "Id": "sample string 1", "BillToContactId": "sample string 2", "ContactId": "sample string 3", "InvoiceId": "sample string 4", "ApplicationId": "sample string 5", "PaymentAuthorizationNumber": "sample string 6", "ConfirmationHtml": "sample string 7" }
application/xml, text/xml
Sample:
<ShoppingCart xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Altai.Web.Services.Models"> <ApplicationId>sample string 5</ApplicationId> <BillToContactId>sample string 2</BillToContactId> <ConfirmationHtml>sample string 7</ConfirmationHtml> <ContactId>sample string 3</ContactId> <Id>sample string 1</Id> <InvoiceId>sample string 4</InvoiceId> <PaymentAuthorizationNumber>sample string 6</PaymentAuthorizationNumber> </ShoppingCart>