For Service Providers wanting to display information about the contents of an instance of their app, instead of always presenting the same information to users. For example a public transport organization might want to show a user the list of tickets that are available only on that user’s Fidesmo device.
The structure of the object that the client expects is a JSON document of instanceSpecificElements each consisting of two optional values:
Parameter
Explanation
image
An optional URL string pointing to a JPEG or PNG image that the Fidemso user interface should show.
description
An optional description as Translations data type that the Fidesmo user interface should show. It also supports markdown, see examples below.
While the fields are optional to touch points and the design might differ between them there are generally two places where the instance specific elements could be shown:
By default, the mobile client will display the same information for apps: A title, a description and an image. However, the Service Provider may want to display information specific to the instance of their app on a device. For example a public transport organization might want to declare a list of tickets so that the user can see which tickets are on their Fidesmo device when viewing the app in a Fidesmo user interface. For this Fidesmo offers the instanceSpecificElements API. The Service Provider publishes an endpoint on their backend and provides the URL through the instanceSpecificElements API. When a Fidesmo user interface wants to it can request the elements through the Fidesmo backend to the Service Provider endpoint providing only the CIN of a device. The service provider then decides which elements it wants to respond with and they are funneled through the Fidesmo backend to the Fidesmo user interface.
The structure of the call to this endpoint is as follows:
The Fidesmo CIN in the above call is the Fidesmo Card Identification Number.
While this API is open to any Service Provider most should not need to use it. There are more simple app states, like installed and suspended which should fulfil most use cases.
Example with image and text
This result would be achieved by the following input:
This result would be achieved by the following input:
{
"instanceSpecificElements": [
{
"image":"https://happytransport.com/image/balance.png",
"description": {
"en": "**Pay as you go** €12,84",
"es": "**Saldo prepagado** €12,84"
}
}, {
"image":"https://happytransport.com/image/3month.png",
"description": {
"en": "**3 month ticket** Expires in 14 days",
"es": "**Abono de 3 meses** Caduca en 14 días"
}
}
]
}
The finishing screen of a Service Delivery.
Once a delivery has been finished a Service Provider might want to tell the user what has been put on the device. For example a public transportation organization might want to show the user the ticket that was just loaded onto the Fidesmo device. The Service Provider can provide instanceSpecificElements as a parameter through the /service/completed API.
Example with image and text
This result would be achieved by the following input:
{
"instanceSpecificElements": [
{
"image":"https://super-pto.com/image/ticket.png",
"description": {
"en": "**30 day ticket** Valid through 13-12-2018"
"es": "**Abono de 30 días** Válido hasta 13-12-2018"
}
}
]
}
By clicking “Accept All Cookies”, you agree to the storing of cookies on your device to enhance site navigation, analyze site usage, and assist in our marketing efforts. Privacy policy
This website uses cookies to improve your experience while you navigate through the website. Out of these, the cookies that are categorized as necessary are stored on your browser as they are essential for the working of basic functionalities of the website. We also use third-party cookies that help us analyze and understand how you use this website. These cookies will be stored in your browser only with your consent. You also have the option to opt-out of these cookies. But opting out of some of these cookies may affect your browsing experience.
Necessary cookies are absolutely essential for the website to function properly. These cookies ensure basic functionalities and security features of the website, anonymously.
Cookie
Duration
Description
cookielawinfo-checkbox-advertisement
1 year
Set by the GDPR Cookie Consent plugin, this cookie is used to record the user consent for the cookies in the "Advertisement" category .
cookielawinfo-checkbox-analytics
11 months
This cookie is set by GDPR Cookie Consent plugin. The cookie is used to store the user consent for the cookies in the category "Analytics".
cookielawinfo-checkbox-functional
11 months
The cookie is set by GDPR cookie consent to record the user consent for the cookies in the category "Functional".
cookielawinfo-checkbox-necessary
11 months
This cookie is set by GDPR Cookie Consent plugin. The cookies is used to store the user consent for the cookies in the category "Necessary".
cookielawinfo-checkbox-others
11 months
This cookie is set by GDPR Cookie Consent plugin. The cookie is used to store the user consent for the cookies in the category "Other.
cookielawinfo-checkbox-performance
11 months
This cookie is set by GDPR Cookie Consent plugin. The cookie is used to store the user consent for the cookies in the category "Performance".
CookieLawInfoConsent
1 year
Records the default button state of the corresponding category & the status of CCPA. It works only in coordination with the primary cookie.
viewed_cookie_policy
11 months
The cookie is set by the GDPR Cookie Consent plugin and is used to store whether or not user has consented to the use of cookies. It does not store any personal data.
Functional cookies help to perform certain functionalities like sharing the content of the website on social media platforms, collect feedbacks, and other third-party features.
Cookie
Duration
Description
bcookie
2 years
LinkedIn sets this cookie from LinkedIn share buttons and ad tags to recognize browser ID.
bscookie
2 years
LinkedIn sets this cookie to store performed actions on the website.
lang
session
LinkedIn sets this cookie to remember a user's language setting.
li_gc
2 years
No description
lidc
1 day
LinkedIn sets the lidc cookie to facilitate data center selection.
UserMatchHistory
1 month
LinkedIn sets this cookie for LinkedIn Ads ID syncing.
Performance cookies are used to understand and analyze the key performance indexes of the website which helps in delivering a better user experience for the visitors.
Analytical cookies are used to understand how visitors interact with the website. These cookies help provide information on metrics the number of visitors, bounce rate, traffic source, etc.
Cookie
Duration
Description
AnalyticsSyncHistory
1 month
No description
nQ_cookieId
1 year
used by our partner for marketing campaigns to suggest the identity of the visitor
nQ_visitId
1 year
used by our partner for marketing campaigns to identify the session
Advertisement cookies are used to provide visitors with relevant ads and marketing campaigns. These cookies track visitors across websites and collect information to provide customized ads.