GET api/brusper/get_all_product?pcode={pcode}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
pcode

string

Required

Body Parameters

None.

Response Information

Resource Description

Collection of get_all_product
NameDescriptionTypeAdditional information
pname

string

None.

pctype

string

None.

pcode

string

None.

pimage

Collection of byte

None.

Response Formats

application/json, text/json

Sample:
[
  {
    "pname": "sample string 1",
    "pctype": "sample string 2",
    "pcode": "sample string 3",
    "pimage": "QEA="
  },
  {
    "pname": "sample string 1",
    "pctype": "sample string 2",
    "pcode": "sample string 3",
    "pimage": "QEA="
  }
]

application/xml, text/xml

Sample:
<ArrayOfget_all_product xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Brusper_api.Models">
  <get_all_product>
    <pcode>sample string 3</pcode>
    <pctype>sample string 2</pctype>
    <pimage>QEA=</pimage>
    <pname>sample string 1</pname>
  </get_all_product>
  <get_all_product>
    <pcode>sample string 3</pcode>
    <pctype>sample string 2</pctype>
    <pimage>QEA=</pimage>
    <pname>sample string 1</pname>
  </get_all_product>
</ArrayOfget_all_product>