SSIS Package calling a rest api with JSON outpu

  • Hello forum.  I'm having to query some ESRI rest api and returning some JSON output.  I have the link and I'm using a data flow using a script component as a source.  I have some of my C# code pulling the data but I'm getting an error, it seems that the esri link is requiring a token.  So found this on ESRI's site but I'm having trouble finding the namespace or reference for the Catalog, please see code snip below.  Does anyone know how to go about find that?  Thank you.

    Catalog myCatalog = new Catalog();

    myCatalog.Url = "http://localhost/arcgis/services";

    if (myCatalog.RequiresTokens())

    {    string tokenServiceUrl = myCatalog.GetTokenServiceURL();}

  • Thanks for posting your issue and hopefully someone will answer soon.

    This is an automated bump to increase visibility of your question.

  • I think it's probably in an ESRI namespace rather than the .NET Framework, but as to exactly which one I don't know because I haven't worked ESRI.

  • I found this link but it looks like I have to have an account to download it but I don't have one.  I'd have to reach out our GIS department.

    https://developers.arcgis.com/enterprise-sdk/

Viewing 4 posts - 1 through 3 (of 3 total)

You must be logged in to reply to this topic. Login to reply