See the Developer s Getting Started Guide for an introduction to My Docs Online Secure File Delivery and how to use it programmatically.



Similar documents
Using ilove SharePoint Web Services Workflow Action

How To Write A File Station In Android.Com (For Free) On A Microsoft Macbook Or Ipad (For A Limited Time) On An Ubuntu 8.1 (For Ubuntu) On Your Computer Or Ipa (For

Web Services API Developer Guide

SharePoint Integration

Overview of Web Services API

Advanced Digital Imaging

CHAPTER 10: WEB SERVICES

Using Internet or Windows Explorer to Upload Your Site

Drop Shipping. Contents. Overview 2. Quick Tips 3. Basic Setup 4. Drop Ship Options 5. File Pickup Options 6. Messages 8

2009 Tutorial (DB4O and Visual Studio 2008 Express)

User s Guide For Department of Facility Services

WebSocket Server. To understand the Wakanda Server side WebSocket support, it is important to identify the different parts and how they interact:

Capturx for SharePoint 2.0: Notification Workflows

How To Develop A Mobile Application On Sybase Unwired Platform

ADOBE READER AND ACROBAT

Using SSH Secure Shell Client for FTP

enter the administrator user name and password for that domain.

File Manager User Guide

Using Microsoft Expression Web to Upload Your Site

Information Technology Services

Software Engineering 1 EEL5881 Spring Homework - 2

Internet Address: cloud.ndcl.org

WebNow. Installation and Setup Guide. ImageNow Version: 6.7.x Environment: Windows Web Application Server: Tomcat

WEB SERVICES TECHNICAL GUIDE FOR DEVELOPERS

HOBOlink Web Services V2 Developer s Guide

Table of Contents. Pointshop Betting. Installation

OSF INTEGRATOR for. Integration Guide

JDBC. It is connected by the Native Module of dependent form of h/w like.dll or.so. ex) OCI driver for local connection to Oracle

API documentation - 1 -

Hello World RESTful web service tutorial

How To Use Blackberry Web Services On A Blackberry Device

Exporting from FirstClass

Getting Started with Telerik Data Access. Contents

Installing the ASP.NET VETtrak APIs onto IIS 5 or 6

New World Construction FTP service User Guide

Marcum LLP MFT Guide

FireBLAST Marketing Solution v2

CREDENTIAL MANAGER IN WINDOWS 7

VPN SOFTWARE - WINDOWS XP & WINDOWS 64-BIT INSTALLATION AND CONFIGURATION INSTRUCTIONS

How to Use JCWHosting Reseller Cloud Storage Solution

Consuming a Web Service(SOAP and RESTful) in Java. Cheat Sheet For Consuming Services in Java

Livezilla How to Install on Shared Hosting By: Jon Manning

Editing CCSU Web Sites with Dreamweaver

Save Actions User Guide

API Document Webaroo Technology India Pvt. Ltd.

Erie 1 BOCES/WNYRIC. Secure File Transfer. Upload/Download Wizard

CROWNPEAK C# API SYSTEM CONFIGURATION GUIDE VERSION 3.0.1

Accessing Personal Web Folders Macon State College

INFORMATION SYSTEMS SERVICE NETWORKS AND TELECOMMUNICATIONS SECTOR. User Guide for the RightFax Fax Service. Web Utility

FTP, IIS, and Firewall Reference and Troubleshooting

Service agnostic cloud storage access with TMS Cloud Pack for.net

Downloading and Installing Core FTP

T-CONNECT EDI VIEWER. Installation and User Guide 12/16/2014 WE BUILD SOFTWARE THAT HELPS OUR CLIENTS GROW DOCUMENT CREATED BY:

FileMaker Server 12. FileMaker Server Help

How to Open a Broker Account & Install MetaTrader4 on a Mac

Remote Access: Citrix Client Setup

Elluminate Live! Access Guide. Page 1 of 7

Method 1: SecuRemote Client VPN Software

Accessing your Staff (N and O drive) files from off campus

Migrating helpdesk to a new server

With a single download, the ADT Bundle includes everything you need to begin developing apps:

Integrated Cloud Environment Google Drive User s Guide

Box.net End User Guide

DocAve 6 SDK and Management Shell

Cyber-Ark Software. Version 4.5

EJB 3.0 and IIOP.NET. Table of contents. Stefan Jäger / stefanjaeger@bluewin.ch

Desktop Web Access Single Sign-On Configuration Guide

SSH Secure Client (Telnet & SFTP) Installing & Using SSH Secure Shell for Windows Operation Systems

Developer Guide. Android Printing Framework. ISB Vietnam Co., Ltd. (IVC) Page i

Installing Globodox Web Client on Windows 7 (64 bit)

Document Management Quick Reference Guide

Working With Your FTP Site

Customer Tips. Xerox Network Scanning HTTP/HTTPS Configuration using Microsoft IIS. for the user. Purpose. Background

SETTING UP YOUR JAVA DEVELOPER ENVIRONMENT

Integrated Cloud Environment Box User s Guide

How to open Alpari live account and Install MetaTrader 4

Java Software Development Kit (JDK 5.0 Update 14) Installation Step by Step Instructions

Elluminate Live! Access Guide. Page 1 of 7

CDUfiles User Guide. Chapter 1: Accessing your data with CDUfiles. Sign In. CDUfiles User Guide Page 1. Here are the first steps to using CDUfiles.

Table of Contents. Welcome Login Password Assistance Self Registration Secure Mail Compose Drafts...

