REST hreflang-Erzeugung (EN)

API hreflang generation

Start process

Request

POST https://www.websale.de/api/hreflangCollection/start

Content-Type

application/json

Authorization token

requires

Response

Returns an empty JSON object if successful.

Get process status

Request

GET https://www.websale.de/api/hreflangCollection/state

Content-Type

application/json

Authorization token

requires

Response

Returns a JSON object with the following structure if successful:

Field

Type

Description

Field

Type

Description

result

String

Possible values:

  • "Program running": more detailed information follows, when the process was started and in which stage the process is (collecting the information about the subshop groupings, collecting the data for subshop group x, writing the data into the database for subshop group x)

  • "Last call...": Indication whether call was successful or not. In case of success, the duration of the last run is indicated, as well as any errors in the processing of the data, caused, among other things, by the category mapping file. In case of error, indication of the reason.