MethodInvocation CreateMessageBody TRequest  Method DocuWare Platform .NET API
Creates the message body.

Namespace: DocuWare.Services.Http.Client
Assembly: DocuWare.RestClient (in DocuWare.RestClient.dll) Version: 6.5.0.0 (6.5.0.5648)
Syntax

public static HttpContent CreateMessageBody<TRequest>(
	TRequest dataToSend,
	string requestContentType
)
where TRequest : class

Parameters

dataToSend
Type: TRequest
The data to send.
requestContentType
Type: OnlineSystem String
Type of the request content.
Type Parameters

TRequest
The type of the request.

Return Value

Type: HttpContent
See Also