POST api/Product/PurchaseProduct
No documentation available.
Request Information
Parameters
Name | Description | Additional information |
---|---|---|
productPurchase | No documentation available. |
Define this parameter in the request body. |
Request body formats
application/json, text/json
Sample:
{ "MobileKey": "sample string 1", "ProductPlanID": "sample string 2", "UserID": "sample string 3", "Amount": "sample string 4", "BeneficiaryName": "sample string 5", "BeneficiaryRelationship": "sample string 6", "BeneficiaryNic": "sample string 7", "AgentID": "sample string 8", "ItemID": "sample string 9", "Quantity": "sample string 10", "PolicyNumber": "sample string 11" }
application/xml, text/xml
Sample:
<ProductPurchase xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/WinsureWebAPI.Models"> <AgentID>sample string 8</AgentID> <Amount>sample string 4</Amount> <BeneficiaryName>sample string 5</BeneficiaryName> <BeneficiaryNic>sample string 7</BeneficiaryNic> <BeneficiaryRelationship>sample string 6</BeneficiaryRelationship> <ItemID>sample string 9</ItemID> <MobileKey>sample string 1</MobileKey> <PolicyNumber>sample string 11</PolicyNumber> <ProductPlanID>sample string 2</ProductPlanID> <Quantity>sample string 10</Quantity> <UserID>sample string 3</UserID> </ProductPurchase>
application/x-www-form-urlencoded
Sample:
Sample not available.