ToyotaWebServices

<back to all web services

AppointmentUpdateRequest

The following routes are available for this service:
POST/appointments
PUT/appointments/{AppointmentId}

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/AppointmentUpdateRequest HTTP/1.1 
Host: toyota.pbssystems.com 
Content-Type: text/jsv
Content-Length: length

{
	AppointmentId: String,
	RequestId: 00000000000000000000000000000000,
	DealerId: String,
	AppointmentDate: String,
	AppointmentTime: String,
	AppointmentTimezone: String,
	AppointmentStatus: String,
	AdditionalComments: String,
	Type: String,
	RoNumber: String,
	Preferences: 
	{
		IsValetRequired: False,
		IsLoanerRequired: False,
		IsPickUpRequired: False,
		IsDropOffRequired: False,
		Reminders: String
	},
	PickUpAddress: 
	{
		Use: String,
		Type: String,
		Address: 
		[
			String
		],
		City: String,
		State: String,
		Country: String,
		PostalCode: String
	},
	DropOffAddress: 
	{
		Use: String,
		Type: String,
		Address: 
		[
			String
		],
		City: String,
		State: String,
		Country: String,
		PostalCode: String
	},
	Customer: 
	{
		Identifier: 
		[
			{
				Value: String,
				System: String
			}
		],
		CustomerType: String,
		Name: 
		{
			FirstName: 
			[
				String
			],
			LastName: String,
			Prefix: 
			[
				String
			],
			Suffix: 
			[
				String
			]
		},
		BusinessName: 
		{
			BusinessName: String,
			BusinessOrgId: String
		},
		Address: 
		[
			{
				Use: String,
				Type: String,
				Address: 
				[
					String
				],
				City: String,
				State: String,
				Country: String,
				PostalCode: String
			}
		],
		ContactMethod: 
		[
			{
				Type: String,
				Value: String,
				Use: String,
				Rank: 0,
				PreferredContactTime: String,
				Consent: False
			}
		],
		EmailDeclined: False,
		Communication: 
		[
			{
				Language: String,
				Preferred: False
			}
		]
	},
	Transport: 
	{
		Code: String,
		Name: String,
		Comments: String,
		Preferences: 
		{
			IsValetRequired: False,
			IsLoanerRequired: False,
			IsPickUpRequired: False,
			IsDropOffRequired: False,
			Reminders: String
		}
	},
	Vehicle: 
	{
		Year: String,
		Make: String,
		ModelName: String,
		StockImage: String,
		VIN: String,
		Odometer: 
		{
			Value: 0,
			Unit: String
		}
	},
	Advisor: 
	{
		AdvisorId: String,
		Name: String,
		JobTitle: String,
		Email: String,
		ImageURL: String
	},
	ServiceOperations: 
	[
		{
			OpCodeID: String,
			OpCodeDescription: String,
			CustomerComments: String,
			ServiceOperationsDescription: String,
			Package: String,
			Maintenance: False,
			Validation: False,
			Price: 0,
			LaborHours: 0,
			Discount: 
			[
				{
					Code: String,
					Description: String,
					Price: 0
				}
			]
		}
	]
}
HTTP/1.1 200 OK
Content-Type: text/jsv
Content-Length: length

(string)