Retrieves the job approval with the specified key

Request Information

URI Parameters :

NameDescriptionTypeAdditional information
id

globally unique identifier

Required

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": "9aa72a9a-feb7-49ed-8cc4-6b972717b2d0",
  "jobs_id": "008cc9dc-4b62-4bae-86a1-c21fc46e855b",
  "user_id": "4b4d2f07-3285-470e-9048-28d258b24ef9",
  "ready_for_multi_approval": true,
  "is_daily_approval": true,
  "contact_id": "72a921df-98b1-48ad-8d2f-cf12f70273b2",
  "contact_name": "sample string 7",
  "customer_remarks": "sample string 8",
  "date_generated": "2024-02-19T08:08:54.4070818+00:00",
  "additional_email": "sample string 10",
  "is_signed": true,
  "job_status_id": "24e0c920-0435-4ad8-8226-adb4f50146ab",
  "rating": 13,
  "modified_dateutc": "2024-02-19T08:08:54.4070818+00:00"
}