GET api/ProductCategories/GetList

Request Information

URI Parameters

None.

Body Parameters

None.

Response Information

Resource Description

Collection of ProductCategoryModel
NameDescriptionTypeAdditional information
Id

globally unique identifier

None.

Name

string

None.

IsLock

boolean

None.

Response Formats

application/json, text/json

Sample:
[
  {
    "id": "4443000b-943c-4871-81c7-12e1eacd566e",
    "name": "sample string 2",
    "isLock": true
  },
  {
    "id": "4443000b-943c-4871-81c7-12e1eacd566e",
    "name": "sample string 2",
    "isLock": true
  }
]

application/xml, text/xml

Sample:
<ArrayOfProductCategoryModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/AgencyWebAPI.Models.Product">
  <ProductCategoryModel>
    <Id>4443000b-943c-4871-81c7-12e1eacd566e</Id>
    <IsLock>true</IsLock>
    <Name>sample string 2</Name>
  </ProductCategoryModel>
  <ProductCategoryModel>
    <Id>4443000b-943c-4871-81c7-12e1eacd566e</Id>
    <IsLock>true</IsLock>
    <Name>sample string 2</Name>
  </ProductCategoryModel>
</ArrayOfProductCategoryModel>