Service ini menyediakan data data sektoral.
{{}}
Baseurl
https://pusaka.magelangkab.go.id
{{baseurl}}/api/sektoral
Headers
Header |
Type |
Required |
Description |
x-username |
string |
Yes |
The username for the user |
x-password |
string |
Yes |
The password for the user |
Auth Type
Auth Type |
Type |
Required |
Description |
Bearer Token |
string |
Yes |
Key app to access API (You need an token API. Please log in to the API to
generate an token. If you already have an token, please provide it
below.) |
Success (200 OK)
HTTP/1.1 200 OK
{
"code": "200",
"message": "Authentication successful",
"data": [
{
"nama": "JUMLAH RUMAH SAKIT SWASTA",
"skpd": "DINAS KESEHATAN",
"satuan": "UNIT",
"jumlah": "4",
"cakupan": "Kabupaten"
},
]
}
Error 4xx
HTTP/1.1 40x
{
"code": "40x",
"message": "Invalid username or password"
}