![]() If your request doesn't pass this check, then the API will return an HTTP 400 Bad request error. All parameters specified in the template have a value.We provide validation for your notification parameters, to check that: The key used in your requests to identify the parameter. For example:įor each task parameter, you need to tell Fourth the following details. In your API request, the values are set in the Arguments object. Fourth will validate this data against your own definitions. The parameters the API expects are defined by you, which allows you to display any data that is relevant to your tasks. For example, you may want your notification to show a user's name, the date for a deliver, or the details of a staff event. Notification parameters enable you to set specific values in each request. Provide the value in curly brackets for example: and get 2 free cinema tickets! Specifying notification parameters This field can include notification parameters. The user-visible title in the push notification, similar to a subject line or heading. NameĪ name that identifies the push notification template. The details we need for each notification template are in the next table. This would allow you to send the full text of the push notification at the time of submission. ![]() The simplest template you could provide is one where the Title and Body are both notification parameters. These templates define what you want to say. Creating notification templatesīefore integrating with the API, you will need to provide Fourth with your notification templates. You can find any updates on the Release Notes page for the Notifications API. The Fourth Account SCIM API, to retrieve Fourth Account IDs for your recipients.We recommend testing all of the templates and outcomes you require. They will let you know when the templates are ready to test.Ĭonnect to the test environment and begin sending push notifications. Once you have decided on the template information, provide this to your Fourth Professional Services team member. The content for each message is customizable through notification parameters. This API uses pre-defined templates for your push notifications. Create your push notification templates.The Fourth Professional Services team member managing the integration can provide you with the root URL and help you with any integration questions you may have. Please ensure they do this as soon as possible. Therefore, you must ask any mutual Fourth customers to request credentials for your use. The message is customized to each recipient through notification parameters and individual deep links.ĪPI credentials are linked to customer accounts. With just one request you can message up to a thousand end users. Your system does not need to know anything else about the user than their Fourth Account ID, which is available through our workforce management APIs. This API is ideal for-but not limited to-partners with a connected app. This API enables you to send push notifications to end users.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |