POST api/ModifyMappedResoruce

Request Information

URI Parameters

None.

Body Parameters

NewHallPassResourceModel
NameDescriptionTypeAdditional information
ID

integer

None.

SCHOOL_ID

integer

None.

RESOURCE_NM

string

None.

RESOURCE_DESC

string

None.

CATEGORY

string

None.

SUB_CATEGORY

string

None.

CAPACITY

integer

None.

DURATION

integer

None.

DURATION_ALIAS

string

None.

IS_GENDER_SPECIFIC

byte

None.

APPLICABLE_GENDER

string

None.

MAINTENANCE_REQUIRED_FLG

byte

None.

MAINTENANCE_DESC

string

None.

IS_ACTIVE_FLG

byte

None.

Request Formats

application/json, text/json

Sample:
{
  "ID": 1,
  "SCHOOL_ID": 2,
  "RESOURCE_NM": "sample string 3",
  "RESOURCE_DESC": "sample string 4",
  "CATEGORY": "sample string 5",
  "SUB_CATEGORY": "sample string 6",
  "CAPACITY": 7,
  "DURATION": 8,
  "DURATION_ALIAS": "sample string 9",
  "IS_GENDER_SPECIFIC": 64,
  "APPLICABLE_GENDER": "sample string 11",
  "MAINTENANCE_REQUIRED_FLG": 64,
  "MAINTENANCE_DESC": "sample string 13",
  "IS_ACTIVE_FLG": 64
}

application/xml, text/xml

Sample:
<NewHallPassResourceModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/School.Models.Hallpass">
  <APPLICABLE_GENDER>sample string 11</APPLICABLE_GENDER>
  <CAPACITY>7</CAPACITY>
  <CATEGORY>sample string 5</CATEGORY>
  <DURATION>8</DURATION>
  <DURATION_ALIAS>sample string 9</DURATION_ALIAS>
  <ID>1</ID>
  <IS_ACTIVE_FLG>64</IS_ACTIVE_FLG>
  <IS_GENDER_SPECIFIC>64</IS_GENDER_SPECIFIC>
  <MAINTENANCE_DESC>sample string 13</MAINTENANCE_DESC>
  <MAINTENANCE_REQUIRED_FLG>64</MAINTENANCE_REQUIRED_FLG>
  <RESOURCE_DESC>sample string 4</RESOURCE_DESC>
  <RESOURCE_NM>sample string 3</RESOURCE_NM>
  <SCHOOL_ID>2</SCHOOL_ID>
  <SUB_CATEGORY>sample string 6</SUB_CATEGORY>
</NewHallPassResourceModel>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

Object

None.

Response Formats

application/json, text/json

Sample:
{}

application/xml, text/xml

Sample:
<z:anyType xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns:z="http://schemas.microsoft.com/2003/10/Serialization/" />