POST api/NoticeBoard/insertRecord

Request Information

URI Parameters

None.

Body Parameters

NoticeBoard
NameDescriptionTypeAdditional information
NoticeBoardId

decimal number

None.

BranchId

decimal number

None.

NoticeName

string

None.

NoticeDescription

string

None.

NoticeAttachement

string

None.

YoutubeVideoId

string

None.

YearId

decimal number

None.

EditReason

string

None.

CreatedBy

decimal number

None.

CreatedDate

date

None.

UpdatedBy

decimal number

None.

UpdatedDate

date

None.

Status

string

None.

NoticeBoardDetails

string

None.

NoticeBoardDetailsDeleteIds

string

None.

Request Formats

application/json, text/json

Sample:
{
  "NoticeBoardId": 1.0,
  "BranchId": 2.0,
  "NoticeName": "sample string 3",
  "NoticeDescription": "sample string 4",
  "NoticeAttachement": "sample string 5",
  "YoutubeVideoId": "sample string 6",
  "YearId": 7.0,
  "EditReason": "sample string 8",
  "CreatedBy": 9.0,
  "CreatedDate": "2022-05-19T01:26:37.4181426+05:30",
  "UpdatedBy": 11.0,
  "UpdatedDate": "2022-05-19T01:26:37.4181426+05:30",
  "Status": "sample string 13",
  "NoticeBoardDetails": "sample string 14",
  "NoticeBoardDetailsDeleteIds": "sample string 15"
}

application/xml, text/xml

Sample:
<NoticeBoard xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ZenoxERP.API.Models.Extensions">
  <BranchId>2</BranchId>
  <CreatedBy>9</CreatedBy>
  <CreatedDate>2022-05-19T01:26:37.4181426+05:30</CreatedDate>
  <EditReason>sample string 8</EditReason>
  <NoticeAttachement>sample string 5</NoticeAttachement>
  <NoticeBoardDetails>sample string 14</NoticeBoardDetails>
  <NoticeBoardDetailsDeleteIds>sample string 15</NoticeBoardDetailsDeleteIds>
  <NoticeBoardId>1</NoticeBoardId>
  <NoticeDescription>sample string 4</NoticeDescription>
  <NoticeName>sample string 3</NoticeName>
  <Status>sample string 13</Status>
  <UpdatedBy>11</UpdatedBy>
  <UpdatedDate>2022-05-19T01:26:37.4181426+05:30</UpdatedDate>
  <YearId>7</YearId>
  <YoutubeVideoId>sample string 6</YoutubeVideoId>
</NoticeBoard>

application/x-www-form-urlencoded

Sample:

Failed to generate the sample for media type 'application/x-www-form-urlencoded'. Cannot use formatter 'JQueryMvcFormUrlEncodedFormatter' to write type 'NoticeBoard'.

Response Information

Resource Description

integer

Response Formats

application/json, text/json

Sample:
1

application/xml, text/xml

Sample:
<int xmlns="http://schemas.microsoft.com/2003/10/Serialization/">1</int>