# Models

## The CreateJob object

```json
{"openapi":"3.0.1","info":{"title":"SEPA Export","version":"0.0.1"},"components":{"schemas":{"CreateJob":{"required":["siteCode"],"type":"object","properties":{"siteCode":{"minLength":1,"type":"string"}}}}}}
```

## The JobDetails object

```json
{"openapi":"3.0.1","info":{"title":"SEPA Export","version":"0.0.1"},"components":{"schemas":{"JobDetails":{"type":"object","properties":{"jobId":{"type":"string"},"status":{"type":"string"},"siteCode":{"type":"string"},"fileId":{"type":"string"},"active":{"type":"boolean"},"ordersExportedCount":{"type":"integer","format":"int32"},"createdAt":{"type":"string","format":"date-time"},"completedAt":{"type":"string","format":"date-time"}}}}}}
```

## The JobId object

```json
{"openapi":"3.0.1","info":{"title":"SEPA Export","version":"0.0.1"},"components":{"schemas":{"JobId":{"required":["id"],"type":"object","properties":{"id":{"type":"string"}}}}}}
```

## The ResponseMessage object

```json
{"openapi":"3.0.1","info":{"title":"SEPA Export","version":"0.0.1"},"components":{"schemas":{"ResponseMessage":{"required":["message"],"type":"object","properties":{"message":{"type":"string"}}}}}}
```

## The errorMessage object

```json
{"openapi":"3.0.1","info":{"title":"SEPA Export","version":"0.0.1"},"components":{"schemas":{"errorMessage":{"title":"Error","description":"Schema for specific API errors.","type":"object","properties":{"code":{"type":"integer","description":"HTTP status code.","minimum":100,"maximum":599},"status":{"description":"HTTP status.","type":"string"},"message":{"description":"Descriptive error message for debugging.","type":"string"},"details":{"description":"List of problems causing this error.","type":"array","items":{"title":"Error Detail","description":"Error details.","type":"string"}},"resourceId":{"description":"Id of the resource.","type":"string"}},"required":["status","code","message"]}}}}
```


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://developer.emporix.io/api-references-1/readme/api-reference-32/models.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
