> For the complete documentation index, see [llms.txt](https://docs.fieldmotion.com/fieldmotion-api-docs/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.fieldmotion.com/fieldmotion-api-docs/job/_gettimeandcosts.md).

# \_getTimeAndCosts

Returns the time and costs details for a Job.

### Parameters

#### id

The ID of the Job.

### Example

```
FM_api('Job_getTimeAndCosts', ['id' => '1']);
```

#### On Success

```
{'meeting_time':'2018-11-08 09:19:13',
 'hours_cost':'2.5',
 'mileage_cost':'0',
 'stock_cost':'50',
 'stock_used':'[
   {\'id\':\'1\',
    \'amt\':\'1\',
    \'containers\':{\'1_82878\':1}}
 ]',
 'costs':'52.5'}
```
