Sample Json

https://bus.srdvtest.com/v8/rest/Search

Search Request JSON
                                {  
   "ClientId":"XXXX",
   "UserName":"XXXX",
   "Password":"XXXX",
   "source_city":"Mumbai",
   "source_code":"3534",
   "destination_city":"Pune",
   "destination_code":"9771",
   "depart_date":"2020-06-14"
}


Search Response JSON
                                {  
   "Error":{  
      "ErrorCode":0,
      "ErrorMessage":""
   },
   "Result":{  
      "TraceId":"XXXX",
      "BusResults":{    
            "ResultIndex":1,
            "ArrivalTime":"2019-09-17T12:45:00",
            "AvailableSeats":20,
            "DepartureTime":"2019-09-17T21:45:00",
            "RouteId":"2000003731810104093",
            "BusType":"Leyland Non A/C Seater KingSize Family (2+2)",
            "ServiceName":"Seat Seller",
            "TravelName":"test_agent13",
            "IdProofRequired":false,
            "IsDropPointMandatory":false,
            "LiveTrackingAvailable":false,
            "MTicketEnabled":true,
            "MaxSeatsPerTicket":6,
            "OperatorId":123123,
            "PartialCancellationAllowed":true,
            "BoardingPoints":[  
               {  
                  "CityPointIndex":1,
                  "CityPointLocation":"Vashi Plaza Signal",
                  "CityPointName":"Vashi Plaza Signal",
                  "CityPointTime":"2019-09-17T10:10:00"
               },
               {  
                  "CityPointIndex":2,
                  "CityPointLocation":"Bandra West",
                  "CityPointName":"Bandra West",
                  "CityPointTime":"2019-09-17T12:30:00"
               },
               {  
                  "CityPointIndex":3,
                  "CityPointLocation":"Kashimira (E)",
                  "CityPointName":"Kashimira",
                  "CityPointTime":"2019-09-17T21:45:00"
               },
               {  
                  "CityPointIndex":4,
                  "CityPointLocation":"Kalamboli Mc Donolds Hotel",
                  "CityPointName":"Kalamboli Mc Donolds Hotel",
                  "CityPointTime":"2019-09-17T21:55:00"
               },
               {  
                  "CityPointIndex":5,
                  "CityPointLocation":"Malad (E) Shantaram Talao",
                  "CityPointName":"Malad (E) Shantaram Talao",
                  "CityPointTime":"2019-09-17T22:15:00"
               }
            ],
            "DroppingPoints":[  
               {  
                  "CityPointIndex":1,
                  "CityPointLocation":"Wakad",
                  "CityPointName":"Wakad",
                  "CityPointTime":"2019-09-17T12:45:00"
               },
               {  
                  "CityPointIndex":2,
                  "CityPointLocation":"Katraj",
                  "CityPointName":"Katraj",
                  "CityPointTime":"2019-09-17T12:55:00"
               }
            ],
            "Price":{  
               "CurrencyCode":"INR",
               "BasePrice":400,
               "Tax":0,
               "OtherCharges":0,
               "Discount":0,
               "PublishedPrice":400,
               "PublishedPriceRoundedOff":400,
               "OfferedPrice":380,
               "OfferedPriceRoundedOff":380,
               "AgentCommission":20,
               "AgentMarkUp":0,
               "TDS":8,
               "GST":{  
                  "CGSTAmount":0,
                  "CGSTRate":0,
                  "CessAmount":0,
                  "CessRate":0,
                  "IGSTAmount":0,
                  "IGSTRate":18,
                  "SGSTRate":0,
                  "TaxableAmount":0
               }
            },
            "CancellationPolicies":[  
               {  
                  "CancellationCharge":10,
                  "CancellationChargeType":2,
                  "PolicyString":"Till 16:45 on 16 Sep 2019",
                  "TimeBeforeDept":"29$-1",
                  "FromDate":"2019-08-25T12:27:03",
                  "ToDate":"2019-09-16T16:45:00"
               },
               {  
                  "CancellationCharge":50,
                  "CancellationChargeType":2,
                  "PolicyString":"Between 16:45 on 16 Sep 2019 - 04:45 on 17 Sep 2019",
                  "TimeBeforeDept":"17$29",
                  "FromDate":"2019-09-16T16:45:00",
                  "ToDate":"2019-09-17T04:45:00"
               },
               {  
                  "CancellationCharge":100,
                  "CancellationChargeType":2,
                  "PolicyString":"After 04:45 on 17 Sep 2019",
                  "TimeBeforeDept":"0$17",
                  "FromDate":"2019-09-17T04:45:00",
                  "ToDate":"2019-09-17T12:45:00"
               }
            ]
         }
      }
}