Skip to main content
Version: 2.1

apps

APP CLIENT

To use app sdk client we need retrive from the SDK using rumsanService.client

const appStatsClient = getAppClient(rumsanService.client);

As the mutation function or query function may contain some payload to be pass which are the parmaeter.

  • Get app status

appStatsClient.getAppStatus
ParameterTypeDescription
locationstringfilter by location
ward_nostringfilter by ward number
    success: true
data:[]
  • Post import kobo-tool form

appStatsClient.koboImportByForm
ParameterTypeDescription
namestringname of the kobo tool
  • Get Kobo tools Settings

appStatsClient.listKoboSettings
  • Get app settings by name

appStatsClient.listBySettingName
ParameterTypeDescription
namestringname of the app setting