s1 API Host

<back to all web services

RegisterTireSetRequest

The following routes are available for this service:
POST,OPTIONS/api/tirecenterRegister a tireset. A tireset must be registered before it can be moved to the tirecenter.User has to be authenticated.
Parameters:
NameParameterData TypeRequiredDescription
RegisterTireSetRequestbodyRegisterTireSetRequestYesThe information required to register a tire.

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/RegisterTireSetRequest HTTP/1.1 
Host: s1-api.fource.nl 
Content-Type: text/jsv
Content-Length: length

{
	licensePlate: String,
	carManufactorer: String,
	carType: String,
	customerName: String,
	customerPhoneNumber: String,
	customerEmail: String,
	customerCharacteristic: String,
	tireType: String,
	rimType: String,
	profileDepthLeftFront: String,
	profileDepthRightFront: String,
	profileDepthLeftBack: String,
	profileDepthRightBack: String,
	tireManufacturerFront: String,
	tireTypeFront: String,
	tireSizeFront: String,
	tireSpeedFront: String,
	tireManufacturerBack: String,
	tireTypeBack: String,
	tireSizeBack: String,
	tireSpeedBack: String,
	comment: String
}
HTTP/1.1 200 OK
Content-Type: text/jsv
Content-Length: length

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