Initial import
This commit is contained in:
39
application/controllers/website/patient.http
Normal file
39
application/controllers/website/patient.http
Normal file
@@ -0,0 +1,39 @@
|
||||
### Variabel Global
|
||||
@baseUrl = https://cpone.aplikasi.web.id/one-api/website/patient/
|
||||
@adminApiKey = 7a9b8c7d6e5f4g3h2i1j0k9l8m7n6o5p4q3r2s1t0u9v8w7x6y5z4a3b2c1d0
|
||||
@userApiKey = 7a9b8c7d6e5f4g3h2i1j0k9l8m7n6o5p4q3r2s1t0u9v8w7x6y5z4a3b2c1d0
|
||||
|
||||
### 1. Get Province - Contoh mencari "JAWA"
|
||||
GET {{baseUrl}}get_regional?type=province&search=JAWA
|
||||
Authorization: Bearer {{adminApiKey}}
|
||||
|
||||
### 1. Get Province
|
||||
GET {{baseUrl}}get_regional?type=province&search=
|
||||
Authorization: Bearer {{adminApiKey}}
|
||||
|
||||
### 2. Get Kabupaten - Contoh untuk DKI Jakarta (31)
|
||||
GET {{baseUrl}}get_regional?type=kabupaten&province_id=31
|
||||
Authorization: Bearer {{adminApiKey}}
|
||||
|
||||
### 2.1. Get Kecamatan - Contoh untuk DKI Jakarta, Kota Jakarta Selatan
|
||||
GET {{baseUrl}}get_regional?type=kabupaten&province_id=31&kabupaten_id=71
|
||||
Authorization: Bearer {{adminApiKey}}
|
||||
|
||||
### 3. Get Kecamatan - Contoh untuk DKI Jakarta, Kota Jakarta Selatan
|
||||
GET {{baseUrl}}get_regional?type=kecamatan&province_id=31&kabupaten_id=71
|
||||
Authorization: Bearer {{adminApiKey}}
|
||||
|
||||
### 3.1. Get Kecamatan - Contoh untuk DKI Jakarta, Kota Jakarta Selatan, Pasar Minggu
|
||||
GET {{baseUrl}}get_regional?type=kecamatan&province_id=31&kabupaten_id=71&kecamatan_id=020
|
||||
Authorization: Bearer {{adminApiKey}}
|
||||
|
||||
### 4. Get Kelurahan - Contoh untuk DKI Jakarta, Kota Jakarta Selatan, Pasar Minggu
|
||||
GET {{baseUrl}}get_regional?type=kelurahan&province_id=31&kabupaten_id=71&kecamatan_id=020
|
||||
Authorization: Bearer {{adminApiKey}}
|
||||
|
||||
### 4.1. Get Kelurahan - Contoh untuk DKI Jakarta, Kota Jakarta Selatan, Pasar Minggu, Ragunan
|
||||
GET {{baseUrl}}get_regional?type=kelurahan&province_id=31&kabupaten_id=71&kecamatan_id=020&kelurahan_id=002
|
||||
Authorization: Bearer {{adminApiKey}}
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user