Synology DS418 Transactions in Surveillance Station 8.1.0 and above - Page 30
Parameter, Description, Value, Version, Status, JSON Format Content, ERROR CODE
View all Synology DS418 manuals
Add to My Manuals
Save this manual to your list of manuals |
Page 30 highlights
AppendData This method is used to carry data into the session with the ID specified in sessionId. • Request: Parameter dsName deviceName sessionId content timestamp account password Description Optional. The name of the CMS recording server which the transaction device is on. Value , i.e. "NVR_1F" The name of the transaction device added in Surveillance Station. , i.e. "Device01" ID of a session. , i.e. "1234" The transaction content. The contents sent by one request would be regard as one line. Users can also carry "\n" in the contents to break lines. , i.e. "Start\ n2017/01/01" Optional. The number of seconds that have elapsed from 00:00:00 Coordinated Universal Time (UTC), Thursday, 1 January 1970 to the occurrence time of the transaction. , i.e. 1508989055 Optional. The login account name for NAS. , i.e. "Manager" Optional. Password of the account. , i.e. "000000" Version 2 and above 2 and above 2 and above 1 and above 2 and above 2 and above 2 and above • Response: Status Success Failed JSON Format Content {"success":true} {"error":{"code":},"success":false} Please refer to API Error Code for more information about the error codes.API Error Code Send Transactions Using WebAPI 29