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": "d80dbe02-85a8-41b4-ba7b-2df5ed7110ad",
  "jobs_id": "ac8a2b41-e189-488c-be81-e8447d205b49",
  "user_id": "f081b7a4-72ba-40a5-8cc6-11841c7984a2",
  "ready_for_multi_approval": true,
  "is_daily_approval": true,
  "contact_id": "d6dbf986-b095-4c52-b04b-91d43a430c93",
  "contact_name": "sample string 7",
  "customer_remarks": "sample string 8",
  "date_generated": "2022-08-08T05:26:35.8982216+02:00",
  "additional_email": "sample string 10",
  "is_signed": true,
  "job_status_id": "d3e84693-9046-4dab-9106-3f4e069828c3",
  "rating": 13,
  "modified_dateutc": "2022-08-08T05:26:35.8982216+02:00"
}