Server to server injection

Once the authentication is done, by retrieving an authentication token, the server to server injection can start. Each queries should pass the authentication token as describe in the authentication chapter.

All queries start with the same URL:

In this document all queries are relative to this URL. For example the query /abcd/efgh is in real https://app.geoconcept.com/gtm/abcd/efgh

Two requests are mandatory:

  • /gwc/gwc-api/secto/external/batchInjectPointSectoStart/v2 : this request will initialize an injection. It must be the first request of the protocol. The returned data will be the injection context to pass to all requestes of your injection.
  • /gwc/gwc-api/secto/external/batchInjectPointSectoEnd: this request will close the injection and will give information for IFrame injection. It must be the last request of the protocol.

The other ones are used to inject data into your Territory Manager session. The order is not fixed. Some requests can manage multipart data injection by calling the same request several times with different data. For the others, calling the same request will replace older data.

All requests are POST requests.