App Version

API URL

{{url}}/spice-service/static-data/app-version

Method

POST

Description

Get the app version

Input:

Field Name

Type

Mandatory

Example

encounterType

String

Yes

UNDER_TWO_MONTHS

gender

String

Yes

Male or Female

isPregnant

Boolean

Yes

Pregnant state indication

memberId

Bigint

Yes

Member id

patientId

BigInt

Yes

Patient reference id

provenance

String

Yes

Provenance data

ticketType

String

Yes

ICCM

type

String

Yes

Medical Review

Authorization (Header)

String

Yes

Bearer 1ba363a1edf54402b51f58060aa52b11d30f99a490295adec900fdabf2b472181c0bfb165be18f4f5c430c7218a244bd29b9300d3471acc08197ccfb996118f6

client

String

Yes

mob

Sample Input:

{ "encounterType": "UNDER_TWO_MONTHS", "gender": "female", "isPregnant": false, "memberId": "1", "patientId": "1", "provenance": { "modifiedDate": "2025-01-20T07:33:38.436Z", "organizationId": "9", "spiceUserId": 1713, "userId": "11" }, "ticketType": "ICCM", "type": "medicalReview" }

Output:

Field Name

Type

Comments

message

String

The app version is up to date

status

Boolean

Response status

Sample Output:

{
  "message": "App version is upto date.",
  "entity": true,
  "status": true,
  "entityList": null,
  "responseCode": 200,
  "totalCount": null
}