POST api/Schedule/OnlineGemStay

Request Information

URI Parameters

None.

Body Parameters

StudentScheduleModel
NameDescriptionTypeAdditional information
ScheduleId

integer

Required

FromDate

date

None.

ToDate

date

None.

PgNumber

integer

None.

PgLimit

integer

None.

OrderList

string

None.

SessionId

integer

None.

LevelId

byte

None.

PaymentDetailType

byte

None.

ListName

string

None.

StudentId

integer

None.

specialCode

string

None.

id

integer

None.

specialPrice

decimal number

None.

description

string

None.

Request Formats

application/json, text/json

Sample:
{
  "ScheduleId": 1,
  "FromDate": "2025-09-06T11:20:46.4945939+00:00",
  "ToDate": "2025-09-06T11:20:46.4945939+00:00",
  "PgNumber": 2,
  "PgLimit": 1,
  "OrderList": "sample string 3",
  "SessionId": 1,
  "LevelId": 64,
  "PaymentDetailType": 64,
  "ListName": "sample string 5",
  "StudentId": 6,
  "specialCode": "sample string 7",
  "id": 8,
  "specialPrice": 9.0,
  "description": "sample string 10"
}

application/xml, text/xml

Sample:
<StudentScheduleModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/HLSClientPortal.Models">
  <FromDate>2025-09-06T11:20:46.4945939+00:00</FromDate>
  <LevelId>64</LevelId>
  <ListName>sample string 5</ListName>
  <OrderList>sample string 3</OrderList>
  <PaymentDetailType>64</PaymentDetailType>
  <PgLimit>1</PgLimit>
  <PgNumber>2</PgNumber>
  <ScheduleId>1</ScheduleId>
  <SessionId>1</SessionId>
  <StudentId>6</StudentId>
  <ToDate>2025-09-06T11:20:46.4945939+00:00</ToDate>
  <description>sample string 10</description>
  <id>8</id>
  <specialCode>sample string 7</specialCode>
  <specialPrice>9</specialPrice>
</StudentScheduleModel>

application/x-www-form-urlencoded

Sample:

Failed to generate the sample for media type 'application/x-www-form-urlencoded'. Cannot use formatter 'JQueryMvcFormUrlEncodedFormatter' to write type 'StudentScheduleModel'.

Response Information

Resource Description

Object

None.

Response Formats

application/json, text/json

Sample:
{}

application/xml, text/xml

Sample:
<z:anyType xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns:z="http://schemas.microsoft.com/2003/10/Serialization/" />