Forums | Back to Concur Developer Center

Add Concur as a Service Reference in VS C#


Visual Studio has the option to add Rest APIs based on Swagger. I tried to add Concur (using + my key) and I keep getting the error:

Generating client code and adding to project started
Generate client code for REST API with following parameters:
REST API Name: REST testing_APIAppClient, Base namespace: REST testing, Metadata file path: C:\Users[Username]\Documents\Visual Studio 2015\Projects\REST testing\REST testing\test2.json
Exception: Could not load file or assembly ‘Newtonsoft.Json, Version=, Culture=neutral, PublicKeyToken=[token was here]’ or one of its dependencies. The system cannot find the file specified.
Generating client code and adding to project failed
Adding REST API client for failed

I tried many different versions of Newtonsoft.Json including but I get the same error. I saw somewhere else in 2016 that Concur has invalid Swagger formatting.

Is this true? Has anyone gotten this problem? Solution? Any info on this subject would be greatly appreciated