Please enable JavaScript to view this site.

Navigation: LinkarWS Operations

Response Types and HTTP status code

Scroll Prev Top Next More

 

There are 3 possible types of answers

 

application/json

application/xml

text/plain. LkString (MV)

 

 

The “application/json” and “application/xml” response types are very visual and almost self-explanatory. In any case, the different tags that may appear within these responses are detailed in the corresponding section.

The “text/plain” response type is more complex. It is a structured character string, also with tags and sections. This string of characters is literally what LinkarServer returns as a result of the different operations. Within the context of LinkarServer, this string is called “LkString”. For more information about the structure of this character string, see “text/plain” (LkString MV) section.

 

 

The possibility of returning HTTP status codes has been introduced in Endpoint responses. (HTTP Status Code: https://en.wikipedia.org/wiki/List_of_HTTP_status_codes).

 

The answers are grouped into five classes:

 

1xx: Informational - Request received, continuing process

2xx: Success - The action was successfully received, understood, and accepted

3xx: Redirection - Further action must be taken in order to complete the request

4xx: Client Error - The request contains bad syntax or cannot be fulfilled

5xx: Server Error - The server failed to fulfill an apparently valid request