Aukro WebAPI
doGetMyData
This method allows for loading private data (together with additional data of the Company account and extended data of accounts with the Pharmacy and Alcohol status) from an account of a logged user.
-
sessionHandle | String | required
User's session identifier received using the doLogin(Enc) method.
-
userData | UserDataStruct | required
Structure containing user data.-
userId | Long
User identifier. -
userLogin | String | required
Username. -
userRating | Integer
User's score. -
userFirstName | String | required
User's first name. -
userLastName | String | required
User's surname. -
userMaidenName | String | required
Maiden name of the user's mother (not displayed to both parties). -
userCompany | String | required
Name of a user's company. -
userCountryId | Integer
Identifier of a user's country. -
userStateId | Integer
User's region (province) identifier (for unregistered users 0 is always returned). -
userPostcode | String | required
User's postal code. -
userCity | String | required
User's city. -
userAddress | String | required
User's address. -
userEmail | String | required
User's e-mail address. -
userPhone | String | required
User's phone number. -
userPhone2 | String | required
User's second phone number. -
userSsStatus | Integer
Information on whether the user participates in the Super Seller program (1 - user is a Super Seller, 0 - user is not a Super Seller). -
siteCountryId | Integer
Country (site) identifier where user registered an account. -
userJuniorStatus | Integer
Information on whether the account is a Junior (1 - yes, 0 - no). -
userBirthDate | Long
User's date of birth (not displayed to both parties). -
userHasShop | Integer
Information on whether there is an active Allegro Shop on user's account (1 - yes, 0 - no) -
userCompanyIcon | Integer
Information on whether the account is a Company (1 - yes, 0 - no; for UA/KZ 0 is always returned). -
userIsAllegroStandard | Integer
?
-
userId | Long
-
invoiceData | InvoiceDataStruct | required
Structure containing invoice data.-
companyName | String | required
Company name. -
companyNip | String | required
Company tax identification number.
-
companyName | String | required
-
companyExtraData | CompanyExtraDataStruct | required
Structure containing additional company information (relating to users with Company account).-
companyType | String | required
Company type. -
companyNip | String | required
Company tax identification number. -
companyRegon | String | required
Company statistical number. -
companyKrs | String | required
Company National Court Registry number. -
companyActivitySort | String | required
Type of company activity.
-
companyType | String | required
-
companySecondAddress | CompanySecondAddressStruct | required
Structure containing information on employee responsible for account and on company address (relating to users of Company accounts).-
companyWorkerFirstName | String | required
First name of person responsible for account. -
companyWorkerLastName | String | required
Surname of person responsible for account. -
companyAddress | String | required
Company registered office. -
companyPostcode | String | required
Postal code. -
companyCity | String | required
City of company registered office. -
companyCountryId | Integer
Identifier of country of company registered office. -
companyStateId | Integer
Identifier of region (province) of company registered office.
-
companyWorkerFirstName | String | required
-
pharmacyData | PharmacyDataStruct | required
Structure containing information on pharmacy run by user (relating to users of Company accounts and active Pharmacy status).-
pharmacyOpeningDate | String | required
Pharmacy registration date. -
pharmacyExpirationDate | String | required
Expiry date of permit for running a pharmacy. -
pharmacyName | String | required
Pharmacy name. -
pharmacyPharmacistFullName | String | required
Name and surname of pharmacist. -
pharmacyAddress | String | required
Pharmacy address. -
pharmacyPostcode | String | required
Pharmacy postal code. -
pharmacyCity | String | required
City where pharmacy is located. -
pharmacyCommune | String | required
Commune where pharmacy is located. -
pharmacyCountryId | Integer
Identifier of country where pharmacy is located. -
pharmacyStateId | Integer
Identifier of province where pharmacy is located. -
pharmacyPermitNumber | String | required
Number of permit for running a pharmacy. -
pharmacyPermitInfo | String | required
Link to permit for running a pharmacy.
-
pharmacyOpeningDate | String | required
-
alcoholData | AlcoholDataStruct | required
Structure containing information on a permit for selling alcohol by user (relating to users of Company accounts and active Alcohol status).-
alcoholOpeningDate | String | required
Registration date of account with 'Alcohol' status. -
alcoholExpirationDate | String | required
Expiry date of permit for selling alcohol. -
alcoholShopName | String | required
Shop name. -
alcoholShopAddress | String | required
Shop address. -
alcoholShopPostcode | String | required
Shop postal code. -
alcoholShopCity | String | required
City where shop is located. -
alcoholShopCommune | String | required
Commune where shop is located. -
alcoholShopCountryId | Integer
Identifier of country where shop is located. -
alcoholShopStateId | Integer
Identifier of province where shop is located. -
alcoholPermitNumber | String | required
Number of permit for selling alcohol. -
alcoholPermitAuthority | String | required
Body issuing permit for selling alcohol. -
alcoholPermitInfo | String | required
Link to permit for selling alcohol.
-
alcoholOpeningDate | String | required
-
relatedPersons | RelatedPersonsStruct | required
Structure containing spouse's data using the account.-
spouseFirstName | String | required
Spouse's first name. -
spouseLastName | String | required
Spouse's surname.
-
spouseFirstName | String | required
-
ERR_NO_DATABASE
Problems with Allegro database. -
ERR_NO_SESSION / ERR_SESSION_EXPIRED
Invalid session identifier or the session has expired. -
ERR_WEBAPI_EXPIRED
Expiry date of WebAPI key has been exceeded (not applicable PL). -
ERR_WEBAPI_KEY
Invalid value of WebAPI key or WebAPI key has been blocked. -
ERR_WEBAPI_KEY_INACTIVE
WebAPI key used to generate the session has been deactivated (the key owner has not accepted WebAPI User Agreement). -
ERR_WEBAPI_NOT_AVAIL
Problems with Aukro WebAPI service.