s1 API Host

<back to all web services

GetAccount

The following routes are available for this service:
GET,OPTIONS/api/accountInformation about the authenticated userThe user has to be authenticated to retrieve the information.

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

HTTP + CSV

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

POST /csv/reply/GetAccount HTTP/1.1 
Host: s1-api.fource.nl 
Content-Type: text/csv
Content-Length: length



HTTP/1.1 200 OK
Content-Type: text/csv
Content-Length: length

ResponseStatus,UrgentMessages,Promotions,UserId,DisplayName,Email,PreferredStyle,Address,DeliveryAddresses,Permissions,UserSettings,PaymentMethods,ReturnFees,CustomerGroup,Logo,HasMijnGrossierAccounts,LinkedWarehouse,TechnicalDataProvider,PickupWarehouse,HasReleventPickupWarehouse,LinkedCompany,District,Enrollments,DeliveryTimePreferences,ExternalUsers,Certificate,TireCounts,NewsLetters,VatNr
"{errorCode:String,message:String,stackTrace:String,errors:[{errorCode:String,fieldName:String,message:String}]}",,"[{id:String,title:String,infoPage:String,dateText:String,data:{String:0}}]",String,String,String,Ghs,"{id:String,name:String,address:String,zipCode:String,city:String,countryCode:String,countryCodeIso2:String,telephoneNumber:String}",,,"{sendPlacedOrderReceipt:False,saveGaik:False,reconfirmGaik:False,lastApplicant:String,lastAdditionalIdType:String,lastAdditionalId:String,lastIdType:String,lastId:String}",,,String,String,False,"{id:String,region:String,address:{id:String,name:String,address:String,zipCode:String,city:String,countryCode:String,countryCodeIso2:String,telephoneNumber:String},warehouseEmail:String,shouldEmailExternalOrders:False}",String,"{id:String,region:String,address:{id:String,name:String,address:String,zipCode:String,city:String,countryCode:String,countryCodeIso2:String,telephoneNumber:String},warehouseEmail:String,shouldEmailExternalOrders:False}",False,"{linkedCompanyId:String,linkedCompanyName:String,companyPreferredStyle:Ghs,contactEmail:String,supportEmail:String,bmfEmail:String,serverEmail:String,dieselInjectorEmail:String,externalOrderEmail:String,supportTeamPage:String,mapUrl:String,b2BUrl:String}",String,,,,"{id:String,name:String,endDate:String,isValid:False}","{currentYear:{purchased:0,returned:0,delta:0},lastYear:{purchased:0,returned:0,delta:0}}",,String