Used to authorise a user with a one time pincode Deprecated

GET /rosters/pincode

When sending out roster reminders a new pincode is generated and can be added to the email. This pincode can be used to validate the user, once used - is removed.

body property required

  • name: pincode in: body description: the pincode to check required: true type: integer example: 31320

Responses

  • 200

    OK

    Hide response attributes Show response attributes object
  • 400

    FAIL

    Hide response attribute Show response attribute array[object]
  • 404

    INVALID

    Hide response attribute Show response attribute array[object]
GET /rosters/pincode
curl \
 -X GET https://YOURSITE.infoodle.com/apiv2/rosters/pincode \
 -H "Authorization: Bearer $ACCESS_TOKEN"
Response examples (200)
{
  "success": "ok",
  "roster_url": "https://demo.infoodle.com/rosterresponse?roster=4gfe34f"
}
Response examples (400)
[
  {
    "error": "Invalid parameters. 5 digit pincode is required"
  }
]
Response examples (404)
[
  {
    "error": "Roster pincode is invalid."
  }
]