GET api/organicmaterial/organicmaterialcategory_list
Organic Material Category list
Request Information
Authorization is required
Response Codes
- OK (200)
- BadRequest (400)
- Unauthorized (401)
- NotFound (404)
URI Parameters
None.
Body Parameters
None.
Response Information
Resource Description
Returns a list of all available Organic Material Categories
Collection of organicmaterialcategoryName | Description | Type | Additional information |
---|---|---|---|
OrganicMaterialCategoryID |
Organic Material Category ID |
integer |
None. |
OrganicMaterialCategoryName |
Organic Material Category Name |
string |
None. |
Response Formats
application/json, text/json
Sample:
[ { "OrganicMaterialCategoryID": 1, "OrganicMaterialCategoryName": "sample string 2" }, { "OrganicMaterialCategoryID": 1, "OrganicMaterialCategoryName": "sample string 2" } ]
application/xml, text/xml
Sample:
<ArrayOforganicmaterialcategory xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/RB209_WebApi.Models.OrganicMaterial"> <organicmaterialcategory> <OrganicMaterialCategoryID>1</OrganicMaterialCategoryID> <OrganicMaterialCategoryName>sample string 2</OrganicMaterialCategoryName> </organicmaterialcategory> <organicmaterialcategory> <OrganicMaterialCategoryID>1</OrganicMaterialCategoryID> <OrganicMaterialCategoryName>sample string 2</OrganicMaterialCategoryName> </organicmaterialcategory> </ArrayOforganicmaterialcategory>