GET api/Job?categoryId={categoryId}&timberName={timberName}
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| categoryId | integer |
Required |
|
| timberName | string |
Required |
Body Parameters
None.
Response Information
Resource Description
ComponentTimberViewModel| Name | Description | Type | Additional information |
|---|---|---|---|
| TimberId | integer |
None. |
|
| Timber | string |
None. |
|
| TimberEnabled | boolean |
None. |
|
| WithinTheme | boolean |
None. |
Response Formats
application/json, text/json
Sample:
{
"timberId": 1,
"timber": "sample string 2",
"timberEnabled": true,
"withinTheme": true
}
application/xml, text/xml
Sample:
<ComponentTimberViewModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/StairBiz.Contracts.ViewModels"> <Timber>sample string 2</Timber> <TimberEnabled>true</TimberEnabled> <TimberId>1</TimberId> <WithinTheme>true</WithinTheme> </ComponentTimberViewModel>