Skip to content

A console app written in C# that shows how to communicate with the ROM TSIS2 API

License

Notifications You must be signed in to change notification settings

tc-ca/ROM.TSIS2.CSharpAPIDemo

Repository files navigation

ROM.TSIS2.CSharpAPIDemo

A console app written in C# that shows how to communicate with the ROM TSIS2 API

Developer Instructions

  1. Open the project in Visual Studio and add a file to the project ROM.TSIS2.CSharpAPIDemo named Secrets.config
  2. Enter the app settings by using this format:
<appSettings>
	<add key="Url" value="https://---.crm3.dynamics.com/" />
	<add key="ClientId" value="Enter_Your_Client_ID" />
	<add key="ClientSecret" value="Enter_Your_Secret" />
	<add key="Authority" value="https://login.microsoftonline.com/---/oauth2/token" />
</appSettings>
  1. For .Net Core 3.1 add a file to the project CSharpAPIDemo-NetCore named Secrets.json use this format:
{
  "MySecretValues": {
    "Url": "https://---.crm3.dynamics.com/",
    "ClientId": "EnterYourClientID",
    "ClientSecret": "EnterYourSecret",
    "Authority": "https://login.microsoftonline.com/---/oauth2/token"
  }
}
  1. Compile and run the app

About

A console app written in C# that shows how to communicate with the ROM TSIS2 API

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Languages