# Error Reports

## Retrieve Error Report

> Retrieve a specific Error Report by ID

```json
{"openapi":"3.0.3","info":{"title":"Omnitron API","version":"1.0.0"},"security":[{"Token":[]}],"components":{"securitySchemes":{"Token":{"type":"apiKey","in":"header","name":"Authorization"}},"parameters":{"id_path":{"name":"id","in":"path","description":"Unique identifier of the resource","required":true,"schema":{"type":"integer"}}},"schemas":{"ErrorReport":{"type":"object","properties":{"id":{"type":"integer","readOnly":true,"description":"Error report ID"},"action_content_type":{"type":"integer","description":"Content type ID for action"},"action_object_id":{"type":"integer","description":"Object ID for action"},"action":{"type":"object","description":"Generic foreign key relation for action","additionalProperties":true},"target_content_type":{"type":"integer","nullable":true,"description":"Content type ID for target"},"target_object_id":{"type":"string","maxLength":255,"nullable":true,"description":"Object ID for target"},"target":{"type":"object","nullable":true,"description":"Generic foreign key relation for target","additionalProperties":true},"obj_modified_date":{"type":"string","format":"date-time","description":"Object modification date"},"error_code":{"type":"string","maxLength":128,"description":"Error code"},"error_desc":{"type":"string","description":"Error description"},"is_ok":{"type":"boolean","default":false,"description":"Status flag"},"raw_request":{"type":"string","nullable":true,"description":"Raw request data"},"raw_response":{"type":"string","nullable":true,"description":"Raw response data"},"created_date":{"type":"string","format":"date-time","readOnly":true,"description":"Creation timestamp"},"updated_date":{"type":"string","format":"date-time","readOnly":true,"description":"Last update timestamp"}},"required":["action_content_type","action_object_id","obj_modified_date","error_code","error_desc"]}},"responses":{"401":{"description":"Unauthorized Access","content":{"application/json":{"schema":{"type":"object","properties":{"detail":{"type":"string","description":"Contains a detailed description of the error."},"code":{"type":"string","description":"Represents the server-side error code."}}}}}},"404":{"description":"The given resource or object was not found or does not exist.","content":{"application/json":{"schema":{"type":"object","properties":{"detail":{"description":"Contains a detailed description of the error.","type":"string"}}}}}},"500":{"description":"Server Error"}}},"paths":{"/api/v1/error_reports/{id}":{"get":{"summary":"Retrieve Error Report","description":"Retrieve a specific Error Report by ID","tags":["Error Reports"],"parameters":[{"$ref":"#/components/parameters/id_path"}],"responses":{"200":{"description":"Error Report retrieved successfully","content":{"application/json":{"schema":{"type":"object","$ref":"#/components/schemas/ErrorReport"}}}},"401":{"$ref":"#/components/responses/401"},"404":{"$ref":"#/components/responses/404"},"500":{"$ref":"#/components/responses/500"}}}}}}
```

## Delete Error Report

> Delete a specific Error Report by ID

```json
{"openapi":"3.0.3","info":{"title":"Omnitron API","version":"1.0.0"},"security":[{"Token":[]}],"components":{"securitySchemes":{"Token":{"type":"apiKey","in":"header","name":"Authorization"}},"parameters":{"id_path":{"name":"id","in":"path","description":"Unique identifier of the resource","required":true,"schema":{"type":"integer"}}},"responses":{"401":{"description":"Unauthorized Access","content":{"application/json":{"schema":{"type":"object","properties":{"detail":{"type":"string","description":"Contains a detailed description of the error."},"code":{"type":"string","description":"Represents the server-side error code."}}}}}},"404":{"description":"The given resource or object was not found or does not exist.","content":{"application/json":{"schema":{"type":"object","properties":{"detail":{"description":"Contains a detailed description of the error.","type":"string"}}}}}},"500":{"description":"Server Error"}}},"paths":{"/api/v1/error_reports/{id}/":{"delete":{"summary":"Delete Error Report","description":"Delete a specific Error Report by ID","tags":["Error Reports"],"parameters":[{"$ref":"#/components/parameters/id_path"}],"responses":{"204":{"description":"Error Report deleted"},"401":{"$ref":"#/components/responses/401"},"404":{"$ref":"#/components/responses/404"},"500":{"$ref":"#/components/responses/500"}}}}}}
```

## Partial Update Error Report

> Partial update a specific Error Report by ID

```json
{"openapi":"3.0.3","info":{"title":"Omnitron API","version":"1.0.0"},"security":[{"Token":[]}],"components":{"securitySchemes":{"Token":{"type":"apiKey","in":"header","name":"Authorization"}},"parameters":{"id_path":{"name":"id","in":"path","description":"Unique identifier of the resource","required":true,"schema":{"type":"integer"}}},"schemas":{"ErrorReport":{"type":"object","properties":{"id":{"type":"integer","readOnly":true,"description":"Error report ID"},"action_content_type":{"type":"integer","description":"Content type ID for action"},"action_object_id":{"type":"integer","description":"Object ID for action"},"action":{"type":"object","description":"Generic foreign key relation for action","additionalProperties":true},"target_content_type":{"type":"integer","nullable":true,"description":"Content type ID for target"},"target_object_id":{"type":"string","maxLength":255,"nullable":true,"description":"Object ID for target"},"target":{"type":"object","nullable":true,"description":"Generic foreign key relation for target","additionalProperties":true},"obj_modified_date":{"type":"string","format":"date-time","description":"Object modification date"},"error_code":{"type":"string","maxLength":128,"description":"Error code"},"error_desc":{"type":"string","description":"Error description"},"is_ok":{"type":"boolean","default":false,"description":"Status flag"},"raw_request":{"type":"string","nullable":true,"description":"Raw request data"},"raw_response":{"type":"string","nullable":true,"description":"Raw response data"},"created_date":{"type":"string","format":"date-time","readOnly":true,"description":"Creation timestamp"},"updated_date":{"type":"string","format":"date-time","readOnly":true,"description":"Last update timestamp"}},"required":["action_content_type","action_object_id","obj_modified_date","error_code","error_desc"]}},"responses":{"401":{"description":"Unauthorized Access","content":{"application/json":{"schema":{"type":"object","properties":{"detail":{"type":"string","description":"Contains a detailed description of the error."},"code":{"type":"string","description":"Represents the server-side error code."}}}}}},"404":{"description":"The given resource or object was not found or does not exist.","content":{"application/json":{"schema":{"type":"object","properties":{"detail":{"description":"Contains a detailed description of the error.","type":"string"}}}}}},"500":{"description":"Server Error"}}},"paths":{"/api/v1/error_reports/{id}/":{"patch":{"summary":"Partial Update Error Report","description":"Partial update a specific Error Report by ID","tags":["Error Reports"],"parameters":[{"$ref":"#/components/parameters/id_path"}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorReport"}}}},"responses":{"200":{"description":"Error Report updated"},"401":{"$ref":"#/components/responses/401"},"404":{"$ref":"#/components/responses/404"},"500":{"$ref":"#/components/responses/500"}}}}}}
```

## List Error Reports

> List Error Reports

```json
{"openapi":"3.0.3","info":{"title":"Omnitron API","version":"1.0.0"},"security":[{"Token":[]}],"components":{"securitySchemes":{"Token":{"type":"apiKey","in":"header","name":"Authorization"}},"parameters":{"catalog":{"in":"query","name":"catalog","schema":{"type":"string"},"description":"Filter by catalog name","required":false},"target_content_type":{"in":"query","name":"target_content_type","schema":{"type":"string"},"description":"Filter by target content type model name","required":false},"target_content_type_id":{"in":"query","name":"target_content_type_id","schema":{"type":"integer"},"description":"Filter by target content type ID"},"target_object_id":{"in":"query","name":"target_object_id","schema":{"type":"integer"},"description":"Filter by target object ID","required":false},"action_content_type":{"in":"query","name":"action_content_type","schema":{"type":"string"},"description":"Filter by action content type model name","required":false},"action_content_type_id":{"in":"query","name":"action_content_type_id","schema":{"type":"integer"},"description":"Filter by action content type ID","required":false},"action_object_id__in":{"in":"query","name":"action_object_id__in","schema":{"type":"array","items":{"type":"integer"}},"description":"Filter by multiple action object IDs","required":false,"style":"form","explode":false},"is_ok":{"in":"query","name":"is_ok","schema":{"type":"boolean"},"description":"Filter by status flag","required":false}},"schemas":{"ErrorReport":{"type":"object","properties":{"id":{"type":"integer","readOnly":true,"description":"Error report ID"},"action_content_type":{"type":"integer","description":"Content type ID for action"},"action_object_id":{"type":"integer","description":"Object ID for action"},"action":{"type":"object","description":"Generic foreign key relation for action","additionalProperties":true},"target_content_type":{"type":"integer","nullable":true,"description":"Content type ID for target"},"target_object_id":{"type":"string","maxLength":255,"nullable":true,"description":"Object ID for target"},"target":{"type":"object","nullable":true,"description":"Generic foreign key relation for target","additionalProperties":true},"obj_modified_date":{"type":"string","format":"date-time","description":"Object modification date"},"error_code":{"type":"string","maxLength":128,"description":"Error code"},"error_desc":{"type":"string","description":"Error description"},"is_ok":{"type":"boolean","default":false,"description":"Status flag"},"raw_request":{"type":"string","nullable":true,"description":"Raw request data"},"raw_response":{"type":"string","nullable":true,"description":"Raw response data"},"created_date":{"type":"string","format":"date-time","readOnly":true,"description":"Creation timestamp"},"updated_date":{"type":"string","format":"date-time","readOnly":true,"description":"Last update timestamp"}},"required":["action_content_type","action_object_id","obj_modified_date","error_code","error_desc"]}},"responses":{"401":{"description":"Unauthorized Access","content":{"application/json":{"schema":{"type":"object","properties":{"detail":{"type":"string","description":"Contains a detailed description of the error."},"code":{"type":"string","description":"Represents the server-side error code."}}}}}},"404":{"description":"The given resource or object was not found or does not exist.","content":{"application/json":{"schema":{"type":"object","properties":{"detail":{"description":"Contains a detailed description of the error.","type":"string"}}}}}},"500":{"description":"Server Error"}}},"paths":{"/api/v1/error_reports/":{"get":{"summary":"List Error Reports","description":"List Error Reports","tags":["Error Reports"],"parameters":[{"$ref":"#/components/parameters/catalog"},{"$ref":"#/components/parameters/target_content_type"},{"$ref":"#/components/parameters/target_content_type_id"},{"$ref":"#/components/parameters/target_object_id"},{"$ref":"#/components/parameters/action_content_type"},{"$ref":"#/components/parameters/action_content_type_id"},{"$ref":"#/components/parameters/action_object_id__in"},{"$ref":"#/components/parameters/is_ok"}],"responses":{"200":{"description":"List of Error Reports","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/ErrorReport"}}}}},"401":{"$ref":"#/components/responses/401"},"404":{"$ref":"#/components/responses/404"},"500":{"$ref":"#/components/responses/500"}}}}}}
```

## List City Error Reports

> Get list of city error reports

```json
{"openapi":"3.0.3","info":{"title":"Omnitron API","version":"1.0.0"},"security":[{"Token":[]}],"components":{"securitySchemes":{"Token":{"type":"apiKey","in":"header","name":"Authorization"}},"parameters":{"page":{"name":"page","in":"query","required":false,"description":"Specifies the page number of the current dataset","schema":{"type":"integer","minimum":1,"default":1}},"limit":{"name":"limit","in":"query","required":false,"description":"Indicates the number of rows on the current page.","schema":{"type":"integer","minimum":1,"default":10}}},"schemas":{"ErrorReport":{"type":"object","properties":{"id":{"type":"integer","readOnly":true,"description":"Error report ID"},"action_content_type":{"type":"integer","description":"Content type ID for action"},"action_object_id":{"type":"integer","description":"Object ID for action"},"action":{"type":"object","description":"Generic foreign key relation for action","additionalProperties":true},"target_content_type":{"type":"integer","nullable":true,"description":"Content type ID for target"},"target_object_id":{"type":"string","maxLength":255,"nullable":true,"description":"Object ID for target"},"target":{"type":"object","nullable":true,"description":"Generic foreign key relation for target","additionalProperties":true},"obj_modified_date":{"type":"string","format":"date-time","description":"Object modification date"},"error_code":{"type":"string","maxLength":128,"description":"Error code"},"error_desc":{"type":"string","description":"Error description"},"is_ok":{"type":"boolean","default":false,"description":"Status flag"},"raw_request":{"type":"string","nullable":true,"description":"Raw request data"},"raw_response":{"type":"string","nullable":true,"description":"Raw response data"},"created_date":{"type":"string","format":"date-time","readOnly":true,"description":"Creation timestamp"},"updated_date":{"type":"string","format":"date-time","readOnly":true,"description":"Last update timestamp"}},"required":["action_content_type","action_object_id","obj_modified_date","error_code","error_desc"]}},"responses":{"401":{"description":"Unauthorized Access","content":{"application/json":{"schema":{"type":"object","properties":{"detail":{"type":"string","description":"Contains a detailed description of the error."},"code":{"type":"string","description":"Represents the server-side error code."}}}}}},"404":{"description":"The given resource or object was not found or does not exist.","content":{"application/json":{"schema":{"type":"object","properties":{"detail":{"description":"Contains a detailed description of the error.","type":"string"}}}}}},"500":{"description":"Server Error"}}},"paths":{"/api/v1/error_reports/city":{"get":{"summary":"List City Error Reports","description":"Get list of city error reports","tags":["Error Reports"],"parameters":[{"$ref":"#/components/parameters/page"},{"$ref":"#/components/parameters/limit"}],"responses":{"200":{"description":"List of City Error Reports","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/ErrorReport"}}}}},"401":{"$ref":"#/components/responses/401"},"404":{"$ref":"#/components/responses/404"},"500":{"$ref":"#/components/responses/500"}}}}}}
```

## List Township Error Reports

> Get list of township error reports

```json
{"openapi":"3.0.3","info":{"title":"Omnitron API","version":"1.0.0"},"security":[{"Token":[]}],"components":{"securitySchemes":{"Token":{"type":"apiKey","in":"header","name":"Authorization"}},"parameters":{"page":{"name":"page","in":"query","required":false,"description":"Specifies the page number of the current dataset","schema":{"type":"integer","minimum":1,"default":1}},"limit":{"name":"limit","in":"query","required":false,"description":"Indicates the number of rows on the current page.","schema":{"type":"integer","minimum":1,"default":10}}},"schemas":{"ErrorReport":{"type":"object","properties":{"id":{"type":"integer","readOnly":true,"description":"Error report ID"},"action_content_type":{"type":"integer","description":"Content type ID for action"},"action_object_id":{"type":"integer","description":"Object ID for action"},"action":{"type":"object","description":"Generic foreign key relation for action","additionalProperties":true},"target_content_type":{"type":"integer","nullable":true,"description":"Content type ID for target"},"target_object_id":{"type":"string","maxLength":255,"nullable":true,"description":"Object ID for target"},"target":{"type":"object","nullable":true,"description":"Generic foreign key relation for target","additionalProperties":true},"obj_modified_date":{"type":"string","format":"date-time","description":"Object modification date"},"error_code":{"type":"string","maxLength":128,"description":"Error code"},"error_desc":{"type":"string","description":"Error description"},"is_ok":{"type":"boolean","default":false,"description":"Status flag"},"raw_request":{"type":"string","nullable":true,"description":"Raw request data"},"raw_response":{"type":"string","nullable":true,"description":"Raw response data"},"created_date":{"type":"string","format":"date-time","readOnly":true,"description":"Creation timestamp"},"updated_date":{"type":"string","format":"date-time","readOnly":true,"description":"Last update timestamp"}},"required":["action_content_type","action_object_id","obj_modified_date","error_code","error_desc"]}},"responses":{"401":{"description":"Unauthorized Access","content":{"application/json":{"schema":{"type":"object","properties":{"detail":{"type":"string","description":"Contains a detailed description of the error."},"code":{"type":"string","description":"Represents the server-side error code."}}}}}},"404":{"description":"The given resource or object was not found or does not exist.","content":{"application/json":{"schema":{"type":"object","properties":{"detail":{"description":"Contains a detailed description of the error.","type":"string"}}}}}},"500":{"description":"Server Error"}}},"paths":{"/api/v1/error_reports/township/":{"get":{"summary":"List Township Error Reports","description":"Get list of township error reports","tags":["Error Reports"],"parameters":[{"$ref":"#/components/parameters/page"},{"$ref":"#/components/parameters/limit"}],"responses":{"200":{"description":"List of Township Error Reports","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/ErrorReport"}}}}},"401":{"$ref":"#/components/responses/401"},"404":{"$ref":"#/components/responses/404"},"500":{"$ref":"#/components/responses/500"}}}}}}
```

## List Product Error Reports

> Get list of product error reports

```json
{"openapi":"3.0.3","info":{"title":"Omnitron API","version":"1.0.0"},"security":[{"Token":[]}],"components":{"securitySchemes":{"Token":{"type":"apiKey","in":"header","name":"Authorization"}},"parameters":{"page":{"name":"page","in":"query","required":false,"description":"Specifies the page number of the current dataset","schema":{"type":"integer","minimum":1,"default":1}},"limit":{"name":"limit","in":"query","required":false,"description":"Indicates the number of rows on the current page.","schema":{"type":"integer","minimum":1,"default":10}}},"schemas":{"ErrorReport":{"type":"object","properties":{"id":{"type":"integer","readOnly":true,"description":"Error report ID"},"action_content_type":{"type":"integer","description":"Content type ID for action"},"action_object_id":{"type":"integer","description":"Object ID for action"},"action":{"type":"object","description":"Generic foreign key relation for action","additionalProperties":true},"target_content_type":{"type":"integer","nullable":true,"description":"Content type ID for target"},"target_object_id":{"type":"string","maxLength":255,"nullable":true,"description":"Object ID for target"},"target":{"type":"object","nullable":true,"description":"Generic foreign key relation for target","additionalProperties":true},"obj_modified_date":{"type":"string","format":"date-time","description":"Object modification date"},"error_code":{"type":"string","maxLength":128,"description":"Error code"},"error_desc":{"type":"string","description":"Error description"},"is_ok":{"type":"boolean","default":false,"description":"Status flag"},"raw_request":{"type":"string","nullable":true,"description":"Raw request data"},"raw_response":{"type":"string","nullable":true,"description":"Raw response data"},"created_date":{"type":"string","format":"date-time","readOnly":true,"description":"Creation timestamp"},"updated_date":{"type":"string","format":"date-time","readOnly":true,"description":"Last update timestamp"}},"required":["action_content_type","action_object_id","obj_modified_date","error_code","error_desc"]}},"responses":{"401":{"description":"Unauthorized Access","content":{"application/json":{"schema":{"type":"object","properties":{"detail":{"type":"string","description":"Contains a detailed description of the error."},"code":{"type":"string","description":"Represents the server-side error code."}}}}}},"404":{"description":"The given resource or object was not found or does not exist.","content":{"application/json":{"schema":{"type":"object","properties":{"detail":{"description":"Contains a detailed description of the error.","type":"string"}}}}}},"500":{"description":"Server Error"}}},"paths":{"/api/v1/error_reports/product/":{"get":{"summary":"List Product Error Reports","description":"Get list of product error reports","tags":["Error Reports"],"parameters":[{"$ref":"#/components/parameters/page"},{"$ref":"#/components/parameters/limit"}],"responses":{"200":{"description":"List of Product Error Reports","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/ErrorReport"}}}}},"401":{"$ref":"#/components/responses/401"},"404":{"$ref":"#/components/responses/404"},"500":{"$ref":"#/components/responses/500"}}}}}}
```

## Partial Update Error Report Action Object ID

> Partial update a specific Error Report by ID with Action Object ID

```json
{"openapi":"3.0.3","info":{"title":"Omnitron API","version":"1.0.0"},"security":[{"Token":[]}],"components":{"securitySchemes":{"Token":{"type":"apiKey","in":"header","name":"Authorization"}},"parameters":{"id_path":{"name":"id","in":"path","description":"Unique identifier of the resource","required":true,"schema":{"type":"integer"}}},"schemas":{"ErrorReport":{"type":"object","properties":{"id":{"type":"integer","readOnly":true,"description":"Error report ID"},"action_content_type":{"type":"integer","description":"Content type ID for action"},"action_object_id":{"type":"integer","description":"Object ID for action"},"action":{"type":"object","description":"Generic foreign key relation for action","additionalProperties":true},"target_content_type":{"type":"integer","nullable":true,"description":"Content type ID for target"},"target_object_id":{"type":"string","maxLength":255,"nullable":true,"description":"Object ID for target"},"target":{"type":"object","nullable":true,"description":"Generic foreign key relation for target","additionalProperties":true},"obj_modified_date":{"type":"string","format":"date-time","description":"Object modification date"},"error_code":{"type":"string","maxLength":128,"description":"Error code"},"error_desc":{"type":"string","description":"Error description"},"is_ok":{"type":"boolean","default":false,"description":"Status flag"},"raw_request":{"type":"string","nullable":true,"description":"Raw request data"},"raw_response":{"type":"string","nullable":true,"description":"Raw response data"},"created_date":{"type":"string","format":"date-time","readOnly":true,"description":"Creation timestamp"},"updated_date":{"type":"string","format":"date-time","readOnly":true,"description":"Last update timestamp"}},"required":["action_content_type","action_object_id","obj_modified_date","error_code","error_desc"]}},"responses":{"401":{"description":"Unauthorized Access","content":{"application/json":{"schema":{"type":"object","properties":{"detail":{"type":"string","description":"Contains a detailed description of the error."},"code":{"type":"string","description":"Represents the server-side error code."}}}}}},"404":{"description":"The given resource or object was not found or does not exist.","content":{"application/json":{"schema":{"type":"object","properties":{"detail":{"description":"Contains a detailed description of the error.","type":"string"}}}}}},"500":{"description":"Server Error"}}},"paths":{"/api/v1/error_reports/{id}/update_action_object_id/":{"patch":{"summary":"Partial Update Error Report Action Object ID","description":"Partial update a specific Error Report by ID with Action Object ID","tags":["Error Reports"],"parameters":[{"$ref":"#/components/parameters/id_path"}],"requestBody":{"content":{"application/json":{"schema":{"type":"object","properties":{"action_object_id":{"type":"integer"}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorReport"}}}},"401":{"$ref":"#/components/responses/401"},"404":{"$ref":"#/components/responses/404"},"500":{"$ref":"#/components/responses/500"}}}}}}
```

## Update Error Code

> Update error code of error report

```json
{"openapi":"3.0.3","info":{"title":"Omnitron API","version":"1.0.0"},"security":[{"Token":[]}],"components":{"securitySchemes":{"Token":{"type":"apiKey","in":"header","name":"Authorization"}},"parameters":{"id_path":{"name":"id","in":"path","description":"Unique identifier of the resource","required":true,"schema":{"type":"integer"}}},"schemas":{"ErrorReport":{"type":"object","properties":{"id":{"type":"integer","readOnly":true,"description":"Error report ID"},"action_content_type":{"type":"integer","description":"Content type ID for action"},"action_object_id":{"type":"integer","description":"Object ID for action"},"action":{"type":"object","description":"Generic foreign key relation for action","additionalProperties":true},"target_content_type":{"type":"integer","nullable":true,"description":"Content type ID for target"},"target_object_id":{"type":"string","maxLength":255,"nullable":true,"description":"Object ID for target"},"target":{"type":"object","nullable":true,"description":"Generic foreign key relation for target","additionalProperties":true},"obj_modified_date":{"type":"string","format":"date-time","description":"Object modification date"},"error_code":{"type":"string","maxLength":128,"description":"Error code"},"error_desc":{"type":"string","description":"Error description"},"is_ok":{"type":"boolean","default":false,"description":"Status flag"},"raw_request":{"type":"string","nullable":true,"description":"Raw request data"},"raw_response":{"type":"string","nullable":true,"description":"Raw response data"},"created_date":{"type":"string","format":"date-time","readOnly":true,"description":"Creation timestamp"},"updated_date":{"type":"string","format":"date-time","readOnly":true,"description":"Last update timestamp"}},"required":["action_content_type","action_object_id","obj_modified_date","error_code","error_desc"]}},"responses":{"401":{"description":"Unauthorized Access","content":{"application/json":{"schema":{"type":"object","properties":{"detail":{"type":"string","description":"Contains a detailed description of the error."},"code":{"type":"string","description":"Represents the server-side error code."}}}}}},"404":{"description":"The given resource or object was not found or does not exist.","content":{"application/json":{"schema":{"type":"object","properties":{"detail":{"description":"Contains a detailed description of the error.","type":"string"}}}}}},"500":{"description":"Server Error"}}},"paths":{"/api/v1/error_reports/{id}/update_error_code/":{"patch":{"summary":"Update Error Code","description":"Update error code of error report","tags":["Error Reports"],"parameters":[{"$ref":"#/components/parameters/id_path"}],"requestBody":{"content":{"application/json":{"schema":{"type":"object","properties":{"error_code":{"type":"string"}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorReport"}}}},"401":{"$ref":"#/components/responses/401"},"404":{"$ref":"#/components/responses/404"},"500":{"$ref":"#/components/responses/500"}}}}}}
```


---

# 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://apidocs.akinon.com/omnitron-openapis/error-reports.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.
