| POST,OPTIONS | /v1/kiosk/appointmentcheckin |
|---|
import datetime
import decimal
from marshmallow.fields import *
from servicestack import *
from typing import *
from dataclasses import dataclass, field
from dataclasses_json import dataclass_json, LetterCase, Undefined, config
from enum import Enum, IntEnum
@dataclass_json(letter_case=LetterCase.CAMEL, undefined=Undefined.EXCLUDE)
@dataclass
class KioskAppointmentCheckinResponse:
response_status: Optional[ResponseStatus] = None
matched: bool = False
name: Optional[str] = None
appointment_time: Optional[datetime.datetime] = None
position: int = 0
est_wait_minutes: Optional[int] = None
message: Optional[str] = None
@dataclass_json(letter_case=LetterCase.CAMEL, undefined=Undefined.EXCLUDE)
@dataclass
class KioskAppointmentCheckinRequest:
api_key: Optional[str] = None
location_id: Optional[str] = None
query: Optional[str] = None
Python KioskAppointmentCheckinRequest DTOs
To override the Content-type in your clients, use the HTTP Accept Header, append the .other suffix or ?format=other
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/jsonl
Content-Type: text/jsonl
Content-Length: length
{"ApiKey":"00000000000000000000000000000000","LocationId":"00000000000000000000000000000000","Query":"String"}
HTTP/1.1 200 OK
Content-Type: text/jsonl
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-01T00:00:00.0000000","Position":0,"EstWaitMinutes":0,"Message":"String"}