POST api/v1/banzaifieldservices/{PartnerId}/Notification?UserId={UserId}&Channel={Channel}&UserEmail={UserEmail}&EmailControl={EmailControl}&ShowAll={ShowAll}

Get List of all Notification
TOP 1 ORDER BY InsertDate
show in site homepage managed with cache
web.config parameters:
_ NameSpaceBSPNotificationSettingMemCache
_ DelayValueBSPNotificationMemCache
_ ServicePlatform.BL.Properties.Settings.CloseNotificationByUserKey (it always returns an empty list)

Request Information

URI Parameters

NameDescriptionTypeAdditional information
PartnerId

The partner identifier:
1 = 'ePRICE'

integer

Required

UserId

Site user identifier

globally unique identifier

Required

Channel

Channel code

string

Required

UserEmail

User account email

string

Required

EmailControl

boolean

Required

ShowAll

boolean

Default value is True

Body Parameters

EmailEncrypt
NameDescriptionTypeAdditional information
EmailList

string

None.

EmailTime

string

None.

Request Formats

application/json, text/json

Sample:
{
  "emailList": "sample string 1",
  "emailTime": "sample string 2"
}

text/plain

Sample:
{"emailList":"sample string 1","emailTime":"sample string 2"}

application/xml, text/xml

Sample:
<NotificationController.EmailEncrypt xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ePrice.MarketPlaceApi.ServicePlatformController">
  <EmailList>sample string 1</EmailList>
  <EmailTime>sample string 2</EmailTime>
</NotificationController.EmailEncrypt>

application/x-www-form-urlencoded

Sample:

Sample not available.

application/octet-stream

Sample:
{"EmailList":"sample string 1","EmailTime":"sample string 2"}

Response Information

Resource Description

List of Notification model

Collection of NotificationBL
NameDescriptionTypeAdditional information
Id

integer

None.

StartDate

date

None.

EndDate

date

None.

Channel

string

None.

Type

string

None.

Message

string

None.

Text

string

None.

Viewed

boolean

None.

Closed

boolean

None.

OrderNumber

integer

None.

InsertDate

date

None.

OrderCreationDate

string

None.

OrderPickDeadLine

string

None.

OrderInvoiceLink

string

None.

isEpriceShop

boolean

None.

Response Formats

application/json, text/json

Sample:
[
  {
    "id": 1,
    "startDate": "2025-04-04T04:51:24.8629279+02:00",
    "endDate": "2025-04-04T04:51:24.8629279+02:00",
    "channel": "sample string 4",
    "type": "sample string 5",
    "message": "sample string 6",
    "text": "sample string 7",
    "viewed": true,
    "closed": true,
    "orderNumber": 10,
    "insertDate": "2025-04-04T04:51:24.8629279+02:00",
    "orderCreationDate": "sample string 12",
    "orderPickDeadLine": "sample string 13",
    "orderInvoiceLink": "sample string 14",
    "isEpriceShop": true
  },
  {
    "id": 1,
    "startDate": "2025-04-04T04:51:24.8629279+02:00",
    "endDate": "2025-04-04T04:51:24.8629279+02:00",
    "channel": "sample string 4",
    "type": "sample string 5",
    "message": "sample string 6",
    "text": "sample string 7",
    "viewed": true,
    "closed": true,
    "orderNumber": 10,
    "insertDate": "2025-04-04T04:51:24.8629279+02:00",
    "orderCreationDate": "sample string 12",
    "orderPickDeadLine": "sample string 13",
    "orderInvoiceLink": "sample string 14",
    "isEpriceShop": true
  }
]

text/plain

Sample:
[{"id":1,"startDate":"2025-04-04T04:51:24.8629279+02:00","endDate":"2025-04-04T04:51:24.8629279+02:00","channel":"sample string 4","type":"sample string 5","message":"sample string 6","text":"sample string 7","viewed":true,"closed":true,"orderNumber":10,"insertDate":"2025-04-04T04:51:24.8629279+02:00","orderCreationDate":"sample string 12","orderPickDeadLine":"sample string 13","orderInvoiceLink":"sample string 14","isEpriceShop":true},{"id":1,"startDate":"2025-04-04T04:51:24.8629279+02:00","endDate":"2025-04-04T04:51:24.8629279+02:00","channel":"sample string 4","type":"sample string 5","message":"sample string 6","text":"sample string 7","viewed":true,"closed":true,"orderNumber":10,"insertDate":"2025-04-04T04:51:24.8629279+02:00","orderCreationDate":"sample string 12","orderPickDeadLine":"sample string 13","orderInvoiceLink":"sample string 14","isEpriceShop":true}]

application/xml, text/xml

Sample:
<ArrayOfNotificationBL xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ServicePlatform.BL.Models.Notification">
  <NotificationBL>
    <Channel>sample string 4</Channel>
    <Closed>true</Closed>
    <EndDate>2025-04-04T04:51:24.8629279+02:00</EndDate>
    <Id>1</Id>
    <InsertDate>2025-04-04T04:51:24.8629279+02:00</InsertDate>
    <Message>sample string 6</Message>
    <OrderCreationDate>sample string 12</OrderCreationDate>
    <OrderInvoiceLink>sample string 14</OrderInvoiceLink>
    <OrderNumber>10</OrderNumber>
    <OrderPickDeadLine>sample string 13</OrderPickDeadLine>
    <StartDate>2025-04-04T04:51:24.8629279+02:00</StartDate>
    <Text>sample string 7</Text>
    <Type>sample string 5</Type>
    <Viewed>true</Viewed>
    <isEpriceShop>true</isEpriceShop>
  </NotificationBL>
  <NotificationBL>
    <Channel>sample string 4</Channel>
    <Closed>true</Closed>
    <EndDate>2025-04-04T04:51:24.8629279+02:00</EndDate>
    <Id>1</Id>
    <InsertDate>2025-04-04T04:51:24.8629279+02:00</InsertDate>
    <Message>sample string 6</Message>
    <OrderCreationDate>sample string 12</OrderCreationDate>
    <OrderInvoiceLink>sample string 14</OrderInvoiceLink>
    <OrderNumber>10</OrderNumber>
    <OrderPickDeadLine>sample string 13</OrderPickDeadLine>
    <StartDate>2025-04-04T04:51:24.8629279+02:00</StartDate>
    <Text>sample string 7</Text>
    <Type>sample string 5</Type>
    <Viewed>true</Viewed>
    <isEpriceShop>true</isEpriceShop>
  </NotificationBL>
</ArrayOfNotificationBL>

application/octet-stream

Sample:
[{"Id":1,"StartDate":"2025-04-04T04:51:24.8629279+02:00","EndDate":"2025-04-04T04:51:24.8629279+02:00","Channel":"sample string 4","Type":"sample string 5","Message":"sample string 6","Text":"sample string 7","Viewed":true,"Closed":true,"OrderNumber":10,"InsertDate":"2025-04-04T04:51:24.8629279+02:00","OrderCreationDate":"sample string 12","OrderPickDeadLine":"sample string 13","OrderInvoiceLink":"sample string 14","isEpriceShop":true},{"Id":1,"StartDate":"2025-04-04T04:51:24.8629279+02:00","EndDate":"2025-04-04T04:51:24.8629279+02:00","Channel":"sample string 4","Type":"sample string 5","Message":"sample string 6","Text":"sample string 7","Viewed":true,"Closed":true,"OrderNumber":10,"InsertDate":"2025-04-04T04:51:24.8629279+02:00","OrderCreationDate":"sample string 12","OrderPickDeadLine":"sample string 13","OrderInvoiceLink":"sample string 14","isEpriceShop":true}]

text/javascript, application/javascript, application/json-p

Sample:
([{"id":1,"startDate":"2025-04-04T04:51:24.8629279+02:00","endDate":"2025-04-04T04:51:24.8629279+02:00","channel":"sample string 4","type":"sample string 5","message":"sample string 6","text":"sample string 7","viewed":true,"closed":true,"orderNumber":10,"insertDate":"2025-04-04T04:51:24.8629279+02:00","orderCreationDate":"sample string 12","orderPickDeadLine":"sample string 13","orderInvoiceLink":"sample string 14","isEpriceShop":true},{"id":1,"startDate":"2025-04-04T04:51:24.8629279+02:00","endDate":"2025-04-04T04:51:24.8629279+02:00","channel":"sample string 4","type":"sample string 5","message":"sample string 6","text":"sample string 7","viewed":true,"closed":true,"orderNumber":10,"insertDate":"2025-04-04T04:51:24.8629279+02:00","orderCreationDate":"sample string 12","orderPickDeadLine":"sample string 13","orderInvoiceLink":"sample string 14","isEpriceShop":true}]);