POST api/Base/AddActivity

Request Information

URI Parameters

None.

Body Parameters

ActivityInfo
NameDescriptionTypeAdditional information
AI_ID

integer

None.

AI_GUID

string

None.

AI_Content

string

None.

AI_Photo1

string

None.

AI_Photo2

string

None.

AI_Photo3

string

None.

AI_Photo4

string

None.

AI_Photo5

string

None.

AI_Photo6

string

None.

AI_Photo7

string

None.

AI_Photo8

string

None.

AI_Photo9

string

None.

AI_InputDate

date

None.

AI_SchoolGUID

string

None.

AI_UserGUID

string

None.

AI_Range

string

None.

AI_Mode

string

None.

Request Formats

application/json, text/json

Sample:
{
  "AI_ID": 1,
  "AI_GUID": "sample string 2",
  "AI_Content": "sample string 3",
  "AI_Photo1": "sample string 4",
  "AI_Photo2": "sample string 5",
  "AI_Photo3": "sample string 6",
  "AI_Photo4": "sample string 7",
  "AI_Photo5": "sample string 8",
  "AI_Photo6": "sample string 9",
  "AI_Photo7": "sample string 10",
  "AI_Photo8": "sample string 11",
  "AI_Photo9": "sample string 12",
  "AI_InputDate": "2024-10-09T05:17:32.9785659+08:00",
  "AI_SchoolGUID": "sample string 13",
  "AI_UserGUID": "sample string 14",
  "AI_Range": "sample string 15",
  "AI_Mode": "sample string 16"
}

application/xml, text/xml

Sample:
<ActivityInfo xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/OnlineEducationModel">
  <AI_Content>sample string 3</AI_Content>
  <AI_GUID>sample string 2</AI_GUID>
  <AI_ID>1</AI_ID>
  <AI_InputDate>2024-10-09T05:17:32.9785659+08:00</AI_InputDate>
  <AI_Mode>sample string 16</AI_Mode>
  <AI_Photo1>sample string 4</AI_Photo1>
  <AI_Photo2>sample string 5</AI_Photo2>
  <AI_Photo3>sample string 6</AI_Photo3>
  <AI_Photo4>sample string 7</AI_Photo4>
  <AI_Photo5>sample string 8</AI_Photo5>
  <AI_Photo6>sample string 9</AI_Photo6>
  <AI_Photo7>sample string 10</AI_Photo7>
  <AI_Photo8>sample string 11</AI_Photo8>
  <AI_Photo9>sample string 12</AI_Photo9>
  <AI_Range>sample string 15</AI_Range>
  <AI_SchoolGUID>sample string 13</AI_SchoolGUID>
  <AI_UserGUID>sample string 14</AI_UserGUID>
</ActivityInfo>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

HttpResponseMessage
NameDescriptionTypeAdditional information
Version

Version

None.

Content

HttpContent

None.

StatusCode

HttpStatusCode

None.

ReasonPhrase

string

None.

Headers

Collection of Object

None.

RequestMessage

HttpRequestMessage

None.

IsSuccessStatusCode

boolean

None.