type alias ResponseStatus

The fields of a <ResponseStatus> document.

Properties

optional
requestURL: string

The path the device is answering about.

statusCode: number

0 or 1 OK, 2 Device Busy, 3 Device Error, 4 Invalid Operation, 5 Invalid XML Format, 6 Invalid XML Content, 7 Reboot Required, 9 Additional Error. 7 can come on a 200 after a PUT.

optional
statusString: string

A short description, such as Invalid Operation.

optional
subStatusCode: string

The precise reason, such as notSupport, lowPrivilege or badAuthorization.

Usage

import { type ResponseStatus } from ".";