NetTalk Central

Author Topic: NT 12.12 API server test  (Read 3148 times)

jking

  • Sr. Member
  • ****
  • Posts: 419
    • View Profile
    • Email
NT 12.12 API server test
« on: April 15, 2021, 08:21:43 AM »
Hello all,

     I'm trying to learn how to use a Web Service (API) to send data and store into a tps file.  I started with example app WebService (77).  I modified the client app, adding another tab for my specific target file called pathology.tps.  See attached image API_Parameters.png.  I have another web server app DCISionRT,  in which I added a NetWebService and NetWebServiceMethod, called .  When I enter data in the client and do a Post to insert data, I see the data in the post panel of the server, but no data is inserted into the target file pathology.tps.  The response tab of the client shows "Null".  See image API_Response.png.  When I use the client to send data to the customer.tps file on Web77 server, the data gets added to the customer.ps file and the client response tab shows "Success".
     Can anyone suggest things I should check, to see where I have gone wrong?

Thanks,

Jeff King

jking

  • Sr. Member
  • ****
  • Posts: 419
    • View Profile
    • Email
Re: NT 12.12 API server test
« Reply #1 on: April 15, 2021, 02:54:02 PM »
I seem to have corrected the issue.  I removed the fields listed on the return tab and let them regenerate.  Now data is making its way to the tps table!  Wahoo!

Jeff King