GET api/batches

Request Information

URI Parameters

None.

Body Parameters

None.

Response Information

Resource Description

Collection of batches
NameDescriptionTypeAdditional information
batchId

integer

None.

batchName

string

None.

Response Formats

application/json, text/json

Sample:
[
  {
    "batchId": 1,
    "batchName": "sample string 2"
  },
  {
    "batchId": 1,
    "batchName": "sample string 2"
  }
]

text/html

Sample:
[{"batchId":1,"batchName":"sample string 2"},{"batchId":1,"batchName":"sample string 2"}]

application/xml, text/xml

Sample:
<ArrayOfbatches xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/facultyfriendapps.Models">
  <batches>
    <batchId>1</batchId>
    <batchName>sample string 2</batchName>
  </batches>
  <batches>
    <batchId>1</batchId>
    <batchName>sample string 2</batchName>
  </batches>
</ArrayOfbatches>