GET api/prepaid/products?cardnumber={cardnumber}&email={email}

Get products

Request Information

URI Parameters

NameDescriptionTypeAdditional information
cardnumber

The cardnumber of the customer

string

Required

email

Email addres of the customer

string

Required

Body Parameters

Response Information

Resource Description

A list of products

prepaidproductsresult
NameDescriptionTypeAdditional information
success

Indicates if the action was successfull

boolean

None.

remark

A description regarding the result

string

None.

count

The number of products in this list

integer

None.

prepaidproducts

The list of products

Collection of prepaidproduct

None.

Response Formats

application/json, text/json

Sample:
{
  "success": true,
  "remark": "sample string 2",
  "count": 3,
  "prepaidproducts": [
    {
      "productcode": 1,
      "description": "sample string 2",
      "extradescription": [
        "sample string 1",
        "sample string 2"
      ],
      "price": 3.0,
      "amount": 4.0
    },
    {
      "productcode": 1,
      "description": "sample string 2",
      "extradescription": [
        "sample string 1",
        "sample string 2"
      ],
      "price": 3.0,
      "amount": 4.0
    }
  ]
}

application/xml, text/xml

Sample:
<prepaidproductsresult xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/TechnoDataSystems.Enterprise.TotalWash.Web.API">
  <count>3</count>
  <prepaidproducts>
    <prepaidproduct>
      <amount>4</amount>
      <description>sample string 2</description>
      <extradescription xmlns:d4p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
        <d4p1:string>sample string 1</d4p1:string>
        <d4p1:string>sample string 2</d4p1:string>
      </extradescription>
      <price>3</price>
      <productcode>1</productcode>
    </prepaidproduct>
    <prepaidproduct>
      <amount>4</amount>
      <description>sample string 2</description>
      <extradescription xmlns:d4p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
        <d4p1:string>sample string 1</d4p1:string>
        <d4p1:string>sample string 2</d4p1:string>
      </extradescription>
      <price>3</price>
      <productcode>1</productcode>
    </prepaidproduct>
  </prepaidproducts>
  <remark>sample string 2</remark>
  <success>true</success>
</prepaidproductsresult>