Retrieves all the job approvals
Request Information
URI Parameters :
None.
Body Parameters :
None.
Response Information
Resource Description :
IHttpActionResult
job_approvalName | Description | Type | Additional 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
{ "id": "75a61b7b-603a-4af9-a599-003c62eca67c", "jobs_id": "8846b4df-1869-47ce-8f7e-4e6e225f4583", "user_id": "25997e76-ba90-49dc-ae02-40204c221f2e", "ready_for_multi_approval": true, "is_daily_approval": true, "contact_id": "5cc98a40-f220-40e4-aa38-648c8e7783ff", "contact_name": "sample string 7", "customer_remarks": "sample string 8", "date_generated": "2025-04-26T18:01:20.6107624+00:00", "additional_email": "sample string 10", "is_signed": true, "job_status_id": "d87adeaa-6edf-4bb3-8ac8-e6cef99b2897", "rating": 13, "modified_dateutc": "2025-04-26T18:01:20.6209067+00:00" }