Server

<back to all web services

GetAppointment

Requires Authentication
The following routes are available for this service:
GET/Appointment/{Guid}
GetAppointment Parameters:
NameParameterData TypeRequiredDescription
GuidpathGuidNo
AllAppointmentsqueryboolNo
GetAppointmentResponse Parameters:
NameParameterData TypeRequiredDescription
OrderformOrderNo
BackDeviceStatesformList<DeviceOrderState>No
ResponseStatusformResponseStatusNo
Order Parameters:
NameParameterData TypeRequiredDescription
GuidformGuidNo
AbrechnungseinheitformAbrechnungseinheitNo
NumberformstringNo
LabelformstringNo
NoteformstringNo
AppointmentsformIList<Appointment>No
OrderStateformOrderStateNo
Abrechnungseinheit Parameters:
NameParameterData TypeRequiredDescription
GuidformGuidNo
NumberformstringNo
NoteformstringNo
AddressformAddressNo
Address Parameters:
NameParameterData TypeRequiredDescription
GuidformGuidNo
StreetformstringNo
Street2formstringNo
StreetNumberformstringNo
ZipcodeformstringNo
CityformstringNo
MailboxformstringNo
AdditionalformstringNo
LatitudeformdoubleNo
LongitudeformdoubleNo
Appointment Parameters:
NameParameterData TypeRequiredDescription
GuidformGuidNo
FromformDateTimeNo
ToformDateTimeNo
AppointmentStoreUsersformIList<AppointmentStoreUser>No
AppointmentNutzeinheitenformIList<AppointmentNutzeinheit>No
AppointmentStoreUser Parameters:
NameParameterData TypeRequiredDescription
StoreUserIdformGuidNo
AppointmentNutzeinheit Parameters:
NameParameterData TypeRequiredDescription
NutzeinheitGuidformGuidNo
OrderState Parameters:
NameParameterData TypeRequiredDescription
LastModifiedformDateTime?No
KindsformIList<Nullable<OrderKind>>No
ProcessStateformProcessState?No
CompletedDateformDateTime?No
ProcessState Enum:
InProgress
Updating
Creating
Completed
DeviceOrderState Parameters:
NameParameterData TypeRequiredDescription
DeviceGuidformGuidNo
OrderGuidformGuidNo
OrderKindformDeviceOrderKind?No
ProcessStateformProcessState?No
CompletedDateformDateTime?No
AmwInfoformstringNo
DeviceOrderKind Enum:
AssemblyMontage
MaintenanceWartung
ExchangeEichaustausch
ReadingAblesung
InspectionPrüfung
MainReadingHauptablesung

To override the Content-type in your clients, use the 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.

GET /Appointment/{Guid} HTTP/1.1 
Host: kromer-servamw.eras-online.de 
Accept: text/jsv
HTTP/1.1 200 OK
Content-Type: text/jsv
Content-Length: length

{
	appointment: 
	{
		Guid: 00000000000000000000000000000000,
		Von: 0001-01-01T00:00:00Z,
		Bis: 0001-01-01T00:00:00Z
	},
	responseStatus: 
	{
		errorCode: String,
		message: String,
		stackTrace: String,
		errors: 
		[
			{
				errorCode: String,
				fieldName: String,
				message: String,
				meta: 
				{
					String: String
				}
			}
		],
		meta: 
		{
			String: String
		}
	}
}