Skip to content

Latest commit

 

History

History
87 lines (60 loc) · 1.85 KB

getMedicalImmunisation.md

File metadata and controls

87 lines (60 loc) · 1.85 KB

getMedicalImmunisation

Returns a structured student medical immunisation details data in JSON format.

  • Version History:

    TASS v52.3 - Method Added

  • Version:

    3

  • Permission:

    Medical Records > Student Medical > Immunisations tab > View

  • Method:

    GET | POST

  • Params:

    Required:

    studcode [string] - Student Code

    imm_code [string] - Immunisation Code

    Optional:

    None

    Conditional:

    None

  • Success Response:

    {
      "Code": "TY",
      "Year": 2021,
      "Immunisation Type": "Typhoid",
      "__tassversion": "01.000.043.0",
      "token": {
        "imm_code": "TY",
        "timestamp": "{ts '2021-01-20 11:17:58'}",
        "studcode": "0009130"
      }
    }
  • Error Response:

    studcode not supplied

      "error": "studcode is required."

    imm_code not supplied

      "error": "imm_code is required."
  • Sample Parameters:

      {"studcode":"0009130","imm_code":"TY"}
  • Sample GET: (With URL Encoded token)

      http://api.tasscloud.com.au/tassweb/api/?method=getMedicalImmunisation&appcode=API10&company=10&v=3&token=l1D8owEn111IHcXLRwXTB0oU2GX6rj%2BISqa9zXA8We3J3mwgjW5pdUvFK3%2FIZ4mJ4bMyfKTmEoup%2B3tTE9GeLQ%3D%3D
  • Sample POST:

      <form id="postForm" name="postForm" method="POST" action="http://api.tasscloud.com.au/tassweb/api/">
         <input type="hidden" name="method" value="getMedicalImmunisation">
         <input type="hidden" name="appcode" value="API10">
         <input type="hidden" name="company" value="10">
         <input type="hidden" name="v" value="3">
         <textarea name="token">l1D8owEn111IHcXLRwXTB0oU2GX6rj+ISqa9zXA8We3J3mwgjW5pdUvFK3/IZ4mJ4bMyfKTmEoup+3tTE9GeLQ==</textarea>
      </form>