Portrait Importer Utility

Mac Information. How to share files with Apple s MobileMe service

FHLBNY File Transfer System (FTS)

Virto Active Directory Service for SharePoint. Release Installation and User Guide

Introduction to Macromedia Dreamweaver MX

Avigilon Control Center System Integration Guide

Pronestor Room & Catering

Amazon Glacier. Developer Guide API Version

Amazon Fulfillment Web Service. Getting Started Guide Version 1.1

Tutorial: Windows Mobile Application Development. Sybase Unwired Platform 2.1 ESD #2

User Guide. What is AeroFS. Installing AeroFS. Learn How to Install AeroFS and get started syncing and sharing securely INTRODUCTION

Using the owncloud Android App

AWS Directory Service. AD Connector Administration Guide Version 1.0

wce Outlook Contact Manager Documentation

Connecticut Hazardous Waste Manifests Database

Instructions for Setup and Connecting to Department of Education Secure FTP(SFTP) server January 23, 2013

1 Classified Script. User Guide v1.0

Conexión SQL Server C#

Test Automation Integration with Test Management QAComplete

Transcription:

My Docs Online Secure File Delivery API: C# Introduction My Docs Online has provided HIPAA-compliant Secure File Sharing and Delivery since 1999. With the most recent release of its web client and Java Desktop Application the secure file sharing options have been expanded and made more flexible and powerful. See the Developer s Getting Started Guide for an introduction to My Docs Online Secure File Delivery and how to use it programmatically. See the REST API Reference for a detailed description of processing flow and functionality. The MDO C# API is distributed in the MdoApi.dll, which should be included as a reference in your project. The MdoApi consists of three classes, MdoClient, MdoShareEvent and MdoShareDetails. MdoClient is the main class and handles the processing of server requests. MdoShareEvent is used to exchange share parameters with the server. MdoShareDetails is used to return detail information about files in a share. MdoClient has the following methods. string GetErrorCode() Returns the three digit error code from the server 000 is no error string GetErrorMessage() Return the error message string from the server bool Authenticate(string MdoUserId, string password) Sends and authentication request to the server. returns true if authenticated, false if failure bool ShareUpload(string foldername, string filepath, string filename) Uploads file for share processing foldername is the name of the folder to contain the uploaded file filepath is the full path to the file filename is the file name to be used in the share Use multiple ShareUploads for more than one file

bool ShareComplete(MdoShareEvent mdoshare) Completes the share Input is a MdoShareEvent class which will contain share options and the resulting URL bool ShareCancel(string shareid) Cancels a share Input is the ShareId returned in the MdoShareEvent from a successful share bool ShareDetails(string shareid) Obtains detail information about each file in a share. Input is the ShareId returned in the MdoShareEvent from a successful share if return code is ok call the GetShareDetails method to get a list of MdoShareDetails List<MdoShareDetails> GetShareDetails returns a list of MdoShareDetails containing information about a specific share only call this if ShareDetails returned true. MdoShareEvent has the following Properties string ShareUrl get; The Share URL returned on a successful share string ShareId get; The unique share identifier returned on a successful share string Comment set; The Optional share comment string SharePassword set; The Optional share password string DownloadLimit set; The Optional download limit string ExpireDays set; The Optional days until share expires MdoShareDetails has the following Properties string FileName get; The name of the file string FileSize get; The size of the file string ShareTime get; The date/time the share occured string ExpireTime get;

The date/time the share expires string FirstDownload get; The date/time file first downloaded string LatestDownload get; The date/time file last downloaded string Comment get; Comment associated with share string DownloadLimit get; Limit on number of times a file can be downloaded string DownloadCount get; Number of times the file was downloaded bool SenderCanceled get; Share was canceled bool Expired get; Share has expired bool HitMaxDownload get; file downloaded more than Downloadlimit bool Finished get; Share is no longer available. reason is SenderCanceled, Expired, HitMaxDownload Sample program using System; using System.Collections.Generic; using System.Linq; using System.Text; using MdoApi; namespace TestApi class Program static void Main(string[] args) // New MDO Client MdoClient mdoclient = new MdoClient(); // Do authenticate if (mdoclient.authenticate("testid", "testpw")) // Upload the file if ( mdoclient.shareupload("uploadfolder", "c:\\test\\xymgk.dss", "cindy.dss")

MdoShareEvent mdoshare = new MdoShareEvent(); mdoshare.expiredays = "10"; mdoshare.downloadlimit = "5"; mdoshare.sharepassword = "abcde"; mdoshare.comment = "Here is a commment for you"; // Complete the Share if (mdoclient.sharecomplete(mdoshare)) Console.WriteLine(mdoShare.ShareUrl); Console.WriteLine(mdoShare.ShareId); if (mdoclient.sharedetails(mdoshare.shareid)) List<ShareDetails> sd = mdoclient.getsharedetails(); if (sd.count > 0) foreach (ShareDetails runsd in sd) Console.WriteLine("FileName = " + runsd.filename); Console.WriteLine("Share failed error code = " + mdoclient.geterrorcode()); Console.WriteLine("Share failed error msg = " + mdoclient.geterrormessage()); Console.WriteLine("Share upload failed error code = " + mdoclient.geterrorcode()); Console.WriteLine("Share upload error msg = " + mdoclient.geterrormessage()); Console.WriteLine("Auth failed error code = " + mdoclient.geterrorcode()); Console.WriteLine("Auth failed error msg = " + mdoclient.geterrormessage());