Cosmos DB Connector
Documentation
Version: 2
Documentation

EndPoint Update Document in the Container


Name

update_document

Description

Update full or part of the document in Cosmos DB Container. [API Help]

Parameters

Parameter Label Required Options Description
Id Document Id NO
Table Table Name (Case-Sensitive) YES
Database Database Name (keep blank to use default) Case-Sensitive NO Leave blank to use default DB set on connection screen
Document Document NO Full Document if RequestMethod=PUT else Partial Document [API Help..]
PartitionKey Partition Key Value (default is supplied Id) NO
Option Value
Default .
SingleKeyValue ["someValue1"]
MultiKeyValue ["some_value1","some_value2" ]
The partition key value for the document. Must be included if and only if the collection is created with a partitionKey definition

Output Columns

Label DataType Length Raw Description
id DT_WSTR 4000 False
_rid DT_WSTR 4000 False
_ts DT_I8 0 False
http_status DT_I4 0 False

Input Columns

Label DataType Length Raw Description
RequestMethod DT_WSTR 4000 False
PartitionKey DT_WSTR 4000 False
Id DT_WSTR 4000 False
Document DT_NTEXT 0 False