Creates a new job approval
Request Information
URI Parameters :
None.
Body Parameters :
job_approval| Name | Description | Type | Additional information |
|---|---|---|---|
| id |
Primary Key |
globally unique identifier |
Required |
| jobs_id |
Foreign key of jobs |
globally unique identifier |
Required |
| job_status_id |
Job Status that will be used to alter the jobs (WaitingFurtherAction,Completed) |
globally unique identifier | |
| is_daily_approval |
Indicate if it's just a daily approval or a complete approval |
boolean | |
| contact_id |
The contact that confirm the job is done |
globally unique identifier | |
| contact_name |
The contact name |
string | |
| customer_remarks |
Additionnal remarks from the customer |
string |
Max length: 4000 |
| customer_signature | Collection of byte | ||
| technician_signature | Collection of byte | ||
| date_generated |
Local datetime when it has been finished |
date | |
| rating |
Rating (0,5) the quality of the jobs |
integer | |
| db_file_ids |
List of file selected (checked) on the job approval |
string | |
| email_notification_communication_id | globally unique identifier | ||
| email_notification_email_to |
Mail to |
string | |
| email_notification_email_cc |
Mail cc |
string | |
| email_notification_email_bcc |
Mail bcc |
string | |
| email_notification_email_subject |
Mail subject |
string |
Max length: 255 |
| email_notification_email_body |
Mail body |
string | |
| user_id | globally unique identifier | ||
| db_payment_method_id | globally unique identifier | ||
| ready_for_multi_approval |
Indicate if it's just a daily approval or a complete approval |
boolean | |
| customer_date_signed |
Date signed of customer |
date | |
| technican_date_signed |
Date signed of technican |
date | |
| sys_selected_items | string | ||
| pdf_template_id | globally unique identifier | ||
| company_vat_id | globally unique identifier | ||
| sys_nb_job_approval_list | integer | ||
| db_language_id | globally unique identifier | ||
| modified_dateutc |
Readonly system field managed by database, filled with GetUtcDate when adding,updating |
date | |
| dateutc_generated |
UTC datetime when it has been finished |
date |
Request Formats :
application/json, text/json
{
"id": "d9ba14ce-c623-4829-8835-a0c4853c0dda",
"jobs_id": "6af8fbbc-863e-4d6f-996f-a67b71b0d48b",
"job_status_id": "743f0297-000d-4fdf-9eb9-fff210965189",
"is_daily_approval": true,
"contact_id": "b79f5078-138a-4c2c-82a1-2cea9dfa4797",
"contact_name": "sample string 6",
"customer_remarks": "sample string 7",
"customer_signature": "QEA=",
"technician_signature": "QEA=",
"date_generated": "2026-03-07T14:52:16.4299939+00:00",
"rating": 9,
"db_file_ids": "sample string 10",
"email_notification_communication_id": "b53d540e-895b-4a34-9a5f-3fcf88276bd9",
"email_notification_email_to": "sample string 12",
"email_notification_email_cc": "sample string 13",
"email_notification_email_bcc": "sample string 14",
"email_notification_email_subject": "sample string 15",
"email_notification_email_body": "sample string 16",
"user_id": "db4ade6b-b667-4c3d-bf71-9331b085c15d",
"db_payment_method_id": "7e5a946c-8c29-4aa4-8883-e5fb9cab76d7",
"ready_for_multi_approval": true,
"customer_date_signed": "2026-03-07T14:52:16.4299939+00:00",
"technican_date_signed": "2026-03-07T14:52:16.4299939+00:00",
"sys_selected_items": "sample string 22",
"pdf_template_id": "fa518749-38ac-4fd2-a612-e93ff391c982",
"company_vat_id": "6b983c76-c846-46cb-8b19-9ac37b6be6e2",
"sys_nb_job_approval_list": 25,
"db_language_id": "ad84fe46-b7f5-43f2-8cfe-9cc022e5d838",
"modified_dateutc": "2026-03-07T14:52:16.4299939+00:00",
"dateutc_generated": "2026-03-07T14:52:16.4299939+00:00"
}
application/xml, text/xml
<job_approval xmlns:i="http://www.w3.org/2001/XMLSchema-instance"> <company_vat_id>6b983c76-c846-46cb-8b19-9ac37b6be6e2</company_vat_id> <contact_id>b79f5078-138a-4c2c-82a1-2cea9dfa4797</contact_id> <contact_name>sample string 6</contact_name> <customer_date_signed>2026-03-07T14:52:16.429Z</customer_date_signed> <customer_remarks>sample string 7</customer_remarks> <customer_signature>QEA=</customer_signature> <date_generated>2026-03-07T14:52:16.429Z</date_generated> <dateutc_generated>2026-03-07T14:52:16.429Z</dateutc_generated> <db_file_ids>sample string 10</db_file_ids> <db_language_id>ad84fe46-b7f5-43f2-8cfe-9cc022e5d838</db_language_id> <db_payment_method_id>7e5a946c-8c29-4aa4-8883-e5fb9cab76d7</db_payment_method_id> <email_notification_communication_id>b53d540e-895b-4a34-9a5f-3fcf88276bd9</email_notification_communication_id> <email_notification_email_bcc>sample string 14</email_notification_email_bcc> <email_notification_email_body>sample string 16</email_notification_email_body> <email_notification_email_cc>sample string 13</email_notification_email_cc> <email_notification_email_subject>sample string 15</email_notification_email_subject> <email_notification_email_to>sample string 12</email_notification_email_to> <id>d9ba14ce-c623-4829-8835-a0c4853c0dda</id> <is_daily_approval>true</is_daily_approval> <job_status_id>743f0297-000d-4fdf-9eb9-fff210965189</job_status_id> <jobs_id>6af8fbbc-863e-4d6f-996f-a67b71b0d48b</jobs_id> <modified_dateutc>2026-03-07T14:52:16.429Z</modified_dateutc> <pdf_template_id>fa518749-38ac-4fd2-a612-e93ff391c982</pdf_template_id> <rating>9</rating> <ready_for_multi_approval>true</ready_for_multi_approval> <sys_nb_job_approval_list>25</sys_nb_job_approval_list> <sys_selected_items>sample string 22</sys_selected_items> <technican_date_signed>2026-03-07T14:52:16.429Z</technican_date_signed> <technician_signature>QEA=</technician_signature> <user_id>db4ade6b-b667-4c3d-bf71-9331b085c15d</user_id> </job_approval>
Response Information
Resource Description :
IHttpActionResultNone.
Response Formats
application/json, text/json, application/xml, text/xml
Sample not available.