Edit

fetchResponse resource type

Namespace: microsoft.graph

Important

APIs under the /beta version in Microsoft Graph are subject to change. Use of these APIs in production applications is not supported. To determine whether an API is available in v1.0, use the Version selector.

Represents a simulated fetch response supplied through the fetchResponses parameter of the Evaluate policy action on resourcePolicyRoot.

Omitting fetchResponses or setting it to null preserves live fetch behavior. Supplying a collection, including an empty collection, enables strict simulation using exact relativePathUri matching.

Methods

None.

Properties

Property Type Description
code Int32 The HTTP status code returned by the simulated fetch.
data Json The simulated JSON response data. If omitted, the simulated response data is null.
relativePathUri String The exact relative URI used to match a simulated fetch call.

Relationships

None.

JSON representation

The following JSON representation shows the resource type.

{
  "@odata.type": "#microsoft.graph.fetchResponse",
  "relativePathUri": "String",
  "code": "Integer",
  "data": {
    "@odata.type": "microsoft.graph.Json"
  }
}