Sample Json

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

Block Request JSON
         {  
            "ClientId":"XXXX",
            "UserName":"XXXX",
            "Password":"XXXX",
            "ResultIndex":"XXXX",
            "TraceId":"XXXX",
            "BoardingPointId":1,
            "DroppingPointId":1,
            "RefID":"1",
            "Passenger":[  
               {  
                  "LeadPassenger":true,
                  "PassengerId":0,
                  "Title":"Mr",
                  "FirstName":"Amit",
                  "LastName":"Singh",
                  "Email":"amit@srdvtechnologies.com",
                  "Phoneno":"9643737502",
                  "Gender":"1",
                  "IdType":null,
                  "IdNumber":null,
                  "Address":"Modinagar",
                  "Age":"22",
                  "Seat":{  
                     "ColumnNo":"001",
                     "Height":1,
                     "IsLadiesSeat":false,
                     "IsMalesSeat":false,
                     "IsUpper":false,
                     "RowNo":"000",
                     "SeatFare":400,
                     "SeatIndex":2,
                     "SeatName":"2",
                     "SeatStatus":true,
                     "SeatType":1,
                     "Width":1,
                     "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,
                           "SGSTAmount":0,
                           "SGSTRate":0,
                           "TaxableAmount":0
                        }
                     }
                  }
               },
               {  
                  "LeadPassenger":false,
                  "PassengerId":0,
                  "Title":"Mr",
                  "FirstName":"ramesh",
                  "LastName":"Tomar",
                  "Email":"ramesh@srdvtechnologies.com",
                  "Phoneno":"1234567890",
                  "Gender":"1",
                  "IdType":null,
                  "IdNumber":null,
                  "Address":"Modinagar",
                  "Age":"28",
                  "Seat":{  
                     "ColumnNo":"002",
                     "Height":1,
                     "IsLadiesSeat":false,
                     "IsMalesSeat":false,
                     "IsUpper":false,
                     "RowNo":"000",
                     "SeatFare":400,
                     "SeatIndex":3,
                     "SeatName":"3",
                     "SeatStatus":true,
                     "SeatType":1,
                     "Width":1,
                     "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,
                           "SGSTAmount":0,
                           "SGSTRate":0,
                           "TaxableAmount":0
                        }
                     }
                  }
               }
            ]
         }
Block Response JSON
      {  
         "Error":{  
            "ErrorCode":0,
            "ErrorMessage":""
         },
         "Result":{  
            "TraceId":"XXXX",
            "ResponseStatus":1,
            "ArrivalTime":"09/17/2019 12:45:00",
            "BusType":"Leyland Non A/C Seater KingSize Family (2+2)",
            "DepartureTime":"09/17/2019 21:45:00",
            "ServiceName":"XXXX",
            "TravelName":"test_agent13",
            "BoardingPointdetails":{  
               "CityPointIndex":1,
               "CityPointLocation":"Vashi Plaza Signal",
               "CityPointName":"Vashi Plaza Signal",
               "CityPointTime":"2019-09-17T10:10:00"
            },
            "CancelPolicy":[  
               {  
                  "CancellationCharge":10,
                  "CancellationChargeType":2,
                  "PolicyString":"Till 16:45 on 16 Sep 2019",
                  "FromDate":"2019-08-28T07:07:08",
                  "ToDate":"2019-09-16T16:45:00"
               },
               {  
                  "CancellationCharge":50,
                  "CancellationChargeType":2,
                  "PolicyString":"Between 16:45 on 16 Sep 2019 - 04:45 on 17 Sep 2019",
                  "FromDate":"2019-09-16T16:45:00",
                  "ToDate":"2019-09-17T04:45:00"
               },
               {  
                  "CancellationCharge":100,
                  "CancellationChargeType":2,
                  "PolicyString":"After 04:45 on 17 Sep 2019",
                  "FromDate":"2019-09-17T04:45:00",
                  "ToDate":"2019-09-17T12:45:00"
               }
            ],
            "Passenger":[  
               {  
                  "LeadPassenger":true,
                  "Title":"Mr",
                  "Address":"Modinagar",
                  "Age":22,
                  "FirstName":"Amit",
                  "Gender":1,
                  "IdNumber":null,
                  "IdType":null,
                  "Phoneno":"9643737502",
                  "Seat":{  
                     "ColumnNo":"001",
                     "Height":1,
                     "IsLadiesSeat":false,
                     "IsMalesSeat":false,
                     "IsUpper":false,
                     "RowNo":"000",
                     "SeatFare":400,
                     "SeatIndex":2,
                     "SeatName":"2",
                     "SeatStatus":true,
                     "SeatType":1,
                     "Width":1,
                     "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,
                           "SGSTAmount":0,
                           "SGSTRate":0,
                           "TaxableAmount":0
                        }
                     }
                  }
               },
               {  
                  "LeadPassenger":false,
                  "Title":"Mr",
                  "Address":"Modinagar",
                  "Age":28,
                  "FirstName":"ramesh",
                  "Gender":1,
                  "IdNumber":null,
                  "IdType":null,
                  "Phoneno":"7417826266",
                  "Seat":{  
                     "ColumnNo":"002",
                     "Height":1,
                     "IsLadiesSeat":false,
                     "IsMalesSeat":false,
                     "IsUpper":false,
                     "RowNo":"000",
                     "SeatFare":400,
                     "SeatIndex":3,
                     "SeatName":"3",
                     "SeatStatus":true,
                     "SeatType":1,
                     "Width":1,
                     "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,
                           "SGSTAmount":0,
                           "SGSTRate":0,
                           "TaxableAmount":0
                        }
                     }
                  }
               }
            ]
         }
      }