GET api/portemp/GetModelById/{id}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
id

integer

Required

Body Parameters

None.

Response Information

Resource Description

portempDTO
NameDescriptionTypeAdditional information
No

string

None.

EmpNo

string

None.

Name

string

None.

Pass

string

None.

FK_Dept

string

None.

FK_Duty

string

None.

Leader

string

None.

SID

string

None.

tel

string

None.

email

string

None.

NumOfDept

string

None.

Idx

string

None.

Phone

string

None.

Response Formats

application/json, text/json

Sample:
{
  "No": "sample string 1",
  "EmpNo": "sample string 2",
  "Name": "sample string 3",
  "Pass": "sample string 4",
  "FK_Dept": "sample string 5",
  "FK_Duty": "sample string 6",
  "Leader": "sample string 7",
  "SID": "sample string 8",
  "tel": "sample string 9",
  "email": "sample string 10",
  "NumOfDept": "sample string 11",
  "Idx": "sample string 12",
  "Phone": "sample string 13"
}

application/xml, text/xml

Sample:
<portempDTO xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/DTO">
  <EmpNo>sample string 2</EmpNo>
  <FK_Dept>sample string 5</FK_Dept>
  <FK_Duty>sample string 6</FK_Duty>
  <Idx>sample string 12</Idx>
  <Leader>sample string 7</Leader>
  <Name>sample string 3</Name>
  <No>sample string 1</No>
  <NumOfDept>sample string 11</NumOfDept>
  <Pass>sample string 4</Pass>
  <Phone>sample string 13</Phone>
  <SID>sample string 8</SID>
  <email>sample string 10</email>
  <tel>sample string 9</tel>
</portempDTO>