GET api/prereq/onreqsessionremove/prerequisitessatisified/{webProductId}/{contactId}/{cartId}/{requestType}
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
webProductId | globally unique identifier |
Required |
|
contactId | globally unique identifier |
Required |
|
cartId | globally unique identifier |
Required |
|
requestType | string |
Required |
Body Parameters
None.
Response Information
Resource Description
PrerequisiteResponseName | Description | Type | Additional information |
---|---|---|---|
PassedValidation | boolean |
None. |
|
ErrorMessageToDisplay | string |
None. |
|
DependentCartItems | Collection of string |
None. |
Response Formats
application/json, text/json
Sample:
{ "PassedValidation": true, "ErrorMessageToDisplay": "sample string 2", "DependentCartItems": [ "sample string 1", "sample string 2" ] }
application/xml, text/xml
Sample:
<PrerequisiteResponse xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/AltaiStandard.Web.ClientIntegrationService.Helpers"> <DependentCartItems xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays"> <d2p1:string>sample string 1</d2p1:string> <d2p1:string>sample string 2</d2p1:string> </DependentCartItems> <ErrorMessageToDisplay>sample string 2</ErrorMessageToDisplay> <PassedValidation>true</PassedValidation> </PrerequisiteResponse>