Get Chiefdoms

API URL

{{url}}/spice-service/data/chiefdoms/{id}

Method

POST

Description

Get chiefdom details by id

Input:

Field Name

Type

Mandatory

Example

id

Integer

Yes

Chiefdoms id

Authorization (Header)

String

Yes

Bearer 1ba363a1edf54402b51f58060aa52b11d30f99a490295adec900fdabf2b472181c0bfb165be18f4f5c430c7218a244bd29b9300d3471acc08197ccfb996118f6

client

String

Yes

mob

Output:

Field Name

Type

Comments

id

Integer

chiefdom id

name

String

chiefdom Name

code

String

Code for chiefdom

tenantId

Bigint

tenant id

countryId

Bigint

Country Id

districtName

String

District Name

healthFacilityCount

Bigint

Health facility count

users

String

Users of chiefdom

districtId

Bigint

District id

districtTenantId

Bigint

District Tenant Id

Sample Output:

{
  "id": 1,
  "name": "South Chennai",
  "code": "0001",
  "tenantId": 3,
  "countryId": 1,
  "districtName": null,
  "healthFacilityCount": null,
  "users": null,
  "districtId": 1,
  "districtTenantId": null
}