s1 API Host

<back to all web services

UpdateAccountSettingsRequest

The following routes are available for this service:
PUT,OPTIONS/api/account/settingsUpdate account settingsUser has to be authenticated to change settings.
Parameters:
NameParameterData TypeRequiredDescription
UpdateAccountSettingRequestbodyUpdateAccountSettingsRequestYesA list of possible AccountSettingNames can be retireved by performing a GET on account. The array 'userSettings' provides possible account setting names.

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/UpdateAccountSettingsRequest HTTP/1.1 
Host: api2.ghs-automotive.nl 
Content-Type: text/csv
Content-Length: length

SendPlacedOrderReceipt,SaveGaik,LastApplicant,LastAdditionalIdType,LastAdditionalId,LastIdType,LastId
False,False,String,String,String,String,String

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

ResponseStatus,UrgentMessages
"{errorCode:String,message:String,stackTrace:String,errors:[{errorCode:String,fieldName:String,message:String}]}",