Mobile SDK > Disconnected mobile application reference > Mobile Synchronization Web Service (MobileSyncWebService) reference > URL overview > /Projects/PROJECT/Questions/ [VERSION]/[LANGUAGE]/[LABELCONTEXT]/ [LABELTYPE]/[CUSTOMPROPERTIESCONTEXT] URL
 
/Projects/PROJECT/Questions/ [VERSION]/[LANGUAGE]/[LABELCONTEXT]/ [LABELTYPE]/[CUSTOMPROPERTIESCONTEXT] URL
Description
Retrieves the Question XML for the specified version and LCL (Language, LabelContext, LabelType). Multiple values can be provided in a comma separated list.
When the CustomPropertiesContext is specified, the Question and Category nodes include all properties in the specified context. CustomProperties are useful for third parties when passing information to the mobile application. All parameters are optional. When parameters are not specified, the latest version and default LCL are used. Question is the default Context, regardless of the MDM document's default value).
When CustomPropertiesContext is not specified, no custom properties are returned. An optional parameter can only be specified if all preceding parameters in the URL are specified. For example, to specify a language, the required version must also be specified. The "-" special value can be used in place of the Version, Language, Context, or LabelType to indicate the value has not been specified, and the latest version or default LCL must be used.Version can contain a colon (for example, 1:2). The colon is translated to a period (for example, 1.2) in the ProjectInfo XML and must be specified as a period in the URL.
Get Request
The caller can include If-Modified-Since in the header to request only updated files.
Example URLs:
/SPSSMR/MobileSync/Projects/Museum/Questions
/SPSSMR/MobileSync/Projects/Museum/Questions/4
/SPSSMR/MobileSync/Projects/Museum/Questions/-/en-US
/SPSSMR/MobileSync/Projects/Museum/Questions/-/en-US,fr-FR
Get Response
The Question XML is returned, or an HTTP 304 message if the file was not modified. Example response:
<Questions Project="sampletest" Version="1" Language="ENU"
           Context="Question" LabelType="Label"
           CustomPropertiesContext="Question,QC">
  <Question QuestionFullName="Quest2" QuestionDataType="Long">
    <Label Text="Question 2" />
    <Validation RangeExpression="[0..255]"
                MinValue="0" MaxValue="255" />
  </Question>
  <Question QuestionFullName="Quest3" QuestionDataType="Text">
    <Label Text="Question 3" />
    <Validation RangeExpression="[1..]" MinValue="1" />
  </Question>
</Questions>
See also
URL overview