Click or drag to resize

DocumentApiClientPostDocumentAsyncT Method (String, T, PostDocumentsQuery, ApiClientSerializationOptions, DocumentHeaderProperties)

Post a single document.

Namespace:  ArangoDBNetStandard.DocumentApi
Assembly:  ArangoDBNetStandard (in ArangoDBNetStandard.dll) Version: 1.1.0
Syntax
public virtual Task<PostDocumentResponse<T>> PostDocumentAsync<T>(
	string collectionName,
	T document,
	PostDocumentsQuery query = null,
	ApiClientSerializationOptions serializationOptions = null,
	DocumentHeaderProperties headers = null
)

Parameters

collectionName
Type: SystemString
document
Type: T
query (Optional)
Type: ArangoDBNetStandard.DocumentApi.ModelsPostDocumentsQuery
serializationOptions (Optional)
Type: ArangoDBNetStandard.SerializationApiClientSerializationOptions
The serialization options. When the value is null the the serialization options should be provided by the serializer, otherwise the given options should be used.
headers (Optional)
Type: ArangoDBNetStandard.DocumentApi.ModelsDocumentHeaderProperties
The DocumentHeaderProperties values.

Type Parameters

T

Return Value

Type: TaskPostDocumentResponseT

Implements

IDocumentApiClientPostDocumentAsyncT(String, T, PostDocumentsQuery, ApiClientSerializationOptions, DocumentHeaderProperties)
See Also