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

{
	sendPlacedOrderReceipt: False,
	saveGaik: False,
	lastApplicant: String,
	lastAdditionalIdType: String,
	lastAdditionalId: String,
	lastIdType: String,
	lastId: String
}
HTTP/1.1 200 OK
Content-Type: text/jsv
Content-Length: length

{
	responseStatus: 
	{
		errorCode: String,
		message: String,
		stackTrace: String,
		errors: 
		[
			{
				errorCode: String,
				fieldName: String,
				message: String
			}
		]
	}
}