GET api/ProductType/GetListProductUnit

Request Information

URI Parameters

None.

Body Parameters

None.

Response Information

Resource Description

Collection of ProductUnitViewModel
NameDescriptionTypeAdditional information
ProductUnitId

globally unique identifier

None.

Title

string

None.

Title_en

string

None.

Response Formats

application/json, text/json

Sample:
[
  {
    "ProductUnitId": "6d0e52cb-1904-490c-869a-3d2c5bac5678",
    "Title": "sample string 2",
    "Title_en": "sample string 3"
  },
  {
    "ProductUnitId": "6d0e52cb-1904-490c-869a-3d2c5bac5678",
    "Title": "sample string 2",
    "Title_en": "sample string 3"
  }
]

text/html

Sample:
[{"ProductUnitId":"6d0e52cb-1904-490c-869a-3d2c5bac5678","Title":"sample string 2","Title_en":"sample string 3"},{"ProductUnitId":"6d0e52cb-1904-490c-869a-3d2c5bac5678","Title":"sample string 2","Title_en":"sample string 3"}]

application/xml, text/xml

Sample:
<ArrayOfProductUnitViewModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Fruta.ViewModels">
  <ProductUnitViewModel>
    <ProductUnitId>6d0e52cb-1904-490c-869a-3d2c5bac5678</ProductUnitId>
    <Title>sample string 2</Title>
    <Title_en>sample string 3</Title_en>
  </ProductUnitViewModel>
  <ProductUnitViewModel>
    <ProductUnitId>6d0e52cb-1904-490c-869a-3d2c5bac5678</ProductUnitId>
    <Title>sample string 2</Title>
    <Title_en>sample string 3</Title_en>
  </ProductUnitViewModel>
</ArrayOfProductUnitViewModel>