how to post the data(POST method) using api url in asp.net

Last Reply 7 days ago By dharmendr

Posted 9 days ago

sir 

how to post the data(POST method) using api url in asp.net

api url: http://apistaging.ticketsimply.com/gds/api/confirm_booking/TS170717160431HOVV.json?api_key=TSAPILAXMIHOLIDAYS321

{
"result":
{
"ticket_details":
{
"ticket_status": "Confirmed",
"ticket_number": "TS170717160431HOVV",
"operator_pnr": "357130",
"travel_operator_pnr": "357130",
"origin": "Hyderabad",
"destination": "Khammam",
"travel_date": "2017-07-20",
"no_of_seats": 1,
2
"seat_numbers": "A2",
"travels": "Siri Travels R5",
"service_number": "New Route",
"bus_type": "2+2, Hitech Push Back,Non-AC, LCD (41 seats)",
"dep_time": "06:00 PM",
"duration": "12:00",
"boarding_point_details":
{
"name": "Ameerpet",
"dep_time": "06:00 PM",
"boarding_stage_address": "Near r.s.bros, beside kalamandir opp
chermas, Hyderabad, Andhra pradesh , Pin: 000000",
"landmark": "Near R.S.Bros, Beside Kalamandir Opp Chermas",
"contact_numbers": "9246946913"
},
"agent_ref_number": null,
"total_fare": 534,
"service_tax_percent": 5,
"convenience_charge_percent": 1.8,
"seat_fare_details":
[
{
"seat_detail":
{
"seat_number": "A2",
"fare": 500,
"our_commission": 59,
"service_tax": 25,
"convenience_charge": 9,
"offer_discount": 0,
"discount": 0,
"additional_fare": 0,
"tieup_agent_commission_percentage": 59,
"my_commission": 45,
"our_convenience_charge_amount": 0.9
}
}
],
"commission": 45,
"passenger_details":
{
"title": "Mr",
"gender": "M",
"name": "Subhan",
"age": 23,
"mobile": "9940964189",
"email": "rajesh@hermes-it.in"
},
"commission_percent": 0,
"tieup_agent_commission_percent": 59,
23
"travel_id": 21,
"operator_reservation_id": 12081,
"operator_seat_wise_pnr": ""
},
"operator_gst_details":
{
"category": "unregistered",
"sale_type": "Inter State",
"trans_type": "Ecommerce",
"registration_name": "",
"gst_id": "",
"cgst_percentage": 0,
"sgst_percentage": 0,
"igst_percentage": 5,
"tcs_percentage": 1.0,
"booking_amount": 500,
"cgst_amount": 0,
"sgst_amount": 0,
"igst_amount": 25,
"tcs_amount": 5.0
}
}
}

 

You are viewing reply posted by: dharmendr 7 days ago.