---
title: "Interface IJobsclient"
slug: "sdk--stylelabs.m.sdk.clients.ijobsclient"
abstract: ""
---
# Interface IJobsclient

Contains functionality to create jobs.

## Namespace: StylelabsStylelabs.MSdkClients

## Assembly: Stylelabs.M.Sdk.dll

## Syntax

```csharp
public interface IJobsclient
```

## Methods

### CreateFetchJobAsync(IFetchJobRequest)

Creates a new fetch job.

#### Declaration

```csharp
Task<long> CreateFetchJobAsync(IFetchJobRequest request)
```

#### Parameters

| Type | Name | Description |
| --- | --- | --- |
| [IFetchJobRequest](https://doc.sitecore.com/ch/en/developers/api-reference/sdk--stylelabs.m.sdk.contracts.jobs.ifetchjobrequest.html) | request | Describes the fetch-job. |

#### Returns

| Type | Description |
| --- | --- |
| Task<>long | The id of the new job. |

#### Exceptions

| Type | Condition |
| --- | --- |
| [ValidationException](https://doc.sitecore.com/ch/en/developers/api-reference/sdk--stylelabs.m.sdk.exceptions.validationexception.html) | When one or more validation errors occurred (on the fetch request). |
