POST api/Administrator/AddTransportArea

Request Information

URI Parameters

None.

Body Parameters

TransportAreaModel
NameDescriptionTypeAdditional information
ID

integer

None.

SelectedAreaID

integer

None.

AreaName

string

None.

SelectedBusID

integer

None.

BusNo

string

None.

ArrivalTime

string

None.

DepartureTime

string

None.

Amount

decimal number

None.

SessionID

integer

None.

CreateDate

date

None.

Status

integer

None.

Message

string

None.

Domain

string

None.

Request Formats

application/json, text/json

Sample:
{
  "ID": 1,
  "SelectedAreaID": 1,
  "AreaName": "sample string 2",
  "SelectedBusID": 1,
  "BusNo": "sample string 3",
  "ArrivalTime": "sample string 4",
  "DepartureTime": "sample string 5",
  "Amount": 1.0,
  "SessionID": 6,
  "CreateDate": "2024-12-02T17:24:35.3482866+05:30",
  "Status": 7,
  "Message": "sample string 8",
  "Domain": "sample string 9"
}

application/xml, text/xml

Sample:
<TransportAreaModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/OnlineSchoolManagement.Models.MasterModels">
  <Domain xmlns="http://schemas.datacontract.org/2004/07/OnlineSchoolManagement.Models">sample string 9</Domain>
  <Message xmlns="http://schemas.datacontract.org/2004/07/OnlineSchoolManagement.Models">sample string 8</Message>
  <Status xmlns="http://schemas.datacontract.org/2004/07/OnlineSchoolManagement.Models">7</Status>
  <Amount>1</Amount>
  <AreaName>sample string 2</AreaName>
  <ArrivalTime>sample string 4</ArrivalTime>
  <BusNo>sample string 3</BusNo>
  <CreateDate>2024-12-02T17:24:35.3482866+05:30</CreateDate>
  <DepartureTime>sample string 5</DepartureTime>
  <ID>1</ID>
  <SelectedAreaID>1</SelectedAreaID>
  <SelectedBusID>1</SelectedBusID>
  <SessionID>6</SessionID>
</TransportAreaModel>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

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

Sample:

Sample not available.