@2024 Medtronic LABS
{ "name": "ZikandaClinic", "siteType": "Clinic", "addressUse": "Work", "addressType": "Physical", "countyId": 51, "subCountyId": 416, "culture": 1, "latitude": "1", "longitude": "1", "city": "New Zealand, Christchurch City, Christchurch", "siteLevel": "Level 3", "accountId": 2, "parentOrganizationId": 277, "tenantId": 277, "operatingUnit": { "id": 6 }, "countryId": 2, "cultureId": 1, "address1": "Christ road", "postalCode": 94932, "phoneNumber": "987XXX278X", "users": [ { "firstName": "Henry", "lastName": "Williams", "phoneNumber": "848XXX358X", "gender": "", "username": "henrywxxxams@xxx.xxx", "country": { "id": 2 }, "timezone": { "id": 58 }, "roles": [ { "name": "PHYSICIAN_PRESCRIBER" } ], "countryCode": "232" } ] }
API URL
{{url}}/user-service/organization/create-site
Method
POST
Description
Create site
Field Name
Type
Mandatory
Example
name
String
Yes
ZikandaClinic
siteType
String
Yes
Clinic
addressUse
String
Yes
Home
addressType
String
Yes
Physical
countyId
Number
Yes
29
subCountyId
Number
Yes
265
culture
Number
Yes
1
latitude
Number
Yes
1
longitude
Number
Yes
1
city
String
Yes
New Zealand, Christchurch City, Christchurch
siteLevel
String
Yes
Level 3
accountId
Number
Yes
2
parentOrganizationId
Number
Yes
277
tenantId
Number
Yes
277
id(operatingUnit)
Number
Yes
6
countryId
Number
Yes
1
cultureId
Number
Yes
1
address1
String
Yes
Christ road
postalCode
Number
Yes
43233
phoneNumber
String
Yes
987XXX27XX
firstName
String
Yes
Henry
lastName
String
Yes
Williams
gender
String
No
username
String
Yes
henrywixxxams@xxxx.xxx
id(country)
Number
Yes
2
id(timezone)
Number
Yes
58
name(role)
String
Yes
PHYSICIAN_PRESCRIBER
countryCode
Number
Yes
232