DELETE api/classAllocation/delete-allocations-by-criteria

Request Information

URI Parameters

None.

Body Parameters

AllocationCriteria
NameDescriptionTypeAdditional information
School

string

None.

Session

string

None.

Term

string

None.

Class

string

None.

Request Formats

application/json, text/json

Sample:
{
  "School": "sample string 1",
  "Session": "sample string 2",
  "Term": "sample string 3",
  "Class": "sample string 4"
}

application/xml, text/xml

Sample:
<AllocationCriteria xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/BaseLibrary.DTOs">
  <Class>sample string 4</Class>
  <School>sample string 1</School>
  <Session>sample string 2</Session>
  <Term>sample string 3</Term>
</AllocationCriteria>

application/x-www-form-urlencoded

Sample:

Failed to generate the sample for media type 'application/x-www-form-urlencoded'. Cannot use formatter 'JQueryMvcFormUrlEncodedFormatter' to write type 'AllocationCriteria'.

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

application/json, text/json, application/xml, text/xml

Sample:

Sample not available.