POST api/InsertNotification

Request Information

URI Parameters

None.

Body Parameters

Notification
NameDescriptionTypeAdditional information
ID

integer

None.

UserID

integer

None.

OrderID

integer

None.

FilmID

integer

None.

NotificationContent

string

None.

BarCode

string

None.

CreatedDate

date

None.

IsCheck

boolean

None.

IsDeleted

boolean

None.

Request Formats

application/json, text/json

Sample:
{
  "ID": 1,
  "UserID": 2,
  "OrderID": 1,
  "FilmID": 1,
  "NotificationContent": "sample string 3",
  "BarCode": "sample string 4",
  "CreatedDate": "2025-05-19T06:21:52.6650668+07:00",
  "IsCheck": true,
  "IsDeleted": true
}

application/xml, text/xml

Sample:
<Notification xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/RCPQG_API.Models">
  <BarCode>sample string 4</BarCode>
  <CreatedDate>2025-05-19T06:21:52.6650668+07:00</CreatedDate>
  <FilmID>1</FilmID>
  <ID>1</ID>
  <IsCheck>true</IsCheck>
  <IsDeleted>true</IsDeleted>
  <NotificationContent>sample string 3</NotificationContent>
  <OrderID>1</OrderID>
  <UserID>2</UserID>
</Notification>

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 'Notification'.

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

application/json, text/json, application/xml, text/xml

Sample:

Sample not available.