GET api/ITILMsgAuthCode/GetModelById/{id}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
id

integer

Required

Body Parameters

None.

Response Information

Resource Description

ITILMsgAuthCodeDTO
NameDescriptionTypeAdditional information
ID

integer

None.

StaffCode

string

None.

AuthCode

string

None.

Status

integer

None.

Vaildity

integer

None.

Count

integer

None.

CreateDate

date

None.

Response Formats

application/json, text/json

Sample:
{
  "ID": 1,
  "StaffCode": "sample string 2",
  "AuthCode": "sample string 3",
  "Status": 4,
  "Vaildity": 5,
  "Count": 6,
  "CreateDate": "2019-03-24T10:05:14.5899647+08:00"
}

application/xml, text/xml

Sample:
<ITILMsgAuthCodeDTO xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/DTO">
  <AuthCode>sample string 3</AuthCode>
  <Count>6</Count>
  <CreateDate>2019-03-24T10:05:14.5899647+08:00</CreateDate>
  <ID>1</ID>
  <StaffCode>sample string 2</StaffCode>
  <Status>4</Status>
  <Vaildity>5</Vaildity>
</ITILMsgAuthCodeDTO>