Retrieves the job non-part usage record with the specified key.
Request Information
URI Parameters :
| Name | Description | Type | Additional information |
|---|---|---|---|
| id |
The job non-part usage record id. |
globally unique identifier |
Required |
Body Parameters :
None.
Response Information
Resource Description :
IHttpActionResult containing the job non-part usage record, or 404 Not Found if it doesn't exist.
job_non_part_usage| Name | 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 | |
| source_db_table_id |
Source Table used to generate this non part usage (Car_travel or user_timesheet) |
globally unique identifier | |
| source_id_in_table |
Source Object Id used to generate this non part usage (car_travel.id or user_timesheet.id) |
globally unique identifier | |
| working_date |
Date when the object has been generated |
date |
Required |
| timesheet_date_from |
In the case of a timesheet, the date+time FROM |
date | |
| timesheet_date_to |
In the case of a timesheet, the date+time TO |
date | |
| type_code |
Type of Non part (WorkingTime or TravelTime) |
string |
Max length: 50 |
| line_code |
code generated from the hour_type.code |
string |
Max length: 50 |
| description |
description generated from the hour_type.commercial_description |
string |
Max length: 255 |
| quantity |
Quantity converted in decimal (45 minutes is 0.75) |
decimal number | |
| price |
Unit Price computed via the hour_type (without discount) |
decimal number | |
| discount |
Discount amount applied to for this line. |
decimal number | |
| line_memo |
Extra memo on the line filled by the User |
string |
Max length: 4000 |
| job_approval_id |
Foreign key to the approval this lines belongs In case the line was already "included" inside a job approval (daily for exemple), then that value is field and row is now readonly |
globally unique identifier | |
| hour_type_id |
Foreign key of the used to price and describe this line. |
globally unique identifier | |
| is_under_warranty |
Checking for warranty |
boolean | |
| no_warranty_reason |
Reason of no warranty |
string | |
| company_vat_id |
Foreign key of the VAT regime applied to this line. |
globally unique identifier | |
| vat_value |
VAT amount computed for this line. |
decimal number | |
| vat_rate |
VAT rate applied to this line (percentage). |
decimal number | |
| invoice_id |
Foreign key of the invoice this line was billed on, once invoiced. |
globally unique identifier | |
| invoice_details_id |
Foreign key of the invoice detail line this usage was billed on, once invoiced. |
globally unique identifier | |
| modified_dateutc |
Readonly system field managed by database, filled with GetUtcDate when adding,updating |
date |
Response Formats
application/json, text/json
{
"id": "c83441f5-55a3-48d8-a8af-47ef805ffeca",
"jobs_id": "99909376-55fc-4540-a356-db4b5e31373d",
"user_id": "5d37d61c-1d76-4d33-a480-cd63300e44c4",
"source_db_table_id": "ec778d03-ff54-490d-a546-db77ffff6c5e",
"source_id_in_table": "c27e3d8c-b2e5-4d71-9574-5cffee29ff87",
"working_date": "2026-09-16T10:14:16.8395736+00:00",
"timesheet_date_from": "2026-09-16T10:14:16.8395736+00:00",
"timesheet_date_to": "2026-09-16T10:14:16.8395736+00:00",
"type_code": "sample string 9",
"line_code": "sample string 10",
"description": "sample string 11",
"quantity": 12.0,
"price": 13.0,
"discount": 14.0,
"line_memo": "sample string 15",
"job_approval_id": "64326bcd-10e9-4550-8834-97be3d7c51be",
"hour_type_id": "88f44a4c-3a38-474e-b7cb-8a461a3d2649",
"is_under_warranty": true,
"no_warranty_reason": "sample string 19",
"company_vat_id": "344a0f75-6a73-4f6d-bca0-73a154829316",
"vat_value": 21.0,
"vat_rate": 22.0,
"invoice_id": "7ea17f43-6b6b-48ed-8e98-1451eb115443",
"invoice_details_id": "087ac2a9-596e-4111-bc28-58244aff0c5b",
"modified_dateutc": "2026-09-16T10:14:16.8395736+00:00"
}
application/xml, text/xml
<job_non_part_usage xmlns:i="http://www.w3.org/2001/XMLSchema-instance"> <company_vat_id>344a0f75-6a73-4f6d-bca0-73a154829316</company_vat_id> <description>sample string 11</description> <discount>14</discount> <hour_type_id>88f44a4c-3a38-474e-b7cb-8a461a3d2649</hour_type_id> <id>c83441f5-55a3-48d8-a8af-47ef805ffeca</id> <invoice_details_id>087ac2a9-596e-4111-bc28-58244aff0c5b</invoice_details_id> <invoice_id>7ea17f43-6b6b-48ed-8e98-1451eb115443</invoice_id> <is_under_warranty>true</is_under_warranty> <job_approval_id>64326bcd-10e9-4550-8834-97be3d7c51be</job_approval_id> <jobs_id>99909376-55fc-4540-a356-db4b5e31373d</jobs_id> <line_code>sample string 10</line_code> <line_memo>sample string 15</line_memo> <modified_dateutc>2026-09-16T10:14:16.839Z</modified_dateutc> <no_warranty_reason>sample string 19</no_warranty_reason> <price>13</price> <quantity>12</quantity> <source_db_table_id>ec778d03-ff54-490d-a546-db77ffff6c5e</source_db_table_id> <source_id_in_table>c27e3d8c-b2e5-4d71-9574-5cffee29ff87</source_id_in_table> <timesheet_date_from>2026-09-16T10:14:16.839Z</timesheet_date_from> <timesheet_date_to>2026-09-16T10:14:16.839Z</timesheet_date_to> <type_code>sample string 9</type_code> <user_id>5d37d61c-1d76-4d33-a480-cd63300e44c4</user_id> <vat_rate>22</vat_rate> <vat_value>21</vat_value> <working_date>2026-09-16T10:14:16.839Z</working_date> </job_non_part_usage>