Get Menu

API URL

{{url}}/spice-service/static-data/menu

Method

POST

Description

Fetch static data menu details.

Sample Input

Field Name

Type

Mandatory

Example

countryId

Integer

Yes

Country id

roleName

String

Yes

SUPER_ADMIN

appTypes

String

Yes

COMMUNITY or NON_COMMUNITY

Authorization (Header)

String

Yes

Bearer 1ba363a1edf54402b51f58060aa52b11d30f99a490295adec900fdabf2b472181c0bfb165be18f4f5c430c7218a244bd29b9300d3471acc08197ccfb996118f6

client

String

Yes

web

{
  countryId: "1", 
  roleName: "SUPER_ADMIN", 
  appTypes: ["NON_COMMUNITY"]
}

Sample Output

Field Name

Type

Comments

message

String

Menu Details fetched successfully

id

Integer

Menu id

roleName

String

Role Names

menus

String

Menu and its details, e.g BY_REGION, BY_CHIEFDOM, BY_DISTRICT, BY_HEALTH_FACILITY

status

String

Menu status