| IDocumentApiClientHeadDocumentAsync Method (String, DocumentHeaderProperties) | 
 
            Like GET, but only returns the header fields and not the body. You
            can use this call to get the current revision of a document or check if
            the document was deleted.
            HEAD/_api/document/{document-handle}
            
 
    Namespace: 
   ArangoDBNetStandard.DocumentApi
    Assembly:
   ArangoDBNetStandard (in ArangoDBNetStandard.dll) Version: 1.1.0
 Syntax
SyntaxTask<HeadDocumentResponse> HeadDocumentAsync(
	string documentId,
	DocumentHeaderProperties headers = null
)
Function HeadDocumentAsync ( 
	documentId As String,
	Optional headers As DocumentHeaderProperties = Nothing
) As Task(Of HeadDocumentResponse)
Task<HeadDocumentResponse^>^ HeadDocumentAsync(
	String^ documentId, 
	DocumentHeaderProperties^ headers = nullptr
)
abstract HeadDocumentAsync : 
        documentId : string * 
        ?headers : DocumentHeaderProperties 
(* Defaults:
        let _headers = defaultArg headers null
*)
-> Task<HeadDocumentResponse> 
Parameters
- documentId
- Type: SystemString
 
- headers (Optional)
- Type: ArangoDBNetStandard.DocumentApi.ModelsDocumentHeaderProperties
 The DocumentHeaderProperties values.
Return Value
Type: 
TaskHeadDocumentResponse Exceptions
Exceptions Remarks
Remarks
            200: is returned if the document was found. 
            304: is returned if the “If-None-Match” header is given and the document has the same version. 
            400: is returned if the "TransactionId" header is given and the transactionId does not exist.
            404: is returned if the document or collection was not found. 
            412: is returned if an “If-Match” header is given and the found document has a different version. The response will also contain the found document’s current revision in the Etag header.
            
 See Also
See Also