'Refit API Client - Mix Body and Queryparameters in single object

When using the Refit REST Library to build a client targeting an asp.net based api is it possible to mix Query and Body items in a single Custom Object?

Example Asp.Net Route

[Route("documents/{id}")]
public void PostDocument(int id, [FromBody] document)

Example Refit Client and Request Object showing desired mixing of Body and Query definition in single object

[Post("/documents/{document.id}}")]
Task PostDocument(PostDocumentRequest request);
public class PostDocumentRequest 
{
    public int Id {get;set;}
    public [Query] DateTime? LocalDateTime {get;set;}
    public [Body] Document Document {get;set;}
}


Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source