Click or drag to resize

IDocumentApiClientPutDocumentAsyncT Method (String, T, PutDocumentQuery, ApiClientSerializationOptions, DocumentHeaderProperties)

Replaces the document with the provided document ID with the one in the body, provided there is such a document and no precondition is violated.

Namespace:  ArangoDBNetStandard.DocumentApi
Assembly:  ArangoDBNetStandard (in ArangoDBNetStandard.dll) Version: 1.1.0
Syntax
Task<PutDocumentResponse<T>> PutDocumentAsync<T>(
	string documentId,
	T doc,
	PutDocumentQuery opts = null,
	ApiClientSerializationOptions serializationOptions = null,
	DocumentHeaderProperties headers = null
)

Parameters

documentId
Type: SystemString
doc
Type: T
opts (Optional)
Type: ArangoDBNetStandard.DocumentApi.ModelsPutDocumentQuery
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: TaskPutDocumentResponseT
See Also