# SalesChannelErrorReports

## Create Sales Channel Distinct Error Report

> Create Sales Channel Distinct Error Report for a specific channel.

```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":{"channel_path":{"name":"channel_id","in":"path","description":"The channel ID of the resource.","required":true,"schema":{"type":"integer"}}},"schemas":{"ErrorReportIntegrationMapping":{"type":"object","required":["remote_code","country_id","integration_type","err_code","err_desc"],"properties":{"remote_code":{"type":"string","maxLength":255,"description":"The remote code for the integration mapping"},"city_id":{"type":"integer","nullable":true,"description":"ID of the city"},"country_id":{"type":"integer","nullable":true,"description":"ID of the country"},"township_id":{"type":"integer","nullable":true,"description":"ID of the township"},"name":{"type":"string","nullable":true,"description":"Name of the integration mapping"},"integration_type":{"$ref":"#/components/schemas/IntegrationMappingType"},"err_code":{"type":"string","nullable":true,"description":"Error code if any"},"err_desc":{"type":"string","nullable":true,"description":"Error description if any"}}},"IntegrationMappingType":{"type":"string","description":"Type of integration mapping","enum":["hepsiburada","hepsiburadads","n11","web","external_company","gittigidiyor","trendyol","ups","morhipo","morhipoV2","amazon","b2c_direct","allegro","akinon","ay_cargo","aliexpress","emag","yurtici","ciceksepeti","fancourier","diva","hana","gordumaldim","pazarama","flo","dpd","cdek","turkcellds","sales_channel","kolay_gelsin","sameday","sendeo","cargus","dataeva","speedy","modanisa"]}},"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/channel/{channel_id}/error_reports/distinct/":{"post":{"summary":"Create Sales Channel Distinct Error Report","description":"Create Sales Channel Distinct Error Report for a specific channel.","tags":["SalesChannelErrorReports"],"parameters":[{"$ref":"#/components/parameters/channel_path"}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorReportIntegrationMapping"}}}},"responses":{"201":{"description":"Distinct Error Report Created"},"401":{"$ref":"#/components/responses/401"},"404":{"$ref":"#/components/responses/404"},"500":{"$ref":"#/components/responses/500"}}}}}}
```

## Retrieve Sales Channel Error Report

> Retrieve a specific Sales Channel 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":{"channel_path":{"name":"channel_id","in":"path","description":"The channel ID of the resource.","required":true,"schema":{"type":"integer"}},"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/channel/{channel_id}/error_reports/{id}/":{"get":{"summary":"Retrieve Sales Channel Error Report","description":"Retrieve a specific Sales Channel Error Report by ID","tags":["SalesChannelErrorReports"],"parameters":[{"$ref":"#/components/parameters/channel_path"},{"$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 Sales Channel Error Report

> Delete a specific Sales Channel 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":{"channel_path":{"name":"channel_id","in":"path","description":"The channel ID of the resource.","required":true,"schema":{"type":"integer"}},"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/channel/{channel_id}/error_reports/{id}/":{"delete":{"summary":"Delete Sales Channel Error Report","description":"Delete a specific Sales Channel Error Report by ID","tags":["SalesChannelErrorReports"],"parameters":[{"$ref":"#/components/parameters/channel_path"},{"$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 Sales Channel Error Report

> Partial update a specific Sales Channel 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":{"channel_path":{"name":"channel_id","in":"path","description":"The channel ID of the resource.","required":true,"schema":{"type":"integer"}},"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/channel/{channel_id}/error_reports/{id}/":{"patch":{"summary":"Partial Update Sales Channel Error Report","description":"Partial update a specific Sales Channel Error Report by ID","tags":["SalesChannelErrorReports"],"parameters":[{"$ref":"#/components/parameters/channel_path"},{"$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"}}}}}}
```

## Retrieve Sales Channel Error Report

> Retrieve a specific Sales Channel 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":{"channel_path":{"name":"channel_id","in":"path","description":"The channel ID of the resource.","required":true,"schema":{"type":"integer"}},"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/channel/{channel_id}/error_reports/{id}/detailed/":{"get":{"summary":"Retrieve Sales Channel Error Report","description":"Retrieve a specific Sales Channel Error Report by ID","tags":["SalesChannelErrorReports"],"parameters":[{"$ref":"#/components/parameters/channel_path"},{"$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"}}}}}}
```

## Create Sales Channel Township Error Report

> Create Sales Channel Township Error Report for a specific channel.

```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":{"channel_path":{"name":"channel_id","in":"path","description":"The channel ID of the resource.","required":true,"schema":{"type":"integer"}}},"schemas":{"ErrorReportIntegrationMapping":{"type":"object","required":["remote_code","country_id","integration_type","err_code","err_desc"],"properties":{"remote_code":{"type":"string","maxLength":255,"description":"The remote code for the integration mapping"},"city_id":{"type":"integer","nullable":true,"description":"ID of the city"},"country_id":{"type":"integer","nullable":true,"description":"ID of the country"},"township_id":{"type":"integer","nullable":true,"description":"ID of the township"},"name":{"type":"string","nullable":true,"description":"Name of the integration mapping"},"integration_type":{"$ref":"#/components/schemas/IntegrationMappingType"},"err_code":{"type":"string","nullable":true,"description":"Error code if any"},"err_desc":{"type":"string","nullable":true,"description":"Error description if any"}}},"IntegrationMappingType":{"type":"string","description":"Type of integration mapping","enum":["hepsiburada","hepsiburadads","n11","web","external_company","gittigidiyor","trendyol","ups","morhipo","morhipoV2","amazon","b2c_direct","allegro","akinon","ay_cargo","aliexpress","emag","yurtici","ciceksepeti","fancourier","diva","hana","gordumaldim","pazarama","flo","dpd","cdek","turkcellds","sales_channel","kolay_gelsin","sameday","sendeo","cargus","dataeva","speedy","modanisa"]}},"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/channel/{channel_id}/error_reports/township/":{"post":{"summary":"Create Sales Channel Township Error Report","description":"Create Sales Channel Township Error Report for a specific channel.","tags":["SalesChannelErrorReports"],"parameters":[{"$ref":"#/components/parameters/channel_path"}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorReportIntegrationMapping"}}}},"responses":{"201":{"description":"Township Error Report Created"},"401":{"$ref":"#/components/responses/401"},"404":{"$ref":"#/components/responses/404"},"500":{"$ref":"#/components/responses/500"}}}}}}
```

## Create Sales Channel City Error Report

> Create Sales Channel City Error Report for a specific channel.

```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":{"channel_path":{"name":"channel_id","in":"path","description":"The channel ID of the resource.","required":true,"schema":{"type":"integer"}}},"schemas":{"ErrorReportIntegrationMapping":{"type":"object","required":["remote_code","country_id","integration_type","err_code","err_desc"],"properties":{"remote_code":{"type":"string","maxLength":255,"description":"The remote code for the integration mapping"},"city_id":{"type":"integer","nullable":true,"description":"ID of the city"},"country_id":{"type":"integer","nullable":true,"description":"ID of the country"},"township_id":{"type":"integer","nullable":true,"description":"ID of the township"},"name":{"type":"string","nullable":true,"description":"Name of the integration mapping"},"integration_type":{"$ref":"#/components/schemas/IntegrationMappingType"},"err_code":{"type":"string","nullable":true,"description":"Error code if any"},"err_desc":{"type":"string","nullable":true,"description":"Error description if any"}}},"IntegrationMappingType":{"type":"string","description":"Type of integration mapping","enum":["hepsiburada","hepsiburadads","n11","web","external_company","gittigidiyor","trendyol","ups","morhipo","morhipoV2","amazon","b2c_direct","allegro","akinon","ay_cargo","aliexpress","emag","yurtici","ciceksepeti","fancourier","diva","hana","gordumaldim","pazarama","flo","dpd","cdek","turkcellds","sales_channel","kolay_gelsin","sameday","sendeo","cargus","dataeva","speedy","modanisa"]}},"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/channel/{channel_id}/error_reports/city/":{"post":{"summary":"Create Sales Channel City Error Report","description":"Create Sales Channel City Error Report for a specific channel.","tags":["SalesChannelErrorReports"],"parameters":[{"$ref":"#/components/parameters/channel_path"}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorReportIntegrationMapping"}}}},"responses":{"201":{"description":"City Error Report Created"},"401":{"$ref":"#/components/responses/401"},"404":{"$ref":"#/components/responses/404"},"500":{"$ref":"#/components/responses/500"}}}}}}
```

## List Sales Channel Error Reports

> List Sales Channel 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":{"channel_path":{"name":"channel_id","in":"path","description":"The channel ID of the resource.","required":true,"schema":{"type":"integer"}},"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/channel/{channel_id}/error_reports/":{"get":{"summary":"List Sales Channel Error Reports","description":"List Sales Channel Error Reports","tags":["SalesChannelErrorReports"],"parameters":[{"$ref":"#/components/parameters/channel_path"},{"$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"}}}}}}
```

## Create Sales Channel Error Report

> Create Sales Channel Error Report for a specific channel.

```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":{"channel_path":{"name":"channel_id","in":"path","description":"The channel ID 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/channel/{channel_id}/error_reports/":{"post":{"summary":"Create Sales Channel Error Report","description":"Create Sales Channel Error Report for a specific channel.","tags":["SalesChannelErrorReports"],"parameters":[{"$ref":"#/components/parameters/channel_path"}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorReport"}}}},"responses":{"201":{"description":"Error Report Created","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"}}}}}}
```

## List Sales Channel Error Reports

> List Sales Channel 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":{"channel_path":{"name":"channel_id","in":"path","description":"The channel ID of the resource.","required":true,"schema":{"type":"integer"}},"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/channel/{channel_id}/error_reports/detailed/":{"get":{"summary":"List Sales Channel Error Reports","description":"List Sales Channel Error Reports","tags":["SalesChannelErrorReports"],"parameters":[{"$ref":"#/components/parameters/channel_path"},{"$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 Sales Channel Product Error Reports

> Get list of sales channel 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":{"channel_path":{"name":"channel_id","in":"path","description":"The channel ID of the resource.","required":true,"schema":{"type":"integer"}},"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/channel/{channel_id}/error_reports/product/":{"get":{"summary":"List Sales Channel Product Error Reports","description":"Get list of sales channel product error reports","tags":["SalesChannelErrorReports"],"parameters":[{"$ref":"#/components/parameters/channel_path"},{"$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 Sales Channel Error Report Action Object ID

> Partial update a specific Sales Channel 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":{"channel_path":{"name":"channel_id","in":"path","description":"The channel ID of the resource.","required":true,"schema":{"type":"integer"}},"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/channel/{channel_id}/error_reports/{id}/update_action_object_id/":{"patch":{"summary":"Partial Update Sales Channel Error Report Action Object ID","description":"Partial update a specific Sales Channel Error Report by ID with Action Object ID","tags":["SalesChannelErrorReports"],"parameters":[{"$ref":"#/components/parameters/channel_path"},{"$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 of Sales Channel Error Report

> Update error code of sales channel 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":{"channel_path":{"name":"channel_id","in":"path","description":"The channel ID of the resource.","required":true,"schema":{"type":"integer"}},"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/channel/{channel_id}/error_reports/{id}/update_error_code/":{"patch":{"summary":"Update Error Code of Sales Channel Error Report","description":"Update error code of sales channel error report","tags":["SalesChannelErrorReports"],"parameters":[{"$ref":"#/components/parameters/channel_path"},{"$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/saleschannelerrorreports.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.
