GET api/OrgPosition/GetModelById/{id}

获取单条XX信息

Request Information

URI Parameters

NameDescriptionTypeAdditional information
id

integer

Required

Body Parameters

None.

Response Information

Resource Description

获取单条XX信息

OrgPositionDTO
NameDescriptionTypeAdditional information
PositionID

integer

None.

PositionCode

string

String length: inclusive between 0 and 64

PositionName

string

String length: inclusive between 0 and 128

PositionRemark

string

String length: inclusive between 0 and 200

SysCode

string

String length: inclusive between 0 and 100

IsObsoleted

boolean

None.

CreatedBy

integer

None.

CreatedOn

date

None.

PostionType

integer

None.

Response Formats

application/json, text/json

Sample:
{
  "PositionID": 1,
  "PositionCode": "sample string 2",
  "PositionName": "sample string 3",
  "PositionRemark": "sample string 4",
  "SysCode": "sample string 5",
  "IsObsoleted": true,
  "CreatedBy": 7,
  "CreatedOn": "2018-12-14T12:38:39.7785569+08:00",
  "PostionType": 9
}

application/xml, text/xml

Sample:
<OrgPositionDTO xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/DTO">
  <CreatedBy>7</CreatedBy>
  <CreatedOn>2018-12-14T12:38:39.7785569+08:00</CreatedOn>
  <IsObsoleted>true</IsObsoleted>
  <PositionCode>sample string 2</PositionCode>
  <PositionID>1</PositionID>
  <PositionName>sample string 3</PositionName>
  <PositionRemark>sample string 4</PositionRemark>
  <PostionType>9</PostionType>
  <SysCode>sample string 5</SysCode>
</OrgPositionDTO>