<aside> https://api.flextudio.com/v1/sendNotice
</aside>
| Parameter Name | Type | Description |
|---|---|---|
| fAppID | string | ID of the receiving app |
| fBaseCompanyID | ||
| (or fBaseCompanyNo) | string | fBaseCompanyID: |
Sending tenant (server) ID → CompanyID =_TCAFlexClientMsttable'sCompanyID(or fBaseCompanyNo: |
||
| Sending tenant (server) No → Displayed under tenant name in Workspace - Customer Management) | ||
| fBaseUserNo | string | Sender's fBaseUserNo |
| Found under username in Tenant Page → User Management | ||
| receiverList | Array | List of recipient fBaseUserNo |
| title | string | Notification title |
| bodyContent | string | Content |
| actionJson | Object/Array | |
| Array format not available when using linkParam property | Content to be executed through notification message - properties below are optional, case-insensitiveWhen you want to open a specific scenario in the app after user clicks push notification with data- scenario: Scenario ID you want to open via push or notification |
pack: Pack ID containing the scenario
step: Step ID you want to move to
linkParam: Parameter value for passing data When scenario opens through this notification, data can be accessed as follows _base.linkParam > Implementation includes initialization functionality through example
datajson: Object needs to be URL encoded before data transmission Example) {"test":2} →%7B%22test%22%3A2%7D **When you want to process data in notification scenario (e.g., pressing button to move to scenario)**Add properties within actionJson to use desired data in notification scenario. { "testValue" : "Button" } |
//Perform the following in the init event of the step you want to open
_c.activeSector.id = _base.linkParam;
//Initialize linkParam value to distinguish when returning to this step
_base.linkParam = null;
_base.link.init()
Reference
URL Encode and Decode - Online