| POST,OPTIONS | /v1/kiosk/appointmentcheckin |
|---|
"use strict";
export class KioskAppointmentCheckinResponse {
/** @param {{ResponseStatus?:ResponseStatus,Matched?:boolean,Name?:string,AppointmentTime?:string,Position?:number,EstWaitMinutes?:number,Message?:string}} [init] */
constructor(init) { Object.assign(this, init) }
/** @type {ResponseStatus} */
ResponseStatus;
/** @type {boolean} */
Matched;
/** @type {string} */
Name;
/** @type {?string} */
AppointmentTime;
/** @type {number} */
Position;
/** @type {?number} */
EstWaitMinutes;
/** @type {string} */
Message;
}
export class KioskAppointmentCheckinRequest {
/** @param {{ApiKey?:string,LocationId?:string,Query?:string}} [init] */
constructor(init) { Object.assign(this, init) }
/** @type {string} */
ApiKey;
/** @type {string} */
LocationId;
/** @type {string} */
Query;
}
JavaScript KioskAppointmentCheckinRequest DTOs
To override the Content-type in your clients, use the HTTP Accept Header, append the .jsv suffix or ?format=jsv
The following are sample HTTP requests and responses. The placeholders shown need to be replaced with actual values.
POST /v1/kiosk/appointmentcheckin HTTP/1.1
Host: api.dev.dynamics.trendsic.com
Accept: text/jsv
Content-Type: text/jsv
Content-Length: length
{
ApiKey: 00000000000000000000000000000000,
LocationId: 00000000000000000000000000000000,
Query: 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,
Meta:
{
String: String
}
}
],
Meta:
{
String: String
}
},
Matched: False,
Name: String,
AppointmentTime: 0001-01-01,
Position: 0,
EstWaitMinutes: 0,
Message: String
}