Hi Guys,
I'm using the below code to Post JSON request to a REST API, but I'm getting "Failed to parse JSON request content." Error,
Set Body ##class ).
My code is generating this JSON request:
{
"AustralianBusinessNumberId":"AustralianBusinessNumberId",
"CountryC":"CountryC",
"DetailsOrganisationalNameT":"DetailsOrganisationalNameT",
"ElectronicMailAddressT":"ElectronicMailAddressT",
"Line1T":"Line1T",
"Line2T":"Line2T",
"LocalityNameT":"LocalityNameT",
"OrganisationDetailsOrganisationBranchC":"OrganisationDetailsOrganisationBranchC", "PayAsYouGoWithholdingTaxWithheldA":0.1,
"Payee":[ {
"AllowanceTypeTypeC":"AllowanceTypeTypeC",
"BirthDate":"2014-01-11",
"CommunityDevelopmentEmploymentProjectA":0.1,
"CountryC":"CountryC",
"DeductionTypeC":0.1,
"DeductionTypeTypeC":"DeductionTypeTypeC",
"ElectronicMailAddressT":"ElectronicMailAddressT",
"EmployerContributionsSuperannuationGuaranteeA":0.1,
"EmployerReportableA":0.1,
"EmploymentEndD":"2014-01-11",
"EmploymentPayrollNumberId":"EmploymentPayrollNumberId",
"EmploymentStartD":"2014-01-11",
"ExemptForeignEmploymentIncomeA":0.1,
"ExemptIncomeFringeBenefitsReportableA":0.1,
"FamilyNameT":"FamilyNameT",
"GivenNameT":"GivenNameT",
"INBGrossA":0.1,
"INBTaxWithheldA":0.1,
"IndividualNonBusinessEmploymentAllowancesA":0.1,
"LabourHireTaxWithheldA":0.1,
"Line1T":"Line1T",
"Line2T":"Line2T",
"LocalityNameT":"LocalityNameT",
"LumpSumAA":0.1,
"LumpSumAC":0.1,
"LumpSumBA":0.1,
"LumpSumDA":0.1,
"LumpSumEA":0.1,
"OrdinaryTimeEarningsA":0.1,
"OtherAllowanceTypeDe":"OtherAllowanceTypeDe",
"OtherGivenNameT":"OtherGivenNameT",
"PostcodeT":"PostcodeT",
"StateOrTerritoryC":"StateOrTerritoryC",
"TaxFileNumberId":"TaxFileNumberId",
"TaxableIncomeFringeBenefitsReportableA":0.1,
"TelephoneMinimalN":"TelephoneMinimalN",
"TerminationPaymentSummary":[ {
"EmploymentTerminationPaymentTypeC":"EmploymentTerminationPaymentTypeC",
"PaymentRecordPaymentEffectiveD":"2014-01-11",
"SuperannuationEmploymentTerminationTaxableComponentTotalA":0.1,
"SuperannuationTaxFreeComponentA":0.1,
"TaxWithheldA":0.1
}
],
"WorkingHolidayGrossA":0.1,
"WorkingHolidayTaxWithheldA":0.1
}
],
"PaymentRecordTransactionD":"PaymentRecordTransactionD",
"PersonUnstructuredNameFullNameT":"PersonUnstructuredNameFullNameT",
"PostcodeT":"PostcodeT",
"TelephoneMinimalN":"TelephoneMinimalN",
"TotalGrossPaymentsWithholdingA":0.1
}