POST api/batches?batchId={batchId}&batchName={batchName}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
batchId

integer

None.

batchName

string

None.

Body Parameters

None.

Response Information

Resource Description

batches
NameDescriptionTypeAdditional information
batchId

integer

None.

batchName

string

None.

Response Formats

application/json, text/json

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

text/html

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

application/xml, text/xml

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