Bytech India
asked on
How to hit POST API through TDL language for Tally
Hi there,
Can anyone help me for below query.
How to hit POST API through TDL language which can send data in JSON format from Tally and get response. Please send us complete code for this.
I am using below code but this is not working.
[#Menu: Gateway of tally]
Add: Item: send data : Call: Senddata
[Function: Senddata]
00 : Walk : SendDatacoll
10 : End Walk
20 : Return
[Collection : senddatacoll]
Remote URL : "API url"
RemoteRequest : RepsalesVch : UTF8
ClientOnly : Yes
KeepSource : yes
JSON Object : yes
[Report : RepsalesVch]
Form: RepsalesVch
[Form : RepsalesVch]
Part : RepsalesVch Body
Button : Export button
JSONTag : "Report"
[Part: RepsalesVch Body]
JSONTag : "Body"
Line : RepsalesVchdetails
[Line: RepsalesVchdetails ]
Field : ParCDBId, Partnername , ActiveStatus
JSONTag : "Details"
[Field: ParCDBId ]
Set as : "NDL002"
JSONTag : "ID"
[Field : Partnername ]
Set as : "ABC PVT LTD"
JSONTag : "ITEMNAME"
[Field : ActiveStatus ]
Set as : "1"
JSONTag : "Active"
Regards
Pushpa Adhikari
Can anyone help me for below query.
How to hit POST API through TDL language which can send data in JSON format from Tally and get response. Please send us complete code for this.
I am using below code but this is not working.
[#Menu: Gateway of tally]
Add: Item: send data : Call: Senddata
[Function: Senddata]
00 : Walk : SendDatacoll
10 : End Walk
20 : Return
[Collection : senddatacoll]
Remote URL : "API url"
RemoteRequest : RepsalesVch : UTF8
ClientOnly : Yes
KeepSource : yes
JSON Object : yes
[Report : RepsalesVch]
Form: RepsalesVch
[Form : RepsalesVch]
Part : RepsalesVch Body
Button : Export button
JSONTag : "Report"
[Part: RepsalesVch Body]
JSONTag : "Body"
Line : RepsalesVchdetails
[Line: RepsalesVchdetails ]
Field : ParCDBId, Partnername , ActiveStatus
JSONTag : "Details"
[Field: ParCDBId ]
Set as : "NDL002"
JSONTag : "ID"
[Field : Partnername ]
Set as : "ABC PVT LTD"
JSONTag : "ITEMNAME"
[Field : ActiveStatus ]
Set as : "1"
JSONTag : "Active"
Regards
Pushpa Adhikari
This question needs an answer!
Become an EE member today
7 DAY FREE TRIALMembers can start a 7-Day Free trial then enjoy unlimited access to the platform.
View membership options
or
Learn why we charge membership fees
We get it - no one likes a content blocker. Take one extra minute and find out why we block content.
I am here to help you with your open question. Do you still need help? I have the ability to alert more experts if you still need help.
If you solved the problem on your own, would you please post the solution here in case others have the same problem?
If you need me to delete this question just say "Delete."
Thank you for using Experts Exchange.
Regards,
Kyle Santos
Customer Relations