# SalesChannelCancellationRequestImage

## Get cancellation request images that need to be inserted or updated

> Returns a list of cancellation request images inserted or updated in the sales 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"}},"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}},"attributes":{"name":"attributes","in":"query","description":"Filter by image attributes","required":false,"schema":{"type":"object"}},"cancellation_request":{"name":"cancellation_request","in":"query","description":"Filter by cancellation request ID","required":false,"schema":{"type":"integer"}},"uploaded_by":{"name":"uploaded_by","in":"query","description":"Filter by user who uploaded the image","required":false,"schema":{"type":"integer"}}},"schemas":{"SalesChannelCancellationRequestImage":{"$ref":"#/components/schemas/CancellationRequestImage"},"CancellationRequestImage":{"type":"object","allOf":[{"$ref":"#/components/schemas/StarterModel"}],"properties":{"id":{"type":"integer","description":"Unique identifier for the cancellation request image"},"cancellation_request":{"type":"integer","description":"ID of the associated cancellation request"},"image":{"type":"string","format":"uri","description":"URL of the uploaded image"},"description":{"type":"string","description":"Description of the image"},"attributes":{"type":"object","description":"Additional attributes for the image"},"uploaded_by":{"type":"integer","description":"ID of the user who uploaded the image"}}},"StarterModel":{"type":"object","properties":{"created_date":{"type":"string","format":"date-time","readOnly":true,"description":"The date and time when the object was created."},"modified_date":{"type":"string","format":"date-time","description":"The date and time when the object was last modified."}}}},"responses":{"400":{"description":"Required field(s) are missing, data is invalid, or the action is not allowed.","content":{"application/json":{"schema":{"oneOf":[{"type":"object","properties":{"field":{"oneOf":[{"type":"array","description":"Indicates that no value was provided for the {field} field in the request.","items":{"type":"string"}},{"type":"array","description":"Indicates usage of a non-existent object for {field} in the request.","items":{"type":"string"}}]},"code":{"type":"string","description":"Represents the server-side error code."}}},{"type":"object","properties":{"non_field_errors":{"description":"Indicates invalid data or action usage in the request.","type":"array","items":{"type":"string"}},"code":{"type":"string","description":"Represents the server-side error code."}}},{"type":"object","properties":{"detail":{"description":"Provides a detailed message for the given error.","type":"string"},"code":{"type":"string","description":"Represents the server-side error code."}}}]}}}},"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."}}}}}},"500":{"description":"Server Error"}}},"paths":{"/api/channel/{channel_id}/cancellation_request_images/inserts_or_updates/":{"get":{"summary":"Get cancellation request images that need to be inserted or updated","description":"Returns a list of cancellation request images inserted or updated in the sales channel","operationId":"getCancellationRequestImagesInsertsOrUpdates","tags":["SalesChannelCancellationRequestImage"],"parameters":[{"$ref":"#/components/parameters/channel_path"},{"$ref":"#/components/parameters/page"},{"$ref":"#/components/parameters/limit"},{"$ref":"#/components/parameters/attributes"},{"$ref":"#/components/parameters/cancellation_request"},{"$ref":"#/components/parameters/uploaded_by"}],"responses":{"200":{"description":"List of cancellation request images to be inserted or updated","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/SalesChannelCancellationRequestImage"}}}}},"400":{"$ref":"#/components/responses/400"},"401":{"$ref":"#/components/responses/401"},"500":{"$ref":"#/components/responses/500"}}}}}}
```

## Retrieve a cancellation request image

> Returns details of a specific cancellation request image. Only accessible to authenticated users with JWT token.

```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":{"SalesChannelCancellationRequestImage":{"$ref":"#/components/schemas/CancellationRequestImage"},"CancellationRequestImage":{"type":"object","allOf":[{"$ref":"#/components/schemas/StarterModel"}],"properties":{"id":{"type":"integer","description":"Unique identifier for the cancellation request image"},"cancellation_request":{"type":"integer","description":"ID of the associated cancellation request"},"image":{"type":"string","format":"uri","description":"URL of the uploaded image"},"description":{"type":"string","description":"Description of the image"},"attributes":{"type":"object","description":"Additional attributes for the image"},"uploaded_by":{"type":"integer","description":"ID of the user who uploaded the image"}}},"StarterModel":{"type":"object","properties":{"created_date":{"type":"string","format":"date-time","readOnly":true,"description":"The date and time when the object was created."},"modified_date":{"type":"string","format":"date-time","description":"The date and time when the object was last modified."}}}},"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/channel/{channel_id}/cancellation_request_images/{id}/":{"get":{"summary":"Retrieve a cancellation request image","description":"Returns details of a specific cancellation request image. Only accessible to authenticated users with JWT token.","tags":["SalesChannelCancellationRequestImage"],"parameters":[{"$ref":"#/components/parameters/channel_path"},{"$ref":"#/components/parameters/id_path"}],"responses":{"200":{"description":"Cancellation request image details","content":{"application/json":{"schema":{"$ref":"#/components/schemas/SalesChannelCancellationRequestImage"}}}},"401":{"$ref":"#/components/responses/401"},"404":{"$ref":"#/components/responses/404"},"500":{"$ref":"#/components/responses/500"}}}}}}
```

## Get cancellation request images that need to be updated

> Returns a list of cancellation request images that updated in the sales 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"}},"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}},"attributes":{"name":"attributes","in":"query","description":"Filter by image attributes","required":false,"schema":{"type":"object"}},"cancellation_request":{"name":"cancellation_request","in":"query","description":"Filter by cancellation request ID","required":false,"schema":{"type":"integer"}},"uploaded_by":{"name":"uploaded_by","in":"query","description":"Filter by user who uploaded the image","required":false,"schema":{"type":"integer"}}},"schemas":{"SalesChannelCancellationRequestImage":{"$ref":"#/components/schemas/CancellationRequestImage"},"CancellationRequestImage":{"type":"object","allOf":[{"$ref":"#/components/schemas/StarterModel"}],"properties":{"id":{"type":"integer","description":"Unique identifier for the cancellation request image"},"cancellation_request":{"type":"integer","description":"ID of the associated cancellation request"},"image":{"type":"string","format":"uri","description":"URL of the uploaded image"},"description":{"type":"string","description":"Description of the image"},"attributes":{"type":"object","description":"Additional attributes for the image"},"uploaded_by":{"type":"integer","description":"ID of the user who uploaded the image"}}},"StarterModel":{"type":"object","properties":{"created_date":{"type":"string","format":"date-time","readOnly":true,"description":"The date and time when the object was created."},"modified_date":{"type":"string","format":"date-time","description":"The date and time when the object was last modified."}}}},"responses":{"400":{"description":"Required field(s) are missing, data is invalid, or the action is not allowed.","content":{"application/json":{"schema":{"oneOf":[{"type":"object","properties":{"field":{"oneOf":[{"type":"array","description":"Indicates that no value was provided for the {field} field in the request.","items":{"type":"string"}},{"type":"array","description":"Indicates usage of a non-existent object for {field} in the request.","items":{"type":"string"}}]},"code":{"type":"string","description":"Represents the server-side error code."}}},{"type":"object","properties":{"non_field_errors":{"description":"Indicates invalid data or action usage in the request.","type":"array","items":{"type":"string"}},"code":{"type":"string","description":"Represents the server-side error code."}}},{"type":"object","properties":{"detail":{"description":"Provides a detailed message for the given error.","type":"string"},"code":{"type":"string","description":"Represents the server-side error code."}}}]}}}},"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."}}}}}},"500":{"description":"Server Error"}}},"paths":{"/api/channel/{channel_id}/cancellation_request_images/updates/":{"get":{"summary":"Get cancellation request images that need to be updated","description":"Returns a list of cancellation request images that updated in the sales channel","operationId":"getCancellationRequestImagesUpdates","tags":["SalesChannelCancellationRequestImage"],"parameters":[{"$ref":"#/components/parameters/channel_path"},{"$ref":"#/components/parameters/page"},{"$ref":"#/components/parameters/limit"},{"$ref":"#/components/parameters/attributes"},{"$ref":"#/components/parameters/cancellation_request"},{"$ref":"#/components/parameters/uploaded_by"}],"responses":{"200":{"description":"List of cancellation request images to be updated","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/SalesChannelCancellationRequestImage"}}}}},"400":{"$ref":"#/components/responses/400"},"401":{"$ref":"#/components/responses/401"},"500":{"$ref":"#/components/responses/500"}}}}}}
```

## List all cancellation request images

> Returns a list of all cancellation request images with optional filtering

```json
{"openapi":"3.0.3","info":{"title":"Omnitron API","version":"1.0.0"},"security":[{"JWT":[]}],"components":{"securitySchemes":{},"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}},"attributes":{"name":"attributes","in":"query","description":"Filter by image attributes","required":false,"schema":{"type":"object"}},"cancellation_request":{"name":"cancellation_request","in":"query","description":"Filter by cancellation request ID","required":false,"schema":{"type":"integer"}},"uploaded_by":{"name":"uploaded_by","in":"query","description":"Filter by user who uploaded the image","required":false,"schema":{"type":"integer"}}},"schemas":{"SalesChannelCancellationRequestImage":{"$ref":"#/components/schemas/CancellationRequestImage"},"CancellationRequestImage":{"type":"object","allOf":[{"$ref":"#/components/schemas/StarterModel"}],"properties":{"id":{"type":"integer","description":"Unique identifier for the cancellation request image"},"cancellation_request":{"type":"integer","description":"ID of the associated cancellation request"},"image":{"type":"string","format":"uri","description":"URL of the uploaded image"},"description":{"type":"string","description":"Description of the image"},"attributes":{"type":"object","description":"Additional attributes for the image"},"uploaded_by":{"type":"integer","description":"ID of the user who uploaded the image"}}},"StarterModel":{"type":"object","properties":{"created_date":{"type":"string","format":"date-time","readOnly":true,"description":"The date and time when the object was created."},"modified_date":{"type":"string","format":"date-time","description":"The date and time when the object was last modified."}}}},"responses":{"400":{"description":"Required field(s) are missing, data is invalid, or the action is not allowed.","content":{"application/json":{"schema":{"oneOf":[{"type":"object","properties":{"field":{"oneOf":[{"type":"array","description":"Indicates that no value was provided for the {field} field in the request.","items":{"type":"string"}},{"type":"array","description":"Indicates usage of a non-existent object for {field} in the request.","items":{"type":"string"}}]},"code":{"type":"string","description":"Represents the server-side error code."}}},{"type":"object","properties":{"non_field_errors":{"description":"Indicates invalid data or action usage in the request.","type":"array","items":{"type":"string"}},"code":{"type":"string","description":"Represents the server-side error code."}}},{"type":"object","properties":{"detail":{"description":"Provides a detailed message for the given error.","type":"string"},"code":{"type":"string","description":"Represents the server-side error code."}}}]}}}},"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."}}}}}},"500":{"description":"Server Error"}}},"paths":{"/api/channel/{channel_id}/cancellation_request_images/":{"get":{"summary":"List all cancellation request images","description":"Returns a list of all cancellation request images with optional filtering","operationId":"listSalesChannelCancellationRequestImages","tags":["SalesChannelCancellationRequestImage"],"parameters":[{"$ref":"#/components/parameters/channel_path"},{"$ref":"#/components/parameters/page"},{"$ref":"#/components/parameters/limit"},{"$ref":"#/components/parameters/attributes"},{"$ref":"#/components/parameters/cancellation_request"},{"$ref":"#/components/parameters/uploaded_by"}],"responses":{"200":{"description":"List of cancellation request images","content":{"application/json":{"schema":{"type":"object","properties":{"count":{"type":"integer","description":"Total number of items"},"next":{"type":"string","format":"uri","nullable":true,"description":"URL of the next page"},"previous":{"type":"string","format":"uri","nullable":true,"description":"URL of the previous page"},"results":{"type":"array","items":{"$ref":"#/components/schemas/SalesChannelCancellationRequestImage"}}}}}}},"400":{"$ref":"#/components/responses/400"},"401":{"$ref":"#/components/responses/401"},"500":{"$ref":"#/components/responses/500"}}}}}}
```

## Get cancellation request images that need to be inserted

> Returns a list of cancellation request images inserted in the sales 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"}},"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}},"attributes":{"name":"attributes","in":"query","description":"Filter by image attributes","required":false,"schema":{"type":"object"}},"cancellation_request":{"name":"cancellation_request","in":"query","description":"Filter by cancellation request ID","required":false,"schema":{"type":"integer"}},"uploaded_by":{"name":"uploaded_by","in":"query","description":"Filter by user who uploaded the image","required":false,"schema":{"type":"integer"}}},"schemas":{"SalesChannelCancellationRequestImage":{"$ref":"#/components/schemas/CancellationRequestImage"},"CancellationRequestImage":{"type":"object","allOf":[{"$ref":"#/components/schemas/StarterModel"}],"properties":{"id":{"type":"integer","description":"Unique identifier for the cancellation request image"},"cancellation_request":{"type":"integer","description":"ID of the associated cancellation request"},"image":{"type":"string","format":"uri","description":"URL of the uploaded image"},"description":{"type":"string","description":"Description of the image"},"attributes":{"type":"object","description":"Additional attributes for the image"},"uploaded_by":{"type":"integer","description":"ID of the user who uploaded the image"}}},"StarterModel":{"type":"object","properties":{"created_date":{"type":"string","format":"date-time","readOnly":true,"description":"The date and time when the object was created."},"modified_date":{"type":"string","format":"date-time","description":"The date and time when the object was last modified."}}}},"responses":{"400":{"description":"Required field(s) are missing, data is invalid, or the action is not allowed.","content":{"application/json":{"schema":{"oneOf":[{"type":"object","properties":{"field":{"oneOf":[{"type":"array","description":"Indicates that no value was provided for the {field} field in the request.","items":{"type":"string"}},{"type":"array","description":"Indicates usage of a non-existent object for {field} in the request.","items":{"type":"string"}}]},"code":{"type":"string","description":"Represents the server-side error code."}}},{"type":"object","properties":{"non_field_errors":{"description":"Indicates invalid data or action usage in the request.","type":"array","items":{"type":"string"}},"code":{"type":"string","description":"Represents the server-side error code."}}},{"type":"object","properties":{"detail":{"description":"Provides a detailed message for the given error.","type":"string"},"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"}}}}}}}},"paths":{"/api/channel/{channel_id}/cancellation_request_images/inserts/":{"get":{"summary":"Get cancellation request images that need to be inserted","description":"Returns a list of cancellation request images inserted in the sales channel","operationId":"getCancellationRequestImagesInserts","tags":["SalesChannelCancellationRequestImage"],"parameters":[{"$ref":"#/components/parameters/channel_path"},{"$ref":"#/components/parameters/page"},{"$ref":"#/components/parameters/limit"},{"$ref":"#/components/parameters/attributes"},{"$ref":"#/components/parameters/cancellation_request"},{"$ref":"#/components/parameters/uploaded_by"}],"responses":{"200":{"description":"List of cancellation request images to be inserted","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/SalesChannelCancellationRequestImage"}}}}},"400":{"$ref":"#/components/responses/400"},"401":{"$ref":"#/components/responses/404"}}}}}}
```
