Get token

token=$(curl –data "username=&password=" HTTPS://ADMIN.domain.COM/API/GETTOKEN)

Call

curl –data "token=**&records=1" HTTPS://ADMIN.domain.COM/API/GETLEADS

==== Params ====

  • string TOKEN,
  • DateTime STARTDATE,
  • DateTime ENDDATE,
  • string OUTPUTTYPE, (default value = "json")
  • int RECORDS

As a response, you will receive JSON result containing records data with calls.

Mike W 2018/11/29 16:11

Main Steps

  • This easy method installs curl on windows
  • Open a PowerShell command line as Administrator and paste in the following :
  • Set-ExecutionPolicy RemoteSigned → Select Y(Yes).
  • pip install choco curl
  • https://chocolatey.org/install → copy the second link PowerShell.exe
  • remove-item alias:curl

GET TOKEN & Export .Json File

faq/support/crm/api/get_leads.txt · Last modified: 2019/04/10 08:50 by 127.0.0.1
Back to top
CC Attribution-Share Alike 4.0 International
Driven by DokuWiki Recent changes RSS feed Valid CSS Valid XHTML 1.0