Академический Документы
Профессиональный Документы
Культура Документы
Table of Contents
Legal Notice .......................................................................................................................................2
Contact Support .................................................................................................................................2
Overview ...........................................................................................................................................4
Mobile Data Collection App .................................................................................................................. 4
doForms Website .................................................................................................................................. 5
doForms Dispatch ................................................................................................................................. 5
Security for Paid Accounts .................................................................................................................... 6
SOAP API ...........................................................................................................................................7
Managing Services ................................................................................................................................ 7
Limits on Use ......................................................................................................................................... 8
Connecting to a Web Service ................................................................................................................ 8
Basic Methods for Reading Data ........................................................................................................... 9
Downloading Media Files ...................................................................................................................... 9
Sample Code ....................................................................................................................................... 10
API Support Forums ............................................................................................................................ 10
Important Notes .................................................................................................................................. 10
API Methods .................................................................................................................................... 11
Current API Methods .......................................................................................................................... 11
Depreciated Methods ......................................................................................................................... 22
Custom Development Services ......................................................................................................... 23
Legal Notice
Your use of doForms, including online and offline components, is governed by the Terms of Use as
specified at http://www.doforms.com/terms-of-use.
Copyright 2011-2013 doForms Inc.
All Rights Reserved.
Contact Support
2|
Table of Contents
Email: support@doforms.com
Website: www.doforms.com/support
Please sign up to follow http://community.doforms.com/doforms/topics/using_web_services to be
alerted to recent development to doForms web services.
Notices
|3
Overview
doForms provides smart-forms for Android-powered smartphones and tablets - everything you need
in a turn-key, all-in-one, reliable, secure, and fully hosted mobile data collection solution. Supported
data types include:
Section labels
Textual data
Numeric data
Calculations
Date:time
Single choice answers
Multiple choice answers
Category scores
Lookup tables
Action buttons
Barcode scanning
NFC scanning
Signatures
Sketches
Pictures
Video recording
Audio notes
GPS locations
Approvals
Email reports
These data entry widgets can be displayed individually, or formatted using the following containers:
Page
Table
Grid
Questionnaire
Repeatable Section
4|
Overview
accuracy of reporting.
doForms provides a flexible, fast, and easy solution to deploying mobile data collection forms to your
workers - anywhere in the world. And the mobile forms on your workers' smartphone and tablet
devices are automatically synchronized and remotely kept up-to-date. Control who gets which mobile
data collection forms. Remotely control who can view or change the incoming data. doForms
centralizes this control on a website dashboard to save time and money.
For paid accounts, your doForms mobile app can be branded using your company name and graphics.
doForms Website
doForms provides a fully integrated website for aggregating, sorting, querying, viewing and managing
mobile forms data being collected by your workers. If GPS coordinates are included, your mobile forms
data can be viewed on top of an interactive map. The website keeps track of which workers collected
which mobile forms data. The website makes it easy to export mobile forms data to your other business
applications, and to integrate your mobile forms data in real time with other IT systems by using web
services.
Use our off-the-shelf mobile data collection forms library. Or create your own mobile forms using the
most powerful, yet easy-to-use form creation software available. Our form builder provides simple and
intuitive user interfaces for building mobile forms. You don't need to be a specialist to use our form
creation software. You just need to have an understanding of what you want your mobile data collection
software to do. With doForms, anyone with office software experience can create their own mobile data
collection forms for smartphones and tablets. With doForms, there is no need for software
programmers to build your mobile forms or IT support staff to deploy them.
doForms allows easy exporting of mobile forms information to other business applications such as
Microsoft Excel, Open Office, and Google Docs. Export options are also provided for CSV, HTML and PDF
file formats. Additionally, doForms also provides for direct integration of your mobile forms with CRM,
database and GIS systems, such as Salesforce.com, Oracle, SAP, and ArcGIS, through the use of industrystandard SOAP web services. These web services can be set up and deployed in a matter of minutes with
no software programmers involved.
For paid accounts, your doForms website and mobile app can be branded using your company name and
graphics.
doForms Dispatch
doForms Dispatch provides powerful dispatch forms and work order forms functionality. These special
purpose forms contain important information to tell mobile workers where to go (dispatch) and what to
do when they get there (work order). As your mobile workers complete their assigned tasks, doForms let
them fill out data fields in the form, take pictures, capture GPS locations, and collect signatures. The
completed data records are then sent back to you.
In addition to sending and receiving forms from your workers, doForms Dispatch also tracks their
current and past GPS locations, and these locations are plotted on an interactive map in the Dispatch
tab. You can select which workers to view, as well as the time interval. The map also shows the locations
Overview
|5
6|
Overview
SOAP API
Managing Services
Add service To add a new web service, select Add service in the Row Menu. You will be prompted to
first select a project, then select the form that you wish to publish. Then enter a password. The WS ID is
a system-generated value. Press Add when done. A new row will be added to the Web Services tab
containing the web service URL generated by the doForms system, [WSID], and the[ Password] you
entered (the use of these parameters is explained below).
Delete service You can delete the web service by clicking Delete service in the Row Menu. A message
will be displayed asking you to confirm that you wish to delete the web service. Press OK if you do.
Otherwise, press Cancel.
Turn on/off Existing web services can be turned off or on by clicking Turn on/off in the Row Menu.
SOAP API
|7
Limits on Use
We monitor and restrict how many data records are read daily by each doForms web service WSID. All
use limits are on a per day basis. Each day starts and ends at 00:00 UTC.
Limits on Data Record Reads: The limit is currently set to 50 times the number of mobile units in your
account per day. So as an example, if you have 30 mobile units in your account, you can read
50X30=1500 records per day.
Limits on Lookup Table Uploads: The limit is currently set to 1,000,000 write operations per day. A
good rule of thumb is the number of write operations equals approximately 4 x number of records x
number of fields that are uploaded. So for 10,000 records with 10 fields you would expect
approximately 400,000 write ops.
Limits on Lookup Table Downloads: The limit is currently set to 1,000,000 read operations per day. A
good rule of thumb is the number of read operations equals approximately just the number of records
that are downloaded (i.e., read ops are independent of the number of fields). So for 10,000 records
with 10 fields you would expect approximately 10,000 write ops.
Note that during the 7 days immediately following the creation of a web service, we provide higher
limits than those above in order to permit adequate testing of your software. This is done on a WSID by
WSID basis. So if you need to extend this 7 days you can do so by deleting the doforms web service, and
creating a new one for the same project/form (this will generate a new WSID).
Customers requiring higher use limits should contact support@doforms.com. We reserve the right to
change these limits at any time with or without notice in order to maintain the performance and
reliability of your doForms website.
NOTICE: There are currently no use-limits on the BETA lookup table related web services. These uselimits will be implemented when the production version of these web services is released and additional
charges may be applicable to these web services.
8|
Overview
format and can be used to verify that the web service is being used correctly.
SOAP API
|9
Sample Code
Java - http://beta.mydoforms-hrd.appspot.com/support/doForms_WS_Java_Sample.zip
VB.Net - http://beta.mydoforms-hrd.appspot.com/support/doForms_WS_VBNet_Sample.zip
PHP - http://beta.mydoforms-hrd.appspot.com/support/doForms_WS_PHP_Sample.zip
Important Notes
Below are the most current recommended methods provided by the doForms web services API. Note
that in all cases the [WS ID] and [Password] refer to a specific doForms project/form web service.
The API methods described herein use two different ways of referencing specific records: Please be sure
to use to the correct reference when using a specific method:
RecordId This is the same as the Form_Record field displayed in the View Data and Dispatch tabs
and included in exports.
RecordKey This is an internal database reference that is more efficient than RecordID.
Also, some of the API methods described here use and/or return two different date:time stamps:
Date_Created This is the date:time when a record is first saved as complete on a mobile device (or
on the website if it was first created there.)
Date_Recieved This is the date:time when a record was first received by the website. Note that
this is the most reliable date:time for specifying non-overlapping record ranges.
All date/time values are returned in the UTC/GMT time zone. However you can use the Time Zone
parameter that is returned by the newest version of the getDataByRecordKey method to calculate the
local Date_Created.
10 |
Overview
API Methods
Current API Methods
getWsIDList2: Return the list of active web service WSID's for an account
which matching the password
<soapenv:Envelope
xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"
xmlns:ser="services.wss.portal.doforms.mdt.com">
<soapenv:Header/>
<soapenv:Body>
<ser:getWsIDList2>
<arg0_java_lang_String>[Account Name]</arg0_java_lang_String>
<arg1_java_lang_String>[WS Password]</arg1_java_lang_String>
<arg2_int>[ResponseFormat]</arg2_int>
</ser:getWsIDList2>
</soapenv:Body>
</soapenv:Envelope>
Where:
[Account Name] is the Account name or Website name
[WS Password] is the WS Password
[ResponseFormat]: 1=CSV, 2=XML, 3=JSON
getFormTemplate2: get the form structure in XML format
<soapenv:Envelope
xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"
xmlns:ser="services.wss.portal.doforms.mdt.com">
<soapenv:Header/>
<soapenv:Body>
<ser:getFormTemplate2>
<arg0_java_lang_String>[WS ID]</arg0_java_lang_String>
<arg1_java_lang_String>[Password]</arg1_java_lang_String>
</ser:getFormTemplate2>
</soapenv:Body>
</soapenv:Envelope>
checkValidWebservice: Check if a WS is valid or not
<soapenv:Envelope
xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"
xmlns:ser="services.wss.portal.doforms.mdt.com">
<soapenv:Header/>
<soapenv:Body>
<ser:checkValidWebservice>
<arg0_java_lang_String>[WS ID]</arg0_java_lang_String>
<arg1_java_lang_String>[Password]</arg1_java_lang_String>
</ser:checkValidWebservice>
</soapenv:Body>
</soapenv:Envelope>
Return:
true: the WS is valid
API Methods
| 11
12 |
API Methods
<soapenv:Header/>
<soapenv:Body>
<ser:markUnReadDataAsRead>
<arg0_java_lang_String>[RecordKey]</arg0_java_lang_String>
</ser:markUnReadDataAsRead>
</soapenv:Body>
</soapenv:Envelope>
Where:
[RecordKey]: The RecordKey which is extracted from the @recordKey
field returned getUnReadData method.
getRecordKeyByReceivedDateRange: Return a list of the RecordKeys in a given
received date range which is the date:time that the record is received by the
website.
<soapenv:Envelope
xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"
xmlns:ser="services.wss.portal.doforms.mdt.com">
<soapenv:Header/>
<soapenv:Body>
<ser:getRecordKeyByReceivedDateRange>
<arg0_java_lang_String>[WS ID]</arg0_java_lang_String>
<arg1_java_lang_String>[Password]</arg1_java_lang_String>
<arg2_java_lang_String>[From Date]</arg2_java_lang_String>
<arg3_java_lang_String>[To Date]</arg3_java_lang_String>
</ser:getRecordKeyByReceivedDateRange>
</soapenv:Body>
</soapenv:Envelope>
Where:
[From Date]: the UTC date:time in MM/dd/yyyy HH:mm:ss format
- [To Date]: the UTC date:time in MM/dd/yyyy HH:mm:ss format
getRecordKeyByEditedDateRange: Return a list of the RecordKeys in a given
date range when the records are edited/updated.
<soapenv:Envelope
xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"
xmlns:ser="services.wss.portal.doforms.mdt.com">
<soapenv:Header/>
<soapenv:Body>
<ser:getRecordKeyByEditedDateRange>
<arg0_java_lang_String>[WS ID]</arg0_java_lang_String>
<arg1_java_lang_String>[Password]</arg1_java_lang_String>
<arg2_java_lang_String>[From Date]</arg2_java_lang_String>
<arg3_java_lang_String>[To Date]</arg3_java_lang_String>
</ser:getRecordKeyByEditedDateRange>
</soapenv:Body>
</soapenv:Envelope>
Where:
[From Date]: the UTC date:time in MM/dd/yyyy HH:mm:ss format
[To Date]: the UTC date:time in MM/dd/yyyy HH:mm:ss format
API Methods
| 13
14 |
API Methods
<ser:submissionDispatch2>
<arg0_java_lang_String>[WS ID]</arg0_java_lang_String>
<arg1_java_lang_String>[Password]</arg1_java_lang_String>
<arg2_java_lang_String>[recordsToSubmit]</arg2_java_lang_String>
</ser:submissionDispatch2>
</soapenv:Body>
</soapenv:Envelope>
Where:
[recordsToSubmit]is a CSV data string including headers and
corresponding values concatenated by @END_LINE; For example:
"@mobileNumber","string_question","integer_question","decimal_questi
on","date_question","Time_question","Date_Time_question","select_mul
tiple_question","select_one_question","geopoint_question","barcode_q
uestion"@END_LINE;"0909707606","sent using wss to the mobile device
0909707606 #9","11","12.5","2012-07-06","23:59:59","2012-0721T23:59:59","option_a option_c","option_3","10.687 106.23 54
20","898777907";
The @mobileNumber is a system field. If this field is blank or
omitted, the submitted record will be set to pending. Otherwise,
this record will be automatically set to sent and delivered to the
mobile unit whose mobile number is set in this field.
listDispatch: Return a list of Records headers based On Status Flag, only
included RecordKey, and base header fields(MobileNumber, Date Completed, Date
Submitted).
<soapenv:Envelope
xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"
xmlns:ser="services.wss.portal.doforms.mdt.com">
<soapenv:Header/>
<soapenv:Body>
<ser:listDispatch>
<arg0_java_lang_String>[WS ID]</arg0_java_lang_String>
<arg1_java_lang_String>[Password]</arg1_java_lang_String>
<arg2_int>[DispatchStatus]</arg2_int>
<arg3_int>[ResponseFormat]</arg3_int>
</ser:listDispatch>
</soapenv:Body>
</soapenv:Envelope>
Where:
[DispatchStatus]: 1=Pending, 2=Scheduled, 3=Sent, 4=Received,
5=Viewed, 6=Rejected, 7=Completed, 100=All
[ResponseFormat]: 1=CSV, 2=XML, 3=JSON
deleteDataByRecordKey: Delete records by the RecordKey
<soapenv:Envelope
xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"
xmlns:ser="services.wss.portal.doforms.mdt.com">
<soapenv:Header/>
<soapenv:Body>
<ser:deleteDataByRecordKey>
<arg0_java_lang_String>[RecordKeys]</arg0_java_lang_String>
API Methods
| 15
</ser:deleteDataByRecordKey>
</soapenv:Body>
</soapenv:Envelope>
Where:
[RecordKeys]: The list of the RecordKey separated by a comma (,).
The RecordKey which is extracted from the @recordKey field
returned by the getRecordKeyByDateRange method.
Return:
true: the WS is valid
false: the WS is invalid
deleteData: Delete records by the record Id
<soapenv:Envelope
xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"
xmlns:ser="services.wss.portal.doforms.mdt.com">
<soapenv:Header/>
<soapenv:Body>
<ser:deleteData>
<arg0_java_lang_String>[Record IDs]</arg0_java_lang_String>
</ser:deleteData>
</soapenv:Body>
</soapenv:Envelope>
Where:
[Record IDs] The list of the record ID separated by a comma (,).
Note that the record ID is the Form_Record field on the View Data
tab.
Return:
0: Success
-1: System Error
-2: No record found
deleteDispatch: Deletes Dispatch records based on Ids
<soapenv:Envelope
xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"
xmlns:ser="services.wss.portal.doforms.mdt.com">
<soapenv:Header/>
<soapenv:Body>
<ser:deleteDispatch>
<arg0_java_lang_String>[WS ID]</arg0_java_lang_String>
<arg1_java_lang_String>[Password]</arg1_java_lang_String>
<arg2_java_lang_String>[RecordKeys]</arg2_java_lang_String>
<arg3_int>[ResponseFormat]</arg3_int>
</ser:deleteDispatch>
</soapenv:Body>
</soapenv:Envelope>
Where:
[RecordKeys]: the list of the RecordKey concatenated by a comma
[ResponseFormat]: 1=CSV, 2=XML, 3=JSON
16 |
API Methods
getLookupTableList: Return the Lookup Table list that includes only the
Lookup Table key, name, description and the column list.
<soapenv:Envelope
xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"
xmlns:ser="services.wss.portal.doforms.mdt.com">
<soapenv:Header/>
<soapenv:Body>
<ser:getLookupTableList>
<arg0_java_lang_String>[ACCOUNT NAME]</arg0_java_lang_String>
<arg1_java_lang_String>[EMAIL]</arg1_java_lang_String>
<arg2_java_lang_String>[PASSWORD]</arg2_java_lang_String>
<arg3_int>[ResponseFormat]</arg3_int>
</ser:getLookupTableList>
</soapenv:Body>
</soapenv:Envelope>
Where:
[ACCOUNT NAME]: your doForms account name
[EMAIL]: The email address which used to login into mydoforms
[PASSWORD]: The password which used to login into mydoforms
[ResponseFormat]: 1=CSV, 2=XML, 3=JSON
An example of a reponse in CSV format
[<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<Root version="1.0">
<StatusCode>200</StatusCode>
<ErrorMessage>Success</ErrorMessage>
<Data>
<error_message/>
<error_code/>
<Result><![CDATA[key, tableName, description, columnsName
aglteWRvZm9ybXNyFQsSDkxvb2t1cFRhYmxlTXN0GIIGDA,"DS1","Sample
1","STATION,STATION_NAME,ELEVATION,LATITUDE,LONGITUDE,DATE,HLY-CLDHNORMAL,Completeness Flag,HLY-HTDH-NORMAL,Completeness Flag"
aglteWRvZm9ybXNyFQsSDkxvb2t1cFRhYmxlTXN0GJEGDA,"DS2","Sample
2","STATION,STATION_NAME,ELEVATION,LATITUDE,LONGITUDE,DATE,HLY-CLDHNORMAL,Completeness Flag,HLY-HTDH-NORMAL,Completeness Flag"
</Data>
</Root>]
getLookupTableData: Get the content of a Lookup Table.
is subject to the Use Limits described above.
<soapenv:Envelope
xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"
xmlns:ser="services.wss.portal.doforms.mdt.com">
<soapenv:Header/>
<soapenv:Body>
<ser:getLookupTableData>
<arg0_java_lang_String>[ACCOUNT NAME]</arg0_java_lang_String>
<arg1_java_lang_String>[EMAIL]</arg1_java_lang_String>
<arg2_java_lang_String>[PASSWORD]</arg2_java_lang_String>
<arg3_java_lang_String>[LU KEY]</arg3_java_lang_String>
<arg4_int>[OFFSET]</arg4_int>
<arg5_int>[LIMIT]</arg5_int>
API Methods
| 17
<arg6_int>[ResponseFormat]</arg6_int>
</ser:getLookupTableData>
</soapenv:Body>
</soapenv:Envelope>
Where:
[ACCOUNT NAME]: your doForms account name
[EMAIL]: The email address which used to login into mydoforms
[PASSWORD]: The password which used to login into mydoforms
[LU KEY]: The Lookup Table key which returned by getLookupTableList
[OFFSET]: The row position will be returned
[LIMIT]: The number of rows will be returned
Note: return all rows if [LIMIT] is -1.
[ResponseFormat]: 1=CSV, 2=XML, 3=JSON
An example of a reponse in CSV format
[<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<Root version="1.0">
<StatusCode>200</StatusCode>
<ErrorMessage>Success</ErrorMessage>
<Data>
<error_message/>
<error_code/>
<Result><![CDATA["STATION","STATION_NAME","ELEVATION","LATITUDE","LONGI
TUDE","DATE","HLY-CLDH-NORMAL","Completeness Flag","HLY-HTDHNORMAL","Completeness Flag"
"GHCND:USW00003947","KANSAS CITY INTERNATIONAL AIRPORT MO
US","306.3","39.2972","-94.7306","20100101 00:00","0","C","375","C"
"GHCND:USW00003947","KANSAS CITY INTERNATIONAL AIRPORT MO
US","306.3","39.2972","-94.7306","20100101 01:00","0","C","380","C"
"GHCND:USW00003947","KANSAS CITY INTERNATIONAL AIRPORT MO
US","306.3","39.2972","-94.7306","20100101
02:00","0","C","384","C"]]></Result>
</Data>
</Root>]
addLookupTableData: Add a new Lookup Table.
to the Use Limits described above.
<soapenv:Envelope
xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"
xmlns:ser="services.wss.portal.doforms.mdt.com">
<soapenv:Header/>
<soapenv:Body>
<ser:addLookupTableData>
<arg0_java_lang_String>[ACCOUNT NAME]</arg0_java_lang_String>
<arg1_java_lang_String>[EMAIL]</arg1_java_lang_String>
<arg2_java_lang_String>[PASSWORD]</arg2_java_lang_String>
<arg3_java_lang_String>[LU NAME]</arg3_java_lang_String>
<arg4_java_lang_String>[DESCRIPTION]</arg4_java_lang_String>
<arg5_java_lang_String>[DATA SOURCE]</arg5_java_lang_String>
<arg6_int>[ResponseFormat]</arg6_int>
</ser:addLookupTableData>
</soapenv:Body>
</soapenv:Envelope>
Where:
18 |
API Methods
<soapenv:Envelope
xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"
xmlns:ser="services.wss.portal.doforms.mdt.com">
<soapenv:Header/>
<soapenv:Body>
<ser:updateLookupTableData>
<arg0_java_lang_String>[ACCOUNT NAME]</arg0_java_lang_String>
<arg1_java_lang_String>[EMAIL]</arg1_java_lang_String>
<arg2_java_lang_String>[PASSWORD]</arg2_java_lang_String>
<arg3_java_lang_String>[LU NAME]</arg3_java_lang_String>
<arg4_java_lang_String>[DESCRIPTION]</arg4_java_lang_String>
<arg5_java_lang_String>[LU KEY]</arg5_java_lang_String>
<arg6_java_lang_String>[DATA SOURCE]</arg6_java_lang_String>
<arg7_int>[ResponseFormat]</arg7_int>
</ser:updateLookupTableData>
</soapenv:Body>
</soapenv:Envelope>
Where:
[ACCOUNT NAME]: your doForms account name
[EMAIL]: The email address which used to login into mydoforms
[PASSWORD]: The password which used to login into mydoforms
[LU NAME]: The Lookup Table name
[DESCRIPTION]: The Lookup Table description
[LU KEY]: The Lookup Table key which returned by getLookupTableList
[DATA SOURCE]: The datasource in CSV format. The @END_LINE; is used
as a carriage return for each row and the first row is the header.
Note: the number of fields in the new datasource must be same with
the current datasource.
For example:
"STATION","STATION_NAME","ELEVATION","LATITUDE","LONGITUDE","DATE","
HLY-CLDH-NORMAL","Completeness Flag","HLY-HTDH-NORMAL","Completeness
Flag"@END_LINE;
API Methods
| 19
Note
<soapenv:Envelope
xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"
xmlns:ser="services.wss.portal.doforms.mdt.com">
<soapenv:Header/>
<soapenv:Body>
<ser:appendLookupTableData>
<arg0_java_lang_String>[ACCOUNT NAME]</arg0_java_lang_String>
<arg1_java_lang_String>[EMAIL]</arg1_java_lang_String>
<arg2_java_lang_String>[PASSWORD]</arg2_java_lang_String>
<arg3_java_lang_String>[LU NAME]</arg3_java_lang_String>
<arg4_java_lang_String>[DESCRIPTION]</arg4_java_lang_String>
<arg5_java_lang_String>[LU KEY]</arg5_java_lang_String>
<arg6_java_lang_String>[DATA SOURCE]</arg6_java_lang_String>
<arg7_int>[ResponseFormat]</arg7_int>
</ser:appendLookupTableData>
</soapenv:Body>
</soapenv:Envelope>
Where:
[ACCOUNT NAME]: your doForms account name
[EMAIL]: The email address which used to login into mydoforms
[PASSWORD]: The password which used to login into mydoforms
[LU NAME]: The Lookup Table name
[DESCRIPTION]: The Lookup Table description
[LU KEY]: The Lookup Table key which returned by getLookupTableList
[DATA SOURCE]: The datasource in CSV format. The @END_LINE; is used
as a carriage return for each row and the first row is the header.
Note: the number of fields in the new datasource must be same with
the current datasource.
For example:
"STATION","STATION_NAME","ELEVATION","LATITUDE","LONGITUDE","DATE","
HLY-CLDH-NORMAL","Completeness Flag","HLY-HTDH-NORMAL","Completeness
Flag"@END_LINE;
"GHCND:USW00003947","KANSAS CITY INTERNATIONAL AIRPORT MO
US","306.3","39.2972","-94.7306","20100101
00:00","0","C","375","C"@END_LINE;
"GHCND:USW00003947","KANSAS CITY INTERNATIONAL AIRPORT MO
US","306.3","39.2972","-94.7306","20100101 01:00","0","C","380","C"
[ResponseFormat]: 1=CSV, 2=XML, 3=JSON
20 |
API Methods
API Methods
| 21
<arg2_java_lang_String>[PASSWORD]</arg2_java_lang_String>
<arg3_java_lang_String>[MOBILE KEY]</arg3_java_lang_String>
<arg4_java_lang_String>["FROM" DATE]</arg4_java_lang_String>
<arg5_java_lang_String>["TO" DATE]</arg5_java_lang_String>
<arg6_int>[ResponseFormat]</arg6_int>
</ser:getGPSTrackingPoints>
</soapenv:Body>
</soapenv:Envelope>
Where:
[ACCOUNT NAME]: your doForms account name
[EMAIL]: The email address which used to login into mydoforms
[PASSWORD]: The password which used to login into mydoforms
[MOBILE KEY]: The mobile key which returned by the getMobileUnits
method
["FROM" DATE]: the date:time when the GPS values are created and
received on the mobile device
["FROM" DATE]: the date:time when the GPS values are created and
received on the mobile device
[ResponseFormat]: 1=CSV, 2=XML, 3=JSON, 4=KML, 5=GPX
Depreciated Methods
Although deprecated methods remain in the API, their use is discouraged, and deprecation may indicate
that the feature will be removed in the future. Features are deprecatedrather than immediately
removedin order to provide backward compatibility, and give programmers who have used the
feature enough time to bring their code into compliance with the new standard.
The following methods are depreciated:
getDataByRecordKey2
getDataByRecordKey3
22 |
API Methods
Contact Support
| 23