Skip to content
Release: Australia · Updated: 2026-03-12 · Official documentation · View source

Send data to the Employee Health Screening log

Send data from a third-party system to the Employee Health Screening application log table. You can use this table to create reports and monitor health trends.

Before you begin

Role required: sn_imt_core.api_logging_user

Procedure

  1. Send a POST request to the Table API on your instance.

    For more information, see Table API.

    1. Construct the endpoint using the Log Import [sn_imt_core_log_import] table.

      https://<your-instance>.servicenow.com/api/now/table/sn_imt_core_log_import
      
    2. Set fields in the Log table by defining these request body parameters.

      FieldDescription
      SourceInternal name to identify the third-party system making the log entry.
      LevelUser status, log level, or any other meaningful string. For example, you can enter Allowed or Denied to indicate whether the individual is cleared for entry.
      MessageDescription of the health screening. For example, Temp too high.
      UserEmployee or visitor email from the Health and Safety User [sn_imt_core_health_and_safety_user] table.
      Additional InfoData to provide any additional information. For example, {'temperature':'101', 'location':'San Diego'}.

    This example cURL request sends a record to the Log Import table.

    curl "http://<your-instance>.servicenow.com/api/now/table/sn_imt_core_log_import" \
    --request POST \
    --header "Accept:application/json" \
    --header "Content-Type:application/json" \
    --data "{\"u_source\":\"BadgesRUs\",\"u_message\":\"Temp too high\",\"u_user\":\"abel.tutor@servicenow.com\",\"u_level\":\"Denied\"}" \
    --user 'username':'password'
    

    The system automatically inserts the record into the Log [sn_imt_core_log] table.

  2. Navigate to the Log [sn_imt_core_log] table to check that the data imported correctly.

What to do next

Generate reports on the data you imported to the Log [sn_imt_core_log] table using Reporting.