GET api/DamageCauses

Request Information

URI Parameters

None.

Body Parameters

None.

Response Information

Resource Description

Collection of DamageCause
NameDescriptionTypeAdditional 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"
  },
  {
    "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:
<ArrayOfDamageCause xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/PoultryManagementAPI.Models">
  <DamageCause>
    <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>
  <DamageCause>
    <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>
</ArrayOfDamageCause>