The AddDCDFilesToWishList method is designed to allow users to add digital content distribution (DCD) files to the wish list.
The table below defines the AddDCDFilesToWishList method:
Inputs |
Data Type |
Required |
---|---|---|
Token |
String |
Y |
CartItemId |
Int |
Y |
BillMasterCustomerId |
String |
Y |
BillSubCustomerId |
Int |
Y |
ProductId |
Int |
Y |
FileId |
Int |
Y |
Placeholders
(shown in blue)
need to be replaced with actual values.
POST /PersonifyWebService/PersonifyShoppingCart.asmx HTTP/1.1
Host: dd-ebusiness
Content-Type: text/xml; charset=utf-8
Content-Length: length
SOAPAction: "http://personify.tmaresources.com/AddDCDFilesToWishList"
<?xml version="1.0" encoding="utf-8"?>
<soap:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">
<soap:Body>
<AddDCDFilesToWishList xmlns="http://personify.tmaresources.com/">
<Token>string</Token>
<CartItemId>int</CartItemId>
<BillMasterCustomerId>string</BillMasterCustomerId>
<BillSubCustomerId>int</BillSubCustomerId>
<ProductId>int</ProductId>
<FileId>int</FileId>
</AddDCDFilesToWishList>
</soap:Body>
</soap:Envelope>
HTTP/1.1 200 OK
Content-Type: text/xml; charset=utf-8
Content-Length: length
<?xml version="1.0" encoding="utf-8"?>
<soap:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">
<soap:Body>
<AddDCDFilesToWishListResponse xmlns=
"http://personify.tmaresources.com/">
<AddDCDFilesToWishListResult>
<ItemId>int</ItemId>
<Message>string</Message>
</AddDCDFilesToWishListResult>
</AddDCDFilesToWishListResponse>
</soap:Body>
</soap:Envelope>
<s:element name="AddDCDFilesToWishList">
<s:complexType>
<s:sequence>
<s:element minOccurs="0" maxOccurs="1" name="Token" type="s:string" />
<s:element minOccurs="1" maxOccurs="1" name="CartItemId" type="s:int" />
<s:element minOccurs="0" maxOccurs="1" name="BillMasterCustomerId" type="s:string" />
<s:element minOccurs="1" maxOccurs="1" name="BillSubCustomerId" type="s:int" />
<s:element minOccurs="1" maxOccurs="1" name="ProductId" type="s:int" />
<s:element minOccurs="1" maxOccurs="1" name="FileId" type="s:int" />
</s:sequence>
</s:complexType>
</s:element>