POST api/School/Update

Request Information

URI Parameters

None.

Body Parameters

UpdateSchoolModel
NameDescriptionTypeAdditional information
SchoolId

integer

None.

SchoolCategoryId

integer

None.

EntryClass

string

None.

YearEstablished

integer

None.

BoardId

integer

None.

AffiliationCode

string

None.

Phone

string

None.

AlternateEmail

string

None.

WebSite

string

None.

Link

string

None.

Type1

string

None.

Type2

string

None.

Type3

string

None.

Type4

string

None.

Type5

string

None.

CurriculumFollowed

string

None.

IsDisableFriendly

boolean

None.

MediumOfInstruction

string

None.

Highlights

string

None.

Description

string

None.

IsAdmissionOpen

boolean

None.

Address

string

None.

LandMark

string

None.

Request Formats

application/json, text/json

Sample:
{
  "SchoolId": 1,
  "SchoolCategoryId": 2,
  "EntryClass": "sample string 3",
  "YearEstablished": 4,
  "BoardId": 5,
  "AffiliationCode": "sample string 6",
  "Phone": "sample string 7",
  "AlternateEmail": "sample string 8",
  "WebSite": "sample string 9",
  "Link": "sample string 10",
  "Type1": "sample string 11",
  "Type2": "sample string 12",
  "Type3": "sample string 13",
  "Type4": "sample string 14",
  "Type5": "sample string 15",
  "CurriculumFollowed": "sample string 16",
  "IsDisableFriendly": true,
  "MediumOfInstruction": "sample string 18",
  "Highlights": "sample string 19",
  "Description": "sample string 20",
  "IsAdmissionOpen": true,
  "Address": "sample string 22",
  "LandMark": "sample string 23"
}

application/xml, text/xml

Sample:
<UpdateSchoolModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/CareerKinApi.Models">
  <Address>sample string 22</Address>
  <AffiliationCode>sample string 6</AffiliationCode>
  <AlternateEmail>sample string 8</AlternateEmail>
  <BoardId>5</BoardId>
  <CurriculumFollowed>sample string 16</CurriculumFollowed>
  <Description>sample string 20</Description>
  <EntryClass>sample string 3</EntryClass>
  <Highlights>sample string 19</Highlights>
  <IsAdmissionOpen>true</IsAdmissionOpen>
  <IsDisableFriendly>true</IsDisableFriendly>
  <LandMark>sample string 23</LandMark>
  <Link>sample string 10</Link>
  <MediumOfInstruction>sample string 18</MediumOfInstruction>
  <Phone>sample string 7</Phone>
  <SchoolCategoryId>2</SchoolCategoryId>
  <SchoolId>1</SchoolId>
  <Type1>sample string 11</Type1>
  <Type2>sample string 12</Type2>
  <Type3>sample string 13</Type3>
  <Type4>sample string 14</Type4>
  <Type5>sample string 15</Type5>
  <WebSite>sample string 9</WebSite>
  <YearEstablished>4</YearEstablished>
</UpdateSchoolModel>

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.