heilog.ch.Api

<back to all web services

GetAvailablePharmaciesRequest

The following routes are available for this service:
All Verbs/partnerships/pharmacies
GetAvailablePharmaciesRequest Parameters:
NameParameterData TypeRequiredDescription
NameFilterquerystringNo
GetAvailablePharmaciesResponse Parameters:
NameParameterData TypeRequiredDescription
PharmaciesformList<UserDetailDto>No
UserDetailDto Parameters:
NameParameterData TypeRequiredDescription
IdformlongNo
LanguageCodeformLanguageCodeNo
CompanyAdditionalformstringNo
CountryEnumformCountryNo
LabelVersionformLabelVersionNo
EmailformstringNo
PrimaryEmailformstringNo
PhoneNumberformstringNo
FirstNameformstringNo
LastNameformstringNo
CompanyformstringNo
AddressformstringNo
Address2formstringNo
CityformstringNo
GenderformstringNo
PostalCodeformstringNo
SalutationformSalutationNo
IsActiveformboolNo
IsStandardPharmacistformboolNo
IsVisumRequiredformboolNo
InStockOnlyformboolNo
ShowEtOHformboolNo
EmailNotificationsformboolNo
LockedDateformDateTime?No
RolesformList<string>No
PermissionsformList<string>No
LabelTemplateIdformlong?No
LabelTemplateNameformstringNo
UseNewLabelformboolNo
LanguageCode Enum:
NameValue
de1
fr2
it3
Country Enum:
NameValue
Switzerland1
Germany2
Austria3
LabelVersion Enum:
NameValue
PrimeraLogo1
PrimeraLogoBarcode2
PrimeraNaturdrogerieBern3
PrimeraStuder4
Zebra5
ZebraBaumannRichterswil6
ZebraSonderegger7
ZebraSwidroArialLogo8
ZebraSwidroArialLogoBarcode9
ZebraLogo11
ZebraLogoBarcode12
PrimeraFuernitz13
PrimeraImlig14
PrimeraImligNaturheil15
Primera7616
RaegebogeWinterthur17
ZebraKraemer18
ZebraBoznerplatz19
ZebraPinzgau20
ZebraRoggen21
ZebraStandardLogo22
ZebraStandardLogoEAN1323
ZebraStandardNoLogo24
ZebraWalgau26
ZebraFrLogo27
ZebraKuettigen29
Salutation Enum:
NameValue
MISTER1
MISSES2

To override the Content-type in your clients, use the HTTP Accept Header, append the .jsv suffix or ?format=jsv

HTTP + JSV

The following are sample HTTP requests and responses. The placeholders shown need to be replaced with actual values.

POST /partnerships/pharmacies HTTP/1.1 
Host: heidak-api.test.exanic.ch 
Accept: text/jsv
Content-Type: text/jsv
Content-Length: length

{
	nameFilter: String
}
HTTP/1.1 200 OK
Content-Type: text/jsv
Content-Length: length

{
	pharmacies: 
	[
		{
			id: 0,
			languageCode: 1,
			companyAdditional: String,
			countryEnum: 1,
			labelVersion: 1,
			email: String,
			primaryEmail: String,
			phoneNumber: String,
			firstName: String,
			lastName: String,
			company: String,
			address: String,
			address2: String,
			city: String,
			gender: String,
			postalCode: String,
			salutation: 1,
			isActive: False,
			isStandardPharmacist: False,
			isVisumRequired: False,
			inStockOnly: False,
			showEtOH: False,
			emailNotifications: False,
			lockedDate: 0001-01-01,
			roles: 
			[
				String
			],
			permissions: 
			[
				String
			],
			labelTemplateId: 0,
			labelTemplateName: String,
			useNewLabel: False
		}
	]
}