Partilhar via


CrmServiceClient.ExecuteCrmWebRequest Method

Definition

Executes a web request against the Dataverse Web API.

public System.Net.Http.HttpResponseMessage ExecuteCrmWebRequest (System.Net.Http.HttpMethod method, string queryString, string body, System.Collections.Generic.Dictionary<string,System.Collections.Generic.List<string>> customHeaders, string contentType = default);
member this.ExecuteCrmWebRequest : System.Net.Http.HttpMethod * string * string * System.Collections.Generic.Dictionary<string, System.Collections.Generic.List<string>> * string -> System.Net.Http.HttpResponseMessage
Public Function ExecuteCrmWebRequest (method As HttpMethod, queryString As String, body As String, customHeaders As Dictionary(Of String, List(Of String)), Optional contentType As String = Nothing) As HttpResponseMessage

Parameters

method
HttpMethod

HTTP method to use for the request

queryString
String

The path and query parameters that you wish to pass onto the Web API

body
String

Request content

customHeaders
Dictionary<String,List<String>>

Additional headers

contentType
String

Content Type for the request. Defaults to application/json

Returns

Remarks

Learn more about how to use the Dataverse Web API.

Applies to