PUT api/Notice/{id}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
id

integer

Required

Body Parameters

NoticeViewModel
NameDescriptionTypeAdditional information
Id

integer

None.

Name

string

Required

Date

string

Required

Image

string

None.

LocalLevelId

integer

None.

Request Formats

application/json, text/json

Sample:
{
  "Id": 1,
  "Name": "sample string 2",
  "Date": "sample string 3",
  "Image": "sample string 4",
  "LocalLevelId": 5
}

text/xml

Sample:
<NoticeViewModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/MeroPalikaApi.Models">
  <Date>sample string 3</Date>
  <Id>1</Id>
  <Image>sample string 4</Image>
  <LocalLevelId>5</LocalLevelId>
  <Name>sample string 2</Name>
</NoticeViewModel>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

NoticeViewModel
NameDescriptionTypeAdditional information
Id

integer

None.

Name

string

Required

Date

string

Required

Image

string

None.

LocalLevelId

integer

None.

Response Formats

application/json, text/json

Sample:
{
  "Id": 1,
  "Name": "sample string 2",
  "Date": "sample string 3",
  "Image": "sample string 4",
  "LocalLevelId": 5
}

text/xml

Sample:
<NoticeViewModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/MeroPalikaApi.Models">
  <Date>sample string 3</Date>
  <Id>1</Id>
  <Image>sample string 4</Image>
  <LocalLevelId>5</LocalLevelId>
  <Name>sample string 2</Name>
</NoticeViewModel>