POST api/school/transport/stops/save
Request Information
URI Parameters
None.
Body Parameters
TransportStopDto| Name | Description | Type | Additional information |
|---|---|---|---|
| id | integer |
None. |
|
| School_Id | integer |
None. |
|
| stopName | string |
None. |
|
| fromDate | string |
None. |
|
| toDate | string |
None. |
|
| charges | decimal number |
None. |
|
| distance | string |
None. |
Request Formats
application/json, text/json
Sample:
{
"id": 1,
"School_Id": 1,
"stopName": "sample string 2",
"fromDate": "sample string 3",
"toDate": "sample string 4",
"charges": 5.0,
"distance": "sample string 6"
}
application/xml, text/xml
Sample:
<TransportStopDto xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/SoapToRestAPI.Controllers"> <School_Id>1</School_Id> <charges>5</charges> <distance>sample string 6</distance> <fromDate>sample string 3</fromDate> <id>1</id> <stopName>sample string 2</stopName> <toDate>sample string 4</toDate> </TransportStopDto>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
IHttpActionResultNone.
Response Formats
application/json, text/json, application/xml, text/xml
Sample:
Sample not available.