Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Code Block
[
   {
      "wallet_message_id":"abcdef23SDF2",
      "message":{
         "template":"This is the updated message I would like to send.",
         "header":"Header, for Google Wallet only.",
         "image_url":"http://www.google.com/wallet.jpg"
      },
      "campaign_ref":{
         "id":"abCDefGHij",
         "type":"Loyalty",
         "url":"/companies/:id/campaigns/wallet/abCDefGHij"
      },
      "filters":[
         {
            "name":"group_code",
            "selector":"starts_with",
            "value":"DEA"
         },
         {
            "name":"providers",
            "selector":"any",
            "value":[
               "Passbook"
            ]
         }
      ],
      "url":"/companies/:id/campaigns/wallet/abCDefGHij/messages/abcdef23SDF2",
      "created_at":"20122017-0401-05T1415T14:30Z",
      "updated_at":"20122017-0502-08T1918T19:30Z"
   },
   {
      "wallet_message_id":"abcde123",
      "message":{
         "template":"This is another message.",
         "header":"Header, for Google Wallet only.",
         "image_url":"http://www.google.com/wallet.jpg"
      },
      "campaign_ref":{
         "id":"abCDefGHij",
         "type":"Loyalty",
         "url":"/companies/:id/campaigns/wallet/abCDefGHij"
      },
      "filters":[
         {
            "name":"group_code",
            "selector":"starts_with",
            "value":"DEA"
         },
         {
            "name":"providers",
            "selector":"any",
            "value":[
               "Passbook"
            ]
         }
      ],
      "url":"/companies/:id/campaigns/wallet/abCDefGHij/messages/abcde123",
      "created_at":"20122017-0401-05T1415T14:30Z",
      "updated_at":"20122017-0502-08T1918T19:30Z"
   }
]

Get Wallet Message

...

Code Block
{
   "wallet_message_id":"abcdef23SDF2",
   "message":{
      "template":"This is the updated message I would like to send.",
      "header":"Header, for Google Wallet only.",
      "image_url":"http://www.google.com/wallet.jpg"
   },
   "campaign_ref":{
      "id":"abCDefGHij",
      "type":"Loyalty",
      "url":"/companies/:id/campaigns/wallet/abCDefGHij"
   },
   "filters":[
      {
         "name":"group_code",
         "selector":"starts_with",
         "value":"DEA"
      },
      {
         "name":"providers",
         "selector":"any",
         "value":[
            "Passbook"
         ]
      }
   ],
   "url":"/companies/:id/campaigns/wallet/abCDefGHij/messages/abcdef23SDF2",
   "created_at":"20122017-0401-05T1415T14:30Z",
   "updated_at":"20122017-0502-08T1918T19:30Z"
}

Create Mobile Wallet Message

...