Share via


RetailWebResponse.new Method [AX 2012]

Generates a new web response.

Syntax

public void new(
    int _httpStatus, 
   [str _data, 
    str _contentType])

Run On

Called

Parameters

  • _httpStatus
    Type: int
    The value of httpStatus parameter.
  • _data
    Type: str
    String value for data.
  • _contentType
    Type: str
    String value for type of content.

See Also

Reference

RetailWebResponse Class