| Parameter Name | Type | Mandatory or Optional | Description |
| countryCode | String | Optional | Country code. |
| currencyCode | String | Optional | Currency code. |
| status | status | Optional | Status information that you have defined, including the status of a pass and the time when the pass expires. |
| relatedPassIds | relatedPassIds | Optional | ID of a linked pass, if any. |
| locationList | locationList | Optional | Geographical location. This parameter can be used if the pass supports geofence notifications. |
| barCode | barCode | Optional | Barcode or QR code, which is displayed when a pass is used. Leave this parameter empty if the barcode or QR code need not be displayed. |
| commonFields | List<valueObject> | Optional | List of common displayable fields, namely, attributes of a type of pass. |
| appendFields | List<valueObject> | Optional | List of additional displayable fields, which are defined by the issuer to distinguish the same type of passes in different scenarios. |
| messageList | List<valueObject> | Optional | Notification for a pass, which is irrelevant with the common displayable fields of the pass. It is used to notify users, for example, of using the pass in a given period of time. |
| timeList | List<valueObject> | Optional | List of time information. |
| imageList | List<valueObject> | Optional | List of images that are displayed in a succession on the pass details page, for example, hotel pictures and services that are displayed successively on a hotel loyalty card. |
| textList | List<valueObject> | Optional | Texts that you have defined, which will be displayed in a list on the pass details page. |
| localized | localized | Optional | Local language, which is defined here and referenced by other fields through the corresponding key when the fields need to be displayed in the local language. |
| ticketInfoList | List<valueObject> | Optional | Description of a ticket stub that you have defined. |
| urlList | List<valueObject> | Optional | Links to be show on a pass. |
- {
- "fields": {
- "countryCode": "zh-cn",
- "currencyCode": "CNY",
- "status": {
- "state": "active",
- "effectTime": "2019-11-13T00:00:00.111Z",
- "expireTime": "2019-11-20T00:00:00.111Z"
- },
- "locationList": [
- {
- "longitude": "114.0679603815",
- "latitude": "22.6592051284"
- }
- ],
- "barCode": {
- "text": "1118466050",
- "type": "codabar",
- "value": "1118466050",
- "encoding": "UTF-8"
- },
- "commonFields": [
- {
- "key": "Number",
- "value": "356688115",
- "label": "NumberLabel",
- "localizedValue": "Number"
- }
- ],
- "appendFields": [
- {
- "key": "homepageUri",
- "value": "https://www.huawei.com/",
- "label": "homepadepartureDateTimegeUriLabel"
- }
- ],
- "messageList": [
- {
- "key": "message[0]",
- "value": "Lorem ipsum dolor sit amet, consecetetur adipiscing elit. Phasellus ac mi ex. Integer sollicitudin eu metus quis vehicula",
- "label": "message"
- },
- {
- "key": "message[1]",
- "value": "consecetetur adipiscing elit. Phasellus ac mi ex.",
- "label": "message[1]Label"
- }
- ],
- "textList": [
- {
- "key": "text[0]",
- "value": "Integer sollicitudin eu metus quis vehicula",
- "label": "Text Module"
- },
- {
- "key": "text[1]",
- "value": "Lorem ipsum dolor sit amet, consecetetur adipiscing elit",
- "label": "text[1]Label"
- }
- ],
- "imageList": [
- {
- "redirectUrl": "https://www.huawei.com",
- "value": "https://obs.cn-north-2.myhwclouds.com/nsp-hiwallet-pass-p02-drcn/serviceCard/img/FC2215CF30922A9719CCC03B41B4047C.jpg",
- "label": "mainImage[0]label",
- "key": "mainImage[0]"
- },
- {
- "redirectUrl": "https://www.huawei.com",
- "value": "https://obs.cn-north-2.myhwclouds.com/nsp-hiwallet-pass-p02-drcn/serviceCard/img/9D170D0030C719B2FA295B341EFB1A11.png",
- "label": "mainImage[1]label",
- "key": "mainImage[1]"
- }
- ],
- "urlList": [
- {
- "key": "detail",
- "value": "https://huawei.vmall.com/"
- },
- {
- "key": "Main Image",
- "value": "https://www.huawei.com/XXX1.png"
- }
- ],
- "localized": [
- {
- "key": "cardName",
- "language": "zh-cn",
- "value": "Vmall gift card"
- }
- ]
- }
- }