POST api/Notifications/GetByUser
Request Information
URI Parameters
None.
Body Parameters
NotificationSearchArgsName | Description | Type | Additional information |
---|---|---|---|
string |
None. |
||
CompanyId | string |
None. |
|
SortInfo | SortInfo |
None. |
Request Formats
application/json, text/json
Sample:
{ "email": "sample string 1", "companyId": "sample string 2", "sortInfo": { "fieldName": "sample string 1", "direction": 1, "sortType": 0 } }
application/xml, text/xml
Sample:
<NotificationSearchArgs xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/InstallerDb.Controllers"> <CompanyId>sample string 2</CompanyId> <Email>sample string 1</Email> <SortInfo xmlns:d2p1="http://schemas.datacontract.org/2004/07/InstallerDb.Models"> <d2p1:Direction>Asc</d2p1:Direction> <d2p1:FieldName>sample string 1</d2p1:FieldName> <d2p1:SortType>String</d2p1:SortType> </SortInfo> </NotificationSearchArgs>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
Collection of NotificationName | Description | Type | Additional information |
---|---|---|---|
Id | string |
None. |
|
Recipient | string |
None. |
|
Subject | string |
None. |
|
Body | string |
None. |
|
SendDate | date |
None. |
|
LinkedCompanyId | string |
None. |
|
LinkedCompanyName | string |
None. |
|
Sent | boolean |
None. |
|
TryCount | integer |
None. |
Response Formats
application/json, text/json
Sample:
[ { "id": "sample string 1", "recipient": "sample string 2", "subject": "sample string 3", "body": "sample string 4", "sendDate": "2025-04-03T21:03:29.4552736+00:00", "linkedCompanyId": "sample string 6", "linkedCompanyName": "sample string 7", "sent": true, "tryCount": 9 }, { "id": "sample string 1", "recipient": "sample string 2", "subject": "sample string 3", "body": "sample string 4", "sendDate": "2025-04-03T21:03:29.4552736+00:00", "linkedCompanyId": "sample string 6", "linkedCompanyName": "sample string 7", "sent": true, "tryCount": 9 } ]
application/xml, text/xml
Sample:
<ArrayOfNotification xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/InstallerDb.Core.Models"> <Notification> <Body>sample string 4</Body> <Id>sample string 1</Id> <LinkedCompanyId>sample string 6</LinkedCompanyId> <LinkedCompanyName>sample string 7</LinkedCompanyName> <Recipient>sample string 2</Recipient> <SendDate>2025-04-03T21:03:29.4552736+00:00</SendDate> <Sent>true</Sent> <Subject>sample string 3</Subject> <TryCount>9</TryCount> </Notification> <Notification> <Body>sample string 4</Body> <Id>sample string 1</Id> <LinkedCompanyId>sample string 6</LinkedCompanyId> <LinkedCompanyName>sample string 7</LinkedCompanyName> <Recipient>sample string 2</Recipient> <SendDate>2025-04-03T21:03:29.4552736+00:00</SendDate> <Sent>true</Sent> <Subject>sample string 3</Subject> <TryCount>9</TryCount> </Notification> </ArrayOfNotification>