Generating API Code

The Web Services API code generator automates the creation of a set of human-readable variables that facilitate WebAPI development in CSharp (C#). Using the Web Service API Code Generator page, you can generate source code that contains the Globally Unique Identifier (GUID) for each supported element in your application.

The following application elements are included in a code generation:

  • Application GUID
  • Field GUIDs
  • Field GUIDs for fields residing in related sub-forms
  • Values list value GUIDs for Values List fields residing in the application or the related sub-forms

You can download this source code as a CSharp (.cs) file. You can then import the file into a Visual Studio project.

Generate API code

  1. From the menu, click Admin menu > Integration > Obtain API Integration.
  2. Click Generate Code.
  3. From the Application list, select the application for which you want to generate the source code.
  4. Do 1 of the following:
    • To copy the API code into the clipboard, click Copy Source Code.
    • To download the source file, click Download Source File.
      1. When prompted, click Save.