From 09763e596959da5aa3ca41e3d08b3946d36b8151 Mon Sep 17 00:00:00 2001 From: cristian-recoseanu Date: Fri, 22 Nov 2024 15:07:30 +0000 Subject: [PATCH] Update docs/API requests.md Co-authored-by: jonathan-r-thorpe <64410119+jonathan-r-thorpe@users.noreply.github.com> --- docs/API requests.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/API requests.md b/docs/API requests.md index 1f54b14..59deef0 100644 --- a/docs/API requests.md +++ b/docs/API requests.md @@ -159,7 +159,7 @@ The body of the request MUST include an object which includes an `arguments` obj } ``` -A successful response MUST be of type [NcMethodResult](https://specs.amwa.tv/ms-05-02/latest/docs/Framework.html#ncmethodresult). If the request encountered an error then the response result returned MUST inherit from [NcMethodResultError](https://specs.amwa.tv/ms-05-02/latest/docs/Framework.html#ncmethodresulterror) and include an errorMessage of type [NcString](https://specs.amwa.tv/ms-05-02/latest/docs/Framework.html#primitives). +A successful response MUST be of type [NcMethodResult](https://specs.amwa.tv/ms-05-02/latest/docs/Framework.html#ncmethodresult). If the request encountered an error then the response MUST either be of the type, or inherited from the type, [NcMethodResultError](https://specs.amwa.tv/ms-05-02/latest/docs/Framework.html#ncmethodresulterror) and include an errorMessage of type [NcString](https://specs.amwa.tv/ms-05-02/latest/docs/Framework.html#primitives). This is equivalent to invoking the specified method.