Modules

Calendar

Certificates

CollectiveAgreements

Company Forms

Company Forms Management

Contacts

Contracts

Customer Assets

Equipment

Expenses

Job Checklists

Job Invoices

Jobs

Labour Actions

Library

Locates

Materials

Messages

Purchase Orders

Safety

Schedule

Service Quotes/Invoices

Service Requests

Services

Settings

TimeLogs

Users

Other

Rfi Resource
In Jobs Module


Endpoints

Endpoints URI Access Control Description
save POST /api/Rfi/save Admin or Module WRITE
count-reviewable-rfis GET /api/Rfi/count-reviewable-rfis Allowed with an active employment connection Count of RFIs the user may need to act on: on jobs where their personnel role has write_rfis = 1, status is Responded, OR (Awaiting Information and response_deadline is set and before today). @return array ["data" => ["count" => int]]
get-reviewable-rfis GET /api/Rfi/get-reviewable-rfis Allowed with an active employment connection Same filters as count_reviewable_rfis; nested Rfi + Job as returned by Rfi::get(). @return array ["data" => list]
appendActivityLogEntry GET /api/Rfi/appendActivityLogEntry Endpoint level permissions Append an activity entry to rfis.activity_log_json (as an array of objects). Same merge semantics as BillingDocument::logEntry (e.g. ServiceInvoice send → submitted_log_json). @param bool $set_last_emailed When true, also sets last_emailed (e.g. after a successful send).
send GET /api/Rfi/send Endpoint level permissions Email the portal link and log the "sent" audit event. Expected payload: rfi_id, recipients (contact ids), additional (comma/space separated emails)
pdf GET /api/Rfi/pdf Endpoint level permissions
add-pdf-to-files POST /api/Rfi/add-pdf-to-files Endpoint level permissions
find GET /api/Rfi/find Admin or Module READ
get GET /api/Rfi/get Admin or Module READ
report GET /api/Rfi/report Endpoint level permissions
save-batch POST /api/Rfi/save-batch Admin or Module WRITE
delete POST /api/Rfi/delete Admin or Module WRITE
logEntry GET /api/Rfi/logEntry Endpoint level permissions

Properties

Property Type Description
id number
slug string
job_id number
rfi_num number
subject string
question_content string
rfi_date date
site_contact_id number
issued_by_id number
attn_contact_id number
status string
is_finalized boolean
response_deadline date
is_closed boolean
last_emailed datetime
message_thread_id number
activity_log_json string
created_by number
created_at datetime
updated_at datetime
updated_by number

Settings

Setting
Pagination Limit (when page parameter is set) None
Default Sort Order created_at ASC

Relationships

Related Resource Key Relationship to Rfi Property
Job job_id Belongs To Job
User created_by Belongs To User
RfiFile rfi_id Owns Many RfiFile
RfiResponse rfi_id Owns Many RfiResponse