POST api/School/Update

Request Information

URI Parameters

None.

Body Parameters

SchoolModel
NameDescriptionTypeAdditional information
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.

IsEnabled

boolean

None.

Logo

string

None.

IsAdmissionOpen

boolean

None.

StateId

integer

None.

CityId

integer

None.

LocalityId

integer

None.

Request Formats

application/json, text/json

Sample:
{
  "EntryClass": "sample string 1",
  "YearEstablished": 2,
  "BoardId": 3,
  "AffiliationCode": "sample string 4",
  "Phone": "sample string 5",
  "AlternateEmail": "sample string 6",
  "WebSite": "sample string 7",
  "Link": "sample string 8",
  "Type1": "sample string 9",
  "Type2": "sample string 10",
  "Type3": "sample string 11",
  "Type4": "sample string 12",
  "Type5": "sample string 13",
  "CurriculumFollowed": "sample string 14",
  "IsDisableFriendly": true,
  "MediumOfInstruction": "sample string 16",
  "Highlights": "sample string 17",
  "Description": "sample string 18",
  "IsEnabled": true,
  "Logo": "sample string 20",
  "IsAdmissionOpen": true,
  "StateId": 22,
  "CityId": 23,
  "LocalityId": 24
}

application/xml, text/xml

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

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.