Update any single-ID-keyed table in the data model, including the Asset table, with full support for coded business rules in the API layer
If successful an empty string is returned. If an error occurred this function will return the error message.
There is no restful call for this API operation - use a SOAP method instead
Try ErrorMessage = "" Return w.WebSaveSpecial(_hash, _username, _db, _ip, "", "SpecialAssetUpdate", {"Asset", "AssetID", "3,4,5", "StatusID", "12"}, False, _dns, _port, _scheme, _nonce, _noncedate) Catch ex As Exception ErrorMessage = ex.Message Return " End Try
SaveSpecial "SpecialAssetUpdate","", "Asset", "AssetID", "3,4,5", "StatusID", "12"
Dim ret as String = Server.SaveSpecial("SpecialAssetUpdate","", "Asset", "AssetID", "3,4,5", "StatusID", "12") If ret = " Or ret.Substring(0, 8) = "special=" Then MsgBox("Save operation completed.", vbInformation, "Save Data") Else MsgBox("Save operation failed:" & ret, vbExclamation, "Save Data") End If
Download the Visual Studio API Samples Project
Return to the API Index Page