Version Notes

​

Returns the details of a particular version of the app of a business

Headers

  • Set this header to application/json.

  • Advertises which content types the client is able to understand

  • Used to identify the software, device, and application initiating the request, providing information about the client to the server. For details, see User Agent.

  • The signature for the API call

Body

application/json

Responses

  • application/json
Request Example for get/api2/mobile/version_notes
curl https://SERVER_NAME_GOES_HERE.punchh.com/api2/mobile/version_notes \
  --header 'Content-Type: application/json' \
  --header 'Accept: application/json' \
  --header 'User-Agent: AppName/AppVersion/BuildNumber (OS; Model; MANUFACTURER; MODEL; OS Version)' \
  --header 'x-pch-digest: {{$$.env.signature}}' \
  --data '{
  "client": "CLIENT_KEY_GOES_HERE",
  "version": "VERSION_GOES_HERE",
  "os": "ios",
  "model": "MODEL_GOES_HERE"
}'
{
  "note": "This is the first version of the app!!",
  "force_upgrade": false,
  "notification_style": "local_notification"
}