GET api/MyPage/Product/Units

Request Information

URI Parameters

None.

Body Parameters

None.

Response Information

Resource Description

Collection of MyPageUnit
NameDescriptionTypeAdditional information
id

integer

None.

description

string

None.

quantityPerUnit

decimal number

None.

Response Formats

application/json, text/json

Sample:
[
  {
    "id": 1,
    "description": "sample string 1",
    "quantityPerUnit": 1.0
  },
  {
    "id": 1,
    "description": "sample string 1",
    "quantityPerUnit": 1.0
  }
]

application/xml, text/xml

Sample:
<ArrayOfMyPageUnit xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
  <MyPageUnit>
    <id>1</id>
    <description>sample string 1</description>
    <quantityPerUnit>1</quantityPerUnit>
  </MyPageUnit>
  <MyPageUnit>
    <id>1</id>
    <description>sample string 1</description>
    <quantityPerUnit>1</quantityPerUnit>
  </MyPageUnit>
</ArrayOfMyPageUnit>