GET api/QueueMSGAPI/GetModelById/{id}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
id

integer

Required

Body Parameters

None.

Response Information

Resource Description

QueueMSGAPIDTO
NameDescriptionTypeAdditional information
ID

integer

None.

DateCreated

date

None.

ServerName

string

String length: inclusive between 0 and 50

Cmd

string

String length: inclusive between 0 and 50

Msg

string

String length: inclusive between 0 and 3500

Status

byte

None.

Result

byte

None.

LastUpdateDate

date

None.

Comment

string

String length: inclusive between 0 and 50

Priority

byte

None.

Response Formats

application/json, text/json

Sample:
{
  "ID": 1,
  "DateCreated": "2018-12-15T11:15:34.1533571+08:00",
  "ServerName": "sample string 3",
  "Cmd": "sample string 4",
  "Msg": "sample string 5",
  "Status": 64,
  "Result": 64,
  "LastUpdateDate": "2018-12-15T11:15:34.1533571+08:00",
  "Comment": "sample string 9",
  "Priority": 64
}

application/xml, text/xml

Sample:
<QueueMSGAPIDTO xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/DTO">
  <Cmd>sample string 4</Cmd>
  <Comment>sample string 9</Comment>
  <DateCreated>2018-12-15T11:15:34.1533571+08:00</DateCreated>
  <ID>1</ID>
  <LastUpdateDate>2018-12-15T11:15:34.1533571+08:00</LastUpdateDate>
  <Msg>sample string 5</Msg>
  <Priority>64</Priority>
  <Result>64</Result>
  <ServerName>sample string 3</ServerName>
  <Status>64</Status>
</QueueMSGAPIDTO>