ExecuteResponse is implements Response interface from Fetch API. (#40303)

This commit is contained in:
Sergey Tunnik
2019-11-11 11:57:28 -08:00
committed by Pranav Senthilnathan
parent 2b048e935c
commit 5f258aaed0
+1 -32
View File
@@ -4886,38 +4886,7 @@ declare namespace Xrm {
/**
* Interface for the WebAPI Execute request response
*/
interface ExecuteResponse {
/**
* (Optional). Object.Response body.
*/
body: string;
/**
* Response headers.
*/
headers: any;
/**
* Indicates whether the request was successful.
*/
ok: boolean;
/**
* Numeric value in the response status code.
* @example 200
*/
status: number;
/**
* Description of the response status code.
* @example "OK"
*/
statusText: string;
/**
* Response type.Values are: the empty string (default), "arraybuffer", "blob", "document", "json", and "text".
*/
type: string;
/**
* Request URL of the action, function, or CRUD request that was sent to the Web API endpoint.
*/
url: string;
}
interface ExecuteResponse extends Response { }
}
declare namespace XrmEnum {