GET api/ITILPushNotifications/GetModelById/{id}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
id

integer

Required

Body Parameters

None.

Response Information

Resource Description

ITILPushNotificationsDTO
NameDescriptionTypeAdditional information
Id

integer

None.

Title

string

None.

Context

string

None.

StaffID

integer

None.

Type

integer

None.

IsRead

boolean

None.

IsPush

boolean

None.

ReadTime

date

None.

PushTime

date

None.

CreateTime

date

None.

ModifyTime

date

None.

Response Formats

application/json, text/json

Sample:
{
  "Id": 1,
  "Title": "sample string 2",
  "Context": "sample string 3",
  "StaffID": 4,
  "Type": 1,
  "IsRead": true,
  "IsPush": true,
  "ReadTime": "2019-03-24T18:41:53.9961734+08:00",
  "PushTime": "2019-03-24T18:41:53.9961734+08:00",
  "CreateTime": "2019-03-24T18:41:53.9961734+08:00",
  "ModifyTime": "2019-03-24T18:41:53.9961734+08:00"
}

application/xml, text/xml

Sample:
<ITILPushNotificationsDTO xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/DTO">
  <Context>sample string 3</Context>
  <CreateTime>2019-03-24T18:41:53.9961734+08:00</CreateTime>
  <Id>1</Id>
  <IsPush>true</IsPush>
  <IsRead>true</IsRead>
  <ModifyTime>2019-03-24T18:41:53.9961734+08:00</ModifyTime>
  <PushTime>2019-03-24T18:41:53.9961734+08:00</PushTime>
  <ReadTime>2019-03-24T18:41:53.9961734+08:00</ReadTime>
  <StaffID>4</StaffID>
  <Title>sample string 2</Title>
  <Type>1</Type>
</ITILPushNotificationsDTO>