IFrame injection

The IFrame injection can be done after the end of the server to server injection protocol.

The last request (/batchInjectPointSectoEnd) of this protocol returns a temporary token, which allows you to recover a session in Territory Manager using the injected data.

To display the Territory Manager page, you must inject to an IFrame, the following URL:

https://app.geoconcept.com/gtm/gtmintegrationauth?gcTempToken=SESSION_TOKEN&token=TOKEN

In this URL, you have to replace the following patterns:

  • SESSION_TOKEN : by the value of the session token retrieved by the last server to server injection protocol
  • TOKEN : by the authentication token retrieved before doing the injection.

You can add the following parameters to the URL:

  • lang: to set the language to use in the interface. The language must be a 2 characters ISO code.
  • country: the main country used for the sectorization. The country code must be a 2 characters ISO code.
  • profile: the profile to use. Each profile configures a specific display of the interface (with or without menu, header, footer, buttons…) Available profiles are:

    • GC_OTC_DISTRICT
    • GC_OT
    • GC_OT_DISTRICT
    • GC_TMC
    • GC_TSC
    • GC_TSC_DISTRICT