POST api/Base/RegisterForSchool

Request Information

URI Parameters

None.

Body Parameters

RegisterModel
NameDescriptionTypeAdditional information
School

SchoolInfo

None.

Type

string

None.

User

UserInfo

None.

Request Formats

application/json, text/json

Sample:
{
  "School": {
    "SI_ID": 1,
    "SI_GUID": "sample string 2",
    "SI_Title": "sample string 3",
    "SI_Address": "sample string 4",
    "SI_ContactPerson": "sample string 5",
    "SI_ContactNumber": "sample string 6",
    "SI_RegisterDate": "2024-10-09T05:15:43.2021991+08:00",
    "SI_LegalPersonInfo": "sample string 7",
    "SI_BusinessLicenceInfo": "sample string 8",
    "SI_LegalPerson": "sample string 9",
    "SI_Industry": "sample string 10",
    "SI_Type": "sample string 11",
    "SI_Level": "sample string 12",
    "SI_LicenceType": "sample string 13",
    "SI_LicenceCode": "sample string 14",
    "SI_IsSub": "sample string 15",
    "SI_Headquarters": "sample string 16",
    "SI_MemberStartDate": "2024-10-09T05:15:43.2031761+08:00",
    "SI_MemberEndDate": "2024-10-09T05:15:43.2031761+08:00",
    "SI_CorporateAccount": "sample string 17",
    "SI_DepositBank": "sample string 18",
    "SI_QRCode": "sample string 19",
    "SI_Province": "sample string 20",
    "SI_City": "sample string 21",
    "SI_Area": "sample string 22"
  },
  "Type": "sample string 1",
  "User": {
    "UI_ID": 1,
    "UI_GUID": "sample string 2",
    "UI_SchoolGUID": "sample string 3",
    "UI_Name": "sample string 4",
    "UI_PassWord": "sample string 5",
    "UI_Role": "sample string 6",
    "UI_Phone": "sample string 7",
    "UI_RegisterDate": "2024-10-09T05:15:43.2041517+08:00"
  }
}

application/xml, text/xml

Sample:
<RegisterModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/OnlineEducationModel">
  <School>
    <SI_Address>sample string 4</SI_Address>
    <SI_Area>sample string 22</SI_Area>
    <SI_BusinessLicenceInfo>sample string 8</SI_BusinessLicenceInfo>
    <SI_City>sample string 21</SI_City>
    <SI_ContactNumber>sample string 6</SI_ContactNumber>
    <SI_ContactPerson>sample string 5</SI_ContactPerson>
    <SI_CorporateAccount>sample string 17</SI_CorporateAccount>
    <SI_DepositBank>sample string 18</SI_DepositBank>
    <SI_GUID>sample string 2</SI_GUID>
    <SI_Headquarters>sample string 16</SI_Headquarters>
    <SI_ID>1</SI_ID>
    <SI_Industry>sample string 10</SI_Industry>
    <SI_IsSub>sample string 15</SI_IsSub>
    <SI_LegalPerson>sample string 9</SI_LegalPerson>
    <SI_LegalPersonInfo>sample string 7</SI_LegalPersonInfo>
    <SI_Level>sample string 12</SI_Level>
    <SI_LicenceCode>sample string 14</SI_LicenceCode>
    <SI_LicenceType>sample string 13</SI_LicenceType>
    <SI_MemberEndDate>2024-10-09T05:15:43.2031761+08:00</SI_MemberEndDate>
    <SI_MemberStartDate>2024-10-09T05:15:43.2031761+08:00</SI_MemberStartDate>
    <SI_Province>sample string 20</SI_Province>
    <SI_QRCode>sample string 19</SI_QRCode>
    <SI_RegisterDate>2024-10-09T05:15:43.2021991+08:00</SI_RegisterDate>
    <SI_Title>sample string 3</SI_Title>
    <SI_Type>sample string 11</SI_Type>
  </School>
  <Type>sample string 1</Type>
  <User>
    <UI_GUID>sample string 2</UI_GUID>
    <UI_ID>1</UI_ID>
    <UI_Name>sample string 4</UI_Name>
    <UI_PassWord>sample string 5</UI_PassWord>
    <UI_Phone>sample string 7</UI_Phone>
    <UI_RegisterDate>2024-10-09T05:15:43.2041517+08:00</UI_RegisterDate>
    <UI_Role>sample string 6</UI_Role>
    <UI_SchoolGUID>sample string 3</UI_SchoolGUID>
  </User>
</RegisterModel>

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.