Document toolboxDocument toolbox

HTTP Status Description (httpstatusdescription)

Description

Given a field containing HTTP status codes, this operation creates a new field containing the corresponding HTTP status descriptions.

How does it work in the search window?

Select Create field in the search window toolbar, then select the HTTP Status Description operation. Only one argument is required.

Argument

Data type

Argument

Data type

Status code mandatory

Integer

The new field's data type is string. 

Example

We want to get the descriptions associated with the HTTP status codes in the statusCode field, so we click Create field and select the HTTP Status Description operation. Select statusCode as the argument and assign a name to the new field - let's call it statusCodeDesc.

Click Create field and you will see the following result:

How does it work in LINQ?

Use the operator select... as...  and add the operation syntax to create the new field. 

  • httpstatusdescription(integer)

Examples

Copy the following LINQ script and try the above example on the demo.ecommerce.data table. 

from demo.ecommerce.data select httpstatusdescription(statusCode) as StatusCodeDescription