Response

WebApiClient. Response

new Response(parametersopt)

Source:
See:

Response returned for every requests inside a batch.

Parameters:
Name Type Attributes Description
parameters Object <optional>
Properties
Name Type Attributes Description
contentId String <optional>

Content ID for this response. You can identify which request this response belongs to, if the Content-Id was set on the request as well

payload Object <optional>

Message body returned for this response, parsed JSON object

status string <optional>

HTTP status code returned for this response

headers Object <optional>

Headers returned for this response. Header keys are set as object keys with the corresponding values

rawData string <optional>

Text fragment returned for this response. Will be used for parsing other properties if passed

Members

contentId

Source:
Properties:
Name Type Description
contentId String

Content ID for this response. You can identify which request this response belongs to, if the Content-Id was set on the request as well

headers

Source:
Properties:
Name Type Description
headers String

Headers returned for this response. Header keys are set as object keys with the corresponding values

payload

Source:
Properties:
Name Type Description
payload Object

Message body returned for this response, parsed JSON object

status

Source:
Properties:
Name Type Description
status String

HTTP status code returned for this response