LDS Tools Web Services

(Redirected from LDS Mobile Web Services)
LDS Tools Project Index edit

The LDS Tools Web Services provide common services for LDS Tools applications.

Web service location

Because the URLs may change for the web services, a JSON file has been placed on the server that points to the current location of the web services. It's useful to have these URLs external like this so that developers will not be required to update their apps when they change, which is expected to happen in the July timeframe.

This file should look something like this:


Description of Services

All of the web services below return data in a JSON format.

Signin services

type:HTTP POST parameters: "username" and "password" and a redirect URL in the cookie
This is the URL you will use to authenticate the user. If the authentication was successful, you should get a 200 response code and the phrase "Sign In" shouldn't be found in the response body. Use an HTTP POST for this request.
type:GET parameters: none
This is useful to call when signing out as one user and before signing in as another.
Once the user has authenticated, the SSO server will append a session cookie to your request, so you don't have to do anything special to let the web service know that you're authenticated. This request will return the unit number of the ward the authenticated user is assigned to. Use an HTTP GET for this request.
This will return a list of ward unit numbers for the stake the authenticated user is in. Use an HTTP GET for this request.
This will return all the leaders for the stake. Use an HTTP GET for this request.
Returns all the members and families within the ward. You will need to loop through the unit numbers you get from the "stake-units" service and make this call for each ward in the stake. Replace the '%@' with the unit number. Use an HTTP GET for this request.
Returns all the leadership positions and the individual who is assigned to that position. Again, replace the '%@" with the ward unit number. Use an HTTP GET for this request.
Returns a JSON file with temporary uris to a small medium and large image. The image will be returned as a jpeg.
The format for the photo-url is:[head of house id]/household[comma separated list of individual ids]/individual
Returns a list of the calendars the authenticated user is subscribed to. Use an HTTP GET for this request.
Returns all the events for the calendars the authenticated user is subscribed to within the range you specify. Replace the "%.0f-%.0f" with the start and end ([start]-[end]) (in milliseconds since 1970). Use an HTTP GET for this request.
It is uncertain why this one is included; it is probably not used anywhere. Use an HTTP GET for this request.
Retrieve details for a specific event. Replace the '%d' with the event id you got from the "cal-events" service. Use this when the user selects a specific event in order to pull that event up in its own page. Use an HTTP GET for this request.

Configurable Values

maintenance-android and maintenance-ios
informs apps to not process a sync due to system maintenance
indicates how often the apps will perform an automatic update. CURRENTLY DISABLED
connect-timeout-seconds, timeout-seconds and response-timeout-seconds
indicate the amount of time the apps will wait during different processes
a progressive array of times that are used to increase our retry delay when service calls start failing
time after which we force a data sync
number of warnings user is given before being locked out of the data and forcing a clear


Data for the LDS Tools application is retrieved from the Church via web services. There are two categories of services.

This page was last modified on 7 May 2013, at 10:13.

Note: Content found in this wiki may not always reflect official Church information.