Recent

Author Topic: [SOLVED] LPC & API  (Read 301 times)

Petrus Vorster

  • Full Member
  • ***
  • Posts: 241
[SOLVED] LPC & API
« on: February 09, 2026, 11:56:21 am »
Dear Experts...

I have never came across or needed this.
Now I do.... :D

I usually upload CSV files to a cellular provider in my countery via an app I made that formulate notifications to clients.
That supplier has an API, and I cannot send anything unless one pays for a package, but if DOES HAVE A SANDBOX MODE.

It also supplies these odd things i know nothing of : SWAGGER and POSTMAN.

Now smart people, how do you go from zero to sending a message with an API?
They gave this Schema :

Code: Pascal  [Select][+][-]
  1. {
  2.   "communication": {
  3.     "receiver": [
  4.       {
  5.         "phoneNumber": "27789078941"
  6.       }
  7.     ],
  8.     "sender": {
  9.       "phoneNumber": "27789078942",
  10.       "name": "VideoPlay"
  11.     },
  12.     "deliveryReceiptFlag": false,
  13.     "receiptCallbackUrl": "http://host.com",
  14.     "callbackNotifyUrl": "http://host.com",
  15.     "description": "This is communication message for promotion",
  16.     "type": "sms",
  17.     "sourceTransactionId": "123e4567-e89b-42d3-a456-556642440000",
  18.     "content": "This is a Promotion Message ",
  19.     "sendTime": "2017-07-22T16:28:55.444000",
  20.     "bindExists": true
  21.   }
  22. }

Small steps please. I am completely lost.
 :)

-Peter

« Last Edit: February 09, 2026, 03:00:50 pm by Petrus Vorster »

Petrus Vorster

  • Full Member
  • ***
  • Posts: 241
Re: [SOLVED] LPC & API
« Reply #1 on: February 09, 2026, 03:01:32 pm »
Ok, luckily they have a FTP legacy support, and that's like 5 lines of code.
-Peter

 

TinyPortal © 2005-2018