Retrieves all the job approvals

Request Information

URI Parameters :

None.

Body Parameters :

None.

Response Information

Resource Description :

IHttpActionResult

job_approval
NameDescriptionTypeAdditional information
id

Primary Key

globally unique identifier

Required

jobs_id

Foreign key of jobs

globally unique identifier

Required

user_id

Foreign key, user that makes the approval

globally unique identifier

Required

ready_for_multi_approval

Inform if this is a temp approval prepared for a future approval with the customer (multi approval)

boolean
is_daily_approval

Intermediate approval of full approval

boolean
contact_id

Foreign key of contact, that signed the approval

globally unique identifier
contact_name

Contact fullname that sign the approval if not already exists

string

Max length: 255

customer_remarks

Remarks of the customer during the approval

string

Max length: 4000

date_generated

Local Date+Time of the approval generation

date
additional_email

Additional emails that should receive the approval pdf

string

Max length: 4000

is_signed

Inform if a signature is available (cf db_signature)

boolean
job_status_id

Job Status that will be used to alter the jobs (WaitingFurtherAction,Completed)

globally unique identifier
rating

Rating (0,5) the quality of the jobs

integer
modified_dateutc

Readonly system field managed by database, filled with GetUtcDate when adding,updating

date

Response Formats

application/json, text/json

Sample:
{
  "id": "58b16a59-8b32-4315-8fc3-2bc70bb3d20a",
  "jobs_id": "c359b8bc-a843-4f8e-bd7d-f496960d21e6",
  "user_id": "9c0f5254-29e0-4ee1-bf6a-d074ff36d2a5",
  "ready_for_multi_approval": true,
  "is_daily_approval": true,
  "contact_id": "61eb4c00-d6bb-4b52-8f3b-b0ac6d67e174",
  "contact_name": "sample string 7",
  "customer_remarks": "sample string 8",
  "date_generated": "2025-01-18T04:59:56.9999009+00:00",
  "additional_email": "sample string 10",
  "is_signed": true,
  "job_status_id": "381108fa-bfcb-470a-8148-a490db8e1464",
  "rating": 13,
  "modified_dateutc": "2025-01-18T04:59:56.9999009+00:00"
}