(Example) Create a REST Service Access Token

To create an access token to connect to a REST service, do the procedure in this topic.

How to Start

  1. In the Manage Center, click App Builder > Global Access Tokens.
  2. On the Global Access Tokens screen, click Add Token
  3. On the Add Global Access Tokens screen, select REST Service .
  4. Click Next.

Procedure

  1. On the Add Global Access Token screen, in the Token Name field, enter REST Access Token.


  2. In the Service URL, enter the URL of your REST service.

    Example:

    http://localhost:53575/AbsenceRequest.svc/GetRemaningLeaves/${/pd:AP/pd:formFields/pd:EmployeeFullName}



  3. In the Action list, select GET.


  4. In the Content Type list, select JSON.


  5. In the Accept list, select JSON.


  6. In the Protocol list, select HTTP11.


  7. Click Authentication.


  8. Click Basic Authentication.


  9. In the User Name field, enter Administrator.


  10. In the Password field, enter the password for your REST service authentication account.

  11. Click Generate.

  12. Click Insert.
  13. to make sure the REST service account is correct, click Test Connection.

  14. Click Encrypt.
  15. Click Done.

Download Files

This file has the REST service used in this example. You can deploy this service in your environment to test it.