POST api/school/transport/assign/save
Request Information
URI Parameters
None.
Body Parameters
TransportAssignDto| Name | Description | Type | Additional information |
|---|---|---|---|
| id | integer |
None. |
|
| School_Id | integer |
None. |
|
| Year_Id | integer |
None. |
|
| userId | integer |
None. |
|
| userType | string |
None. |
|
| charges | decimal number |
None. |
|
| pickupBusId | integer |
None. |
|
| pickupRouteId | integer |
None. |
|
| pickupStopId | integer |
None. |
|
| dropBusId | integer |
None. |
|
| dropRouteId | integer |
None. |
|
| dropStopId | integer |
None. |
|
| busOptedDate | string |
None. |
Request Formats
application/json, text/json
Sample:
{
"id": 1,
"School_Id": 1,
"Year_Id": 2,
"userId": 3,
"userType": "sample string 4",
"charges": 5.0,
"pickupBusId": 6,
"pickupRouteId": 7,
"pickupStopId": 8,
"dropBusId": 9,
"dropRouteId": 10,
"dropStopId": 11,
"busOptedDate": "sample string 12"
}
application/xml, text/xml
Sample:
<TransportAssignDto xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/SoapToRestAPI.Controllers"> <School_Id>1</School_Id> <Year_Id>2</Year_Id> <busOptedDate>sample string 12</busOptedDate> <charges>5</charges> <dropBusId>9</dropBusId> <dropRouteId>10</dropRouteId> <dropStopId>11</dropStopId> <id>1</id> <pickupBusId>6</pickupBusId> <pickupRouteId>7</pickupRouteId> <pickupStopId>8</pickupStopId> <userId>3</userId> <userType>sample string 4</userType> </TransportAssignDto>
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.