PUT api/term/{id}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
id

integer

Required

Body Parameters

Term
NameDescriptionTypeAdditional information
Id

integer

None.

TermCode

string

String length: inclusive between 0 and 5

Description

string

String length: inclusive between 0 and 50

SchoolYearStart

integer

None.

SchoolYearEnd

integer

None.

Active

integer

None.

Sorting

integer

None.

Request Formats

application/json, text/json

Sample:
{
  "id": 1,
  "termCode": "sample string 2",
  "description": "sample string 3",
  "schoolYearStart": 4,
  "schoolYearEnd": 5,
  "active": 6,
  "sorting": 7
}

text/html

Sample:
{"id":1,"termCode":"sample string 2","description":"sample string 3","schoolYearStart":4,"schoolYearEnd":5,"active":6,"sorting":7}

application/xml, text/xml

Sample:
<Term xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/UBBEAMS.Infrastructure.Models">
  <Active>6</Active>
  <Description>sample string 3</Description>
  <Id>1</Id>
  <SchoolYearEnd>5</SchoolYearEnd>
  <SchoolYearStart>4</SchoolYearStart>
  <Sorting>7</Sorting>
  <TermCode>sample string 2</TermCode>
</Term>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

None.