Zum Hauptinhalt gehen

THird Party APIS Integration

Kommentare

4 Kommentare

  • Permanently deleted user
    Hi Raghav,

     

    Are you talking about adding third party libraries?

     

    Which version of Geocortex Viewer are you using?

     

    Regards,

     

    Mohammad Ashraf
    0
  • Permanently deleted user
    Hi Ashraf

     

    Currently i am using 4.6.2 , Yeah, currenlty i am working for scenario in case we want to communicate with third party library which provides rest api how can we do that with geocortex ?
    0
  • Permanently deleted user
    Hi there, to add weight to this request, I too would like to find some documentation or understanding how to call 3rd party APIs from within a geocortex workflow.   I am using the latest Essentials 4.9
    0
  • Permanently deleted user
    The exact requirements/method are going to different depending on what kind of data your api returns, and how that relates back to your map/data.  

     

    As an example though, if you have a simple REST api that returns some JSON, you can use the WebRequest activity in a workflow.  There's an sample for this activity in the workflow sample site that ships with Essentials ("C:\Program Files (x86)\Latitude Geographics\Geocortex Essentials\Default\REST Elements\Sites\Workflow_Samples\Resources\Workflows\Common Server\WebRequest.xaml")

     

    Then you can use the GetTextFromBytes activity to convert the bytes returned into a string, and use that string in the GetJSONValue or JSONToDictionary activity to find the actual values that you want from the JSON.
    0

Bitte melden Sie sich an, um einen Kommentar zu hinterlassen.