POST api/RouteMaster/AddStopDetails
Request Information
URI Parameters
None.
Body Parameters
Collection of RouteDetailModel| Name | Description | Type | Additional information |
|---|---|---|---|
| RouteDetailId | integer |
None. |
|
| RouteID | integer |
None. |
|
| StopID | integer |
None. |
|
| PickUPtime | time interval |
None. |
|
| Droptime | time interval |
None. |
|
| serialNumber | integer |
None. |
|
| distance | decimal number |
None. |
|
| MonthlyFees | decimal number |
None. |
|
| Totaldistance | integer |
None. |
|
| StopCode | string |
None. |
|
| StopName | string |
None. |
|
| CreatedDate | date |
None. |
|
| CreatedBy_ID | integer |
None. |
|
| ModifiedDate | date |
None. |
|
| ModifiedBy_ID | integer |
None. |
|
| SchoolID | integer |
None. |
|
| GroupID | integer |
None. |
|
| ISDeleted | boolean |
None. |
|
| Sessionyear | integer |
None. |
|
| ASGMapping_Id | integer |
None. |
|
| sgmapping_id | integer |
None. |
Request Formats
application/json, text/json
Sample:
[
{
"routedetailid": 1,
"routeid": 1,
"stopid": 1,
"pickuptime": "00:00:00.1234567",
"droptime": "00:00:00.1234567",
"serialnumber": 1,
"distance": 1.0,
"monthlyfees": 1.0,
"totaldistance": 2,
"stopcode": "sample string 3",
"stopname": "sample string 4",
"createddate": "2025-12-06T12:26:48.4157796+05:30",
"createdby_id": 6,
"modifieddate": "2025-12-06T12:26:48.4157796+05:30",
"modifiedby_id": 1,
"schoolid": 1,
"groupid": 1,
"isdeleted": true,
"sessionyear": 1,
"asgmapping_id": 7,
"sgmapping_id": 8
},
{
"routedetailid": 1,
"routeid": 1,
"stopid": 1,
"pickuptime": "00:00:00.1234567",
"droptime": "00:00:00.1234567",
"serialnumber": 1,
"distance": 1.0,
"monthlyfees": 1.0,
"totaldistance": 2,
"stopcode": "sample string 3",
"stopname": "sample string 4",
"createddate": "2025-12-06T12:26:48.4157796+05:30",
"createdby_id": 6,
"modifieddate": "2025-12-06T12:26:48.4157796+05:30",
"modifiedby_id": 1,
"schoolid": 1,
"groupid": 1,
"isdeleted": true,
"sessionyear": 1,
"asgmapping_id": 7,
"sgmapping_id": 8
}
]
application/xml, text/xml
Sample:
<ArrayOfRouteDetailModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/GEE.Business.Model.Transport">
<RouteDetailModel>
<ASGMapping_Id xmlns="http://schemas.datacontract.org/2004/07/GEE.Business.Models">7</ASGMapping_Id>
<CreatedBy_ID xmlns="http://schemas.datacontract.org/2004/07/GEE.Business.Models">6</CreatedBy_ID>
<CreatedDate xmlns="http://schemas.datacontract.org/2004/07/GEE.Business.Models">2025-12-06T12:26:48.4157796+05:30</CreatedDate>
<GroupID xmlns="http://schemas.datacontract.org/2004/07/GEE.Business.Models">1</GroupID>
<ISDeleted xmlns="http://schemas.datacontract.org/2004/07/GEE.Business.Models">true</ISDeleted>
<ModifiedBy_ID xmlns="http://schemas.datacontract.org/2004/07/GEE.Business.Models">1</ModifiedBy_ID>
<ModifiedDate xmlns="http://schemas.datacontract.org/2004/07/GEE.Business.Models">2025-12-06T12:26:48.4157796+05:30</ModifiedDate>
<SchoolID xmlns="http://schemas.datacontract.org/2004/07/GEE.Business.Models">1</SchoolID>
<Sessionyear xmlns="http://schemas.datacontract.org/2004/07/GEE.Business.Models">1</Sessionyear>
<sgmapping_id xmlns="http://schemas.datacontract.org/2004/07/GEE.Business.Models">8</sgmapping_id>
<Droptime>PT0.1234567S</Droptime>
<MonthlyFees>1</MonthlyFees>
<PickUPtime>PT0.1234567S</PickUPtime>
<RouteDetailId>1</RouteDetailId>
<RouteID>1</RouteID>
<StopCode>sample string 3</StopCode>
<StopID>1</StopID>
<StopName>sample string 4</StopName>
<Totaldistance>2</Totaldistance>
<distance>1</distance>
<serialNumber>1</serialNumber>
</RouteDetailModel>
<RouteDetailModel>
<ASGMapping_Id xmlns="http://schemas.datacontract.org/2004/07/GEE.Business.Models">7</ASGMapping_Id>
<CreatedBy_ID xmlns="http://schemas.datacontract.org/2004/07/GEE.Business.Models">6</CreatedBy_ID>
<CreatedDate xmlns="http://schemas.datacontract.org/2004/07/GEE.Business.Models">2025-12-06T12:26:48.4157796+05:30</CreatedDate>
<GroupID xmlns="http://schemas.datacontract.org/2004/07/GEE.Business.Models">1</GroupID>
<ISDeleted xmlns="http://schemas.datacontract.org/2004/07/GEE.Business.Models">true</ISDeleted>
<ModifiedBy_ID xmlns="http://schemas.datacontract.org/2004/07/GEE.Business.Models">1</ModifiedBy_ID>
<ModifiedDate xmlns="http://schemas.datacontract.org/2004/07/GEE.Business.Models">2025-12-06T12:26:48.4157796+05:30</ModifiedDate>
<SchoolID xmlns="http://schemas.datacontract.org/2004/07/GEE.Business.Models">1</SchoolID>
<Sessionyear xmlns="http://schemas.datacontract.org/2004/07/GEE.Business.Models">1</Sessionyear>
<sgmapping_id xmlns="http://schemas.datacontract.org/2004/07/GEE.Business.Models">8</sgmapping_id>
<Droptime>PT0.1234567S</Droptime>
<MonthlyFees>1</MonthlyFees>
<PickUPtime>PT0.1234567S</PickUPtime>
<RouteDetailId>1</RouteDetailId>
<RouteID>1</RouteID>
<StopCode>sample string 3</StopCode>
<StopID>1</StopID>
<StopName>sample string 4</StopName>
<Totaldistance>2</Totaldistance>
<distance>1</distance>
<serialNumber>1</serialNumber>
</RouteDetailModel>
</ArrayOfRouteDetailModel>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
HttpResponseMessage| Name | Description | Type | Additional information |
|---|---|---|---|
| Version | Version |
None. |
|
| Content | HttpContent |
None. |
|
| StatusCode | HttpStatusCode |
None. |
|
| ReasonPhrase | string |
None. |
|
| Headers | Collection of Object |
None. |
|
| RequestMessage | HttpRequestMessage |
None. |
|
| IsSuccessStatusCode | boolean |
None. |