GET api/DamageCauses/{id}
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| id | integer |
Required |
Body Parameters
None.
Response Information
Resource Description
DamageCause| Name | Description | Type | Additional information |
|---|---|---|---|
| Id | integer |
None. |
|
| Title | string |
None. |
|
| SystemName | string |
None. |
|
| OrderSerial | integer |
None. |
|
| ActiveStatus | boolean |
None. |
|
| BatchPhaseTypeId | string |
None. |
|
| ProductTypeId | string |
None. |
Response Formats
application/json, text/json
Sample:
{
"Id": 1,
"Title": "sample string 2",
"SystemName": "sample string 3",
"OrderSerial": 4,
"ActiveStatus": true,
"BatchPhaseTypeId": "sample string 6",
"ProductTypeId": "sample string 7"
}
application/xml, text/xml
Sample:
<DamageCause xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/PoultryManagementAPI.Models"> <ActiveStatus>true</ActiveStatus> <BatchPhaseTypeId>sample string 6</BatchPhaseTypeId> <Id>1</Id> <OrderSerial>4</OrderSerial> <ProductTypeId>sample string 7</ProductTypeId> <SystemName>sample string 3</SystemName> <Title>sample string 2</Title> </DamageCause>