POST api/PushNotification/FormsNotifyDelay
Une news est validée et publiée en différé
Request Information
URI Parameters
None.
Body Parameters
ParamFormsNotifyDelay| Name | Description | Type | Additional information |
|---|---|---|---|
| Message | string |
None. |
|
| Author | Employes |
None. |
|
| TimeToNotify | date |
None. |
|
| targetForm | Forms |
None. |
Request Formats
application/json, text/json
Sample:
{
"Message": "sample string 1",
"Author": {
"EmployesId": 1,
"FirstName": "sample string 2",
"LastName": "sample string 3",
"Sex": "sample string 4",
"HiredDate": "2025-12-24T17:47:43.6530601+00:00",
"Workplace": "sample string 5",
"Login": "sample string 6",
"Telephone": "sample string 7",
"Mail": "sample string 8",
"SiteId": 9,
"AspNetUserId": "sample string 10",
"CompanyId": 11,
"CompanyRankId": 12,
"WorkFamillyId": 13,
"WorkFunctionId": 14,
"LastChanged": "2025-12-24T17:47:43.6530601+00:00",
"FirstConnexion": "2025-12-24T17:47:43.6530601+00:00",
"LastConnexion": "2025-12-24T17:47:43.6530601+00:00",
"Hobby": "sample string 16",
"LastChange_AuthorId": 1,
"Token_Regeneration": true,
"Display_Phone": true,
"Display_Mail": true,
"ByPass_Moderation": true,
"Role": "sample string 21",
"UserTemplateId": "de87ae2c-904a-4dbf-a62a-2892df333f04",
"LanguageId": 1,
"IsVisibleInApp": true
},
"TimeToNotify": "2025-12-24T17:47:43.6686756+00:00",
"targetForm": {
"FormId": 1,
"EmployesId": 2,
"Title": "sample string 3",
"Txt": "sample string 4",
"PublishedDate": "2025-12-24T17:47:43.6686756+00:00",
"AvailableToDate": "2025-12-24T17:47:43.6686756+00:00",
"LastChanged": "2025-12-24T17:47:43.6686756+00:00",
"IsAnonymous": true,
"IsAvailable": true,
"IsDraft": true,
"AnswerVisibleForUser": true,
"LastChange_AuthorId": 11
}
}
application/xml, text/xml
Sample:
<ParamFormsNotifyDelay xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ELO_IdentityAPI_Eloapp.net.Models">
<Author>
<AspNetUserId>sample string 10</AspNetUserId>
<ByPass_Moderation>true</ByPass_Moderation>
<CompanyId>11</CompanyId>
<CompanyRankId>12</CompanyRankId>
<Display_Mail>true</Display_Mail>
<Display_Phone>true</Display_Phone>
<EmployesId>1</EmployesId>
<FirstConnexion>2025-12-24T17:47:43.6530601+00:00</FirstConnexion>
<FirstName>sample string 2</FirstName>
<HiredDate>2025-12-24T17:47:43.6530601+00:00</HiredDate>
<Hobby>sample string 16</Hobby>
<IsVisibleInApp>true</IsVisibleInApp>
<LanguageId>1</LanguageId>
<LastChange_AuthorId>1</LastChange_AuthorId>
<LastChanged>2025-12-24T17:47:43.6530601+00:00</LastChanged>
<LastConnexion>2025-12-24T17:47:43.6530601+00:00</LastConnexion>
<LastName>sample string 3</LastName>
<Login>sample string 6</Login>
<Mail>sample string 8</Mail>
<Role>sample string 21</Role>
<Sex>sample string 4</Sex>
<SiteId>9</SiteId>
<Telephone>sample string 7</Telephone>
<Token_Regeneration>true</Token_Regeneration>
<UserTemplateId>de87ae2c-904a-4dbf-a62a-2892df333f04</UserTemplateId>
<WorkFamillyId>13</WorkFamillyId>
<WorkFunctionId>14</WorkFunctionId>
<Workplace>sample string 5</Workplace>
</Author>
<Message>sample string 1</Message>
<TimeToNotify>2025-12-24T17:47:43.6686756+00:00</TimeToNotify>
<targetForm>
<AnswerVisibleForUser>true</AnswerVisibleForUser>
<AvailableToDate>2025-12-24T17:47:43.6686756+00:00</AvailableToDate>
<EmployesId>2</EmployesId>
<FormId>1</FormId>
<IsAnonymous>true</IsAnonymous>
<IsAvailable>true</IsAvailable>
<IsDraft>true</IsDraft>
<LastChange_AuthorId>11</LastChange_AuthorId>
<LastChanged>2025-12-24T17:47:43.6686756+00:00</LastChanged>
<PublishedDate>2025-12-24T17:47:43.6686756+00:00</PublishedDate>
<Title>sample string 3</Title>
<Txt>sample string 4</Txt>
</targetForm>
</ParamFormsNotifyDelay>
application/x-www-form-urlencoded
Sample:
Response Information
Resource Description
NotificationResult| Name | Description | Type | Additional information |
|---|---|---|---|
| IsSend | boolean |
None. |
|
| Message | string |
None. |
|
| NotifId | string |
None. |
|
| IsWebNotif | boolean |
None. |
Response Formats
application/json, text/json
Sample:
{
"IsSend": true,
"Message": "sample string 2",
"NotifId": "sample string 3",
"IsWebNotif": true
}
application/xml, text/xml
Sample:
<NotificationResult xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ELO_IdentityAPI_Eloapp.net.Models"> <IsSend>true</IsSend> <IsWebNotif>true</IsWebNotif> <Message>sample string 2</Message> <NotifId>sample string 3</NotifId> </NotificationResult>