1. Home
  2. Developer Support
  3. Code Samples
  4. Getting Started with IDI Web Services Sample Project

Getting Started with IDI Web Services Sample Project

Overview:
This sample project is intended for developers that are just getting started with integrating with CostGuard Web Services.

 

Set-up:

When loading the GettingStarted application for the first time, you will need to configure it for your environment.

  1. Make sure .NET Framework 4.8 or higher and Visual Studio 2019 or later is installed.
  2. In the App.config file, make changes to `Environment`, `Domain`, `WebServiceUserName`, and `WebServicePassword`,
    which can be found in the appSettings tag.
  3. Change the values in the `Config.json` file.
    • Address
    • Customer Configuration
      • Account Status ID
      • Market ID
      • Bill Cycle ID
      • Balance Aging Group ID
      • Finance Group ID
      • Account Receivable Group ID
      • Report Group ID
    • Order Configuration
      • Service Catalog ID
      • Feature Catalog ID
    • Journal Configuration
      • Journal Item Type ID
    • Payment Configuration
      • Payment Type

If you have configured your sample application correctly, you should expect a console with API Base Address, Domain, and Environment information.

Then, you will be asked if you want to log in as an application user. If you wish to do so, you have to provide a URL that you want access to and your username and password for CostGuard. If you provide it correctly or continue as a Web Service user, you will see a successful login message with a SWT value. After a successful login, the address you filled in will be shown. Address validation, customer creation, customer type modification, cart submission, journal creation, account balance check and payment creation will start immediately. The response will be printed on the console. Press any key to exit the program after the responses.

Related Documentation:
This sample project is meant to be paired with the article: Getting Started: Getting Up and Running Using Visual Studio and C#

 

Download links:

Updated on June 21, 2022
Was this article helpful?