POST api/Class/Book?Signature={Signature}&Language={Language}

Book for the class.

Request Information

URI Parameters

NameDescriptionTypeAdditional information
Signature

SHA256(Body + Client_Key + Login_Salt)

string

Required

Language

API.LANGUAGE

Default value is en_US

Body Parameters

Requests.Classes.Book
NameDescriptionTypeAdditional information
ClientCode

string

None.

DateTime

date

None.

Content

Forms.Classes.Book

None.

Request Formats

application/json, text/json

Sample:
{
  "ClientCode": "sample string 1",
  "DateTime": "2024-11-18T11:45:20.4221898+08:00",
  "Content": {
    "Identity": null,
    "ClassID": 1
  }
}

text/html

Sample:
{"ClientCode":"sample string 1","DateTime":"2024-11-18T11:45:20.4221898+08:00","Content":{"Identity":null,"ClassID":1}}

application/xml

Sample:

Sample not available.

text/xml

Sample:

Sample not available.

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

Responses.Classes.Book
NameDescriptionTypeAdditional information
IsSuccessful

boolean

None.

Messages

Collection of Models.Message

None.

ClientCode

string

None.

DateTime

date

None.

Content

Models.ClassBooking

None.

Response Formats

application/json, text/json

Sample:
{
  "IsSuccessful": true,
  "Messages": [],
  "ClientCode": "sample string 2",
  "DateTime": "2024-11-18T11:45:20.4221898+08:00",
  "Content": null
}

text/html

Sample:
{"IsSuccessful":true,"Messages":[],"ClientCode":"sample string 2","DateTime":"2024-11-18T11:45:20.4221898+08:00","Content":null}

application/xml

Sample:

Sample not available.

text/xml

Sample:

Sample not available.