Method to Post Json Data


Book Insurance Request JSON
                                {
	"EndUserIp": "1.1.1.1",
	"ClientId": "XXXX",
	"UserName": "XXXX",
	"Password": "XXXX",
    "APIType": "SingleTB",
	"TraceId": "XXXX",
	"ResultIndex": 1,
	"Passenger": [{
		"Title": "MR",
		"FirstName": "Hemant",
		"LastName": "Singh",
		"BeneficiaryName": "Raj Dev",
		"RelationShipToInsured": "Self",
		"RelationToBeneficiary": "Brother",
		"Gender": "1",
		"Sex": 1,
		"DOB": "1993-05-10T00:00:00",
		"PassportNo": "abcxyz123",
		"PhoneNumber": "9643737505",
		"EmailId": "hemant@srdvtechnologies.com",
		"AddressLine1": "delhi",
		"AddressLine2": "delhi",
		"CityCode": "DELHI",
		"CountryCode": "IND",
		"MajorDestination": "Delhi",
		"PinCode": 110045
	}]
}
Book Insurance Response JSON
                                {
        "Error": {
            "ErrorCode": "0",
            "ErrorMessage": ""
        },
        "TraceId": "25",
        "ResponseStatus": 1,
        "APIType": "SingleTB",
        "Response": {
            "Itinerary": {
                "BookingId": 1628375,
                "InsuranceId": 20202,
                "PlanType": 1,
                "PlanName": "Axa Spl Smart Domestic Plan",
                "PlanDescription": "Axa Spl Smart Domestic Plan",
                "PlanCoverage": 4,
                "CoverageDetails": null,
                "PlanCategory": 1,
                "PaxInfo": [
                    {
                        "PaxId": 23699,
                        "PolicyNo": "",
                        "ClaimCode": null,
                        "SiebelPolicyNumber": "",
                        "DocumentURL": null,
                        "MaxAge": 70,
                        "MinAge": 0,
                        "Title": "MR",
                        "FirstName": "Hemant",
                        "LastName": "Singh",
                        "Gender": "Male",
                        "DOB": "1993-05-10T00:00:00",
                        "BeneficiaryName": "Raj Dev",
                        "RelationShipToInsured": "Self",
                        "RelationToBeneficiary": "Brother",
                        "EmailId": "info@srdvtechnologies.com",
                        "PhoneNumber": "9643737502",
                        "PassportNo": "abcxyz123",
                        "AddressLine1": "delhi",
                        "AddressLine2": "delhi",
                        "Country": "India",
                        "State": "DELHI",
                        "City": "DELHI",
                        "PinCode": "110045",
                        "MajorDestination": "IN",
                        "OldPolicyNumber": "",
                        "PolicyStatus": 2,
                        "ErrorMsg": ""
                    }
                ],
                "PolicyStartDate": "2020-08-26T00:00:00",
                "PolicyEndDate": "2020-08-26T23:59:59",
                "CreatedOn": "2020-08-26T18:01:42",
                "Source": "TrawellTag",
                "IsDomestic": true,
                "Status": 2
            }
        }
    }