Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
Hi all,
can someone solve this issues?
I'm using fiddler web debug proxy, from that I'm trying to get some JSON data through trest component in Talend open studio for DI.
Following are my credentials.
1.https link
2.Post method
3.content-type : application/json
4.Accept : application/json
5.json data as like below
{
"Commit": "false",
"Client": "AvaTaxSample",
"CompanyCode": "CYPHERTAX",
"CustomerCode": "ABC4335",
"DocCode": "INV001",
"DocType": "SalesOrder",
"DocDate": "2014-01-01",
"Addresses": [
{
"AddressCode": "01",
"Line1": "2345 Carlmont Drive",
"Line2": "Suite 100",
"Line3": "ATTN Accounts Payable",
"City": "Belmont",
"Region": "CA",
"Country": "US",
"PostalCode": "94002"
}
],
"Lines": [
{
"LineNo": "1",
"DestinationCode": "01",
"OriginCode": "01",
"ItemCode": "N543",
"TaxCode": "NT",
"Description": "Red Size 7 Widget",
"Qty": "1",
"Amount": "100"
}
]
}
I couldn't get the results for this.
instead of json data I have tried with xml data its working fine.
Hi,
I really don't know where to use '\'. with the same JSON data, I execute in fiddler tool and I got expected output.
Hi Sir,
Can You please work on that data and show with screenshots.
"{ \"Commit\": \"false\", \"Client\": \"AvaTaxSample\", \"CompanyCode\": \"CYPHERTAX\", \"CustomerCode\": \"ABC4335\", \"DocCode\": \"INV001\", \"DocType\": \"SalesOrder\", \"DocDate\": \"2014-01-01\", \"Addresses\": [ { \"AddressCode\": \"01\", \"Line1\": \"2345 Carlmont Drive\", \"Line2\": \"Suite 100\", \"Line3\": \"ATTN Accounts Payable\", \"City\": \"Belmont\", \"Region\": \"CA\", \"Country\": \"US\", \"PostalCode\": \"94002\" } ], \"Lines\": [ { \"LineNo\": \"1\", \"DestinationCode\": \"01\", \"OriginCode\": \"01\", \"ItemCode\": \"N543\", \"TaxCode\": \"NT\", \"Description\": \"Red Size 7 Widget\", \"Qty\": \"1\", \"Amount\": \"100\" } ] }"
Hi,
Thanks a Lot
It works fine.
I can get my output.
Can we print HTTP body in the tLogRow?Is it possible?