Pass attributes (Key value) cannot update

Anas Ebrahim's Avatar

Anas Ebrahim

24 May, 2016 02:15 PM

Passses attributes (Key value) cannot update while creating a pass , But I can update
'owner_name, and website attribute

I am creating Json like this
                    string pjson = "pass={\"serial_number\":\"" + SerialNumber + "\",\"period_of_time\":\"" + CarNumber + "\",\"owner_name\":\"" + cust.CustomerName + "\",\"issue_Date\":\"" + IssueDate + "\",\"valid_until\":\"" + ExpiryDate + "\",\"Message_for_user\":\"" + "" + "\",\"Financial_Services\":\"" + ServiceTopup + "\",\"Non_Financial_Services\":\"" + ServiceCancel + "\",\"Disclaimer\":\"" + ServiceDispute + "\",\"Website\":\"" + ServiceSupplementary + "\",\"back_6\":\"" + "" + "\"}";

Please advice me , how can I solve this issue

Thanks and Regards,
Anas Ebrahim.

  1. 1 Posted by iain on 17 Jan, 2017 11:26 PM

    iain's Avatar

    use key , label, value

    {"pass":{"serial_number":"1234568","Event":{"value":"Pauls Mega Flip Ball Challenge","label":"EVENT"},"Date" :{"value":"01/02/2017","label":"Event Date"},"bar":{"message":"QRRSNDKAIUDS923-FRED6RD4","altText":"QRRSNDKAIUDS923-FRED6RD4"},"chain":{"value":"Come flip some balls chain","label":"Chain"},"ticket":{"value":"F4E3AB5","label":"Ticket N."},"price":{"value":"£32.50","label":"Price"},"relevance":{"relevantDate":"2017-02-21T04:47:34+00:00"}},"errors":true}

Reply to this discussion

Internal reply

Formatting help / Preview (switch to plain text) No formatting (switch to Markdown)

Attaching KB article:

»

Attached Files

You can attach files up to 10MB

If you don't have an account yet, we need to confirm you're human and not a machine trying to post spam.

Keyboard shortcuts

Generic

? Show this help
ESC Blurs the current field

Comment Form

r Focus the comment reply box
^ + ↩ Submit the comment

You can use Command ⌘ instead of Control ^ on Mac

Recent Discussions

26 Jul, 2017 04:27 PM
17 Jul, 2017 01:22 AM
19 Jun, 2017 09:50 AM
29 May, 2017 12:18 AM
23 May, 2017 08:11 AM