PUT api/NotificationContent/Edit/{id}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
id

integer

Required

Body Parameters

PutNotificationContentBindingModel
NameDescriptionTypeAdditional information
Id

integer

None.

Title

string

None.

Body

string

None.

ReferenceId

string

None.

Image

string

None.

Type

NotificationTypeName

None.

NotificationCategoryId

integer

None.

UserIdsRececeiver

Collection of string

None.

Request Formats

application/json, text/json

Sample:
{
  "Id": 1,
  "Title": "sample string 2",
  "Body": "sample string 3",
  "ReferenceId": "sample string 4",
  "Image": "sample string 5",
  "Type": 0,
  "NotificationCategoryId": 7,
  "UserIdsRececeiver": [
    "sample string 1",
    "sample string 2"
  ]
}

application/xml, text/xml

Sample:
<PutNotificationContentBindingModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/TripPlannerAPI.Models.DTO">
  <Body>sample string 3</Body>
  <ImageContent>sample string 5</ImageContent>
  <ImageName>sample string 6</ImageName>
  <NotificationCategoryId>7</NotificationCategoryId>
  <ReferenceId>sample string 4</ReferenceId>
  <Title>sample string 2</Title>
  <Type>None</Type>
  <UserIdsRececeiver xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
    <d2p1:string>sample string 1</d2p1:string>
    <d2p1:string>sample string 2</d2p1:string>
  </UserIdsRececeiver>
  <Id>1</Id>
</PutNotificationContentBindingModel>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

None.