@2024 Medtronic LABS
{ "id": 246, "name": "Githongo Sub-county Hospital", "email": "sam.waxxxa1@gmail.com", "addressType": "Physical", "addressUse": "Work", "address1": "Githongo Market town", "address2": "5. west road/colony 6-25", "latitude": "1", "longitude": "1", "city": "Kenya, Meru", "phoneNumber": "717XXX294", "postalCode": 1204133333, "siteLevel": "Level 4", "siteType": "Pharmacy", "country": { "id": 4 }, "county": { "id": 4, "name": "Meru" }, "subCounty": { "id": 105, "name": "Central Imenti" }, "operatingUnit": { "id": 57 }, "culture": 1, "tenantId": 338, "countyId": 4, "subCountyId": 105, "accountId": 30, "countryId": "4" }
API URL
{{url}}/admin-service/site/update
Method
PUT
Description
Update site details
Field Name
Type
Mandatory
Example
id
Number
Yes
246
name
String
Yes
Githongo Sub-county Hospital
String
No
henrywixxxams@spice.mdt
addressType
String
Yes
Physical
addressUse
String
Yes
Home
address1
String
Yes
1st Avenue
address2
String
No
latitude
Number
Yes
1
longitude
Number
Yes
1
city
String
Yes
New Zealand, Christchurch City, Christchurch
phoneNumber
String
Yes
987XXX2784
postalCode
Number
Yes
9493248324
siteLevel
String
Yes
Level 3
siteType
String
Yes
Clinic
id(Country id)
Number
Yes
4
id(County id)
Number
Yes
7
id(Sub county id)
Number
Yes
10
id(Operating unit id)
Number
Yes
12