MediaAttachmentSearchInput
Search and filter criteria specifically for private attachment files
input MediaAttachmentSearchInput {
  sparePartsMachineId: String
  description: MediaLocalizedStringInput
  tag: MediaLocalizedStringInput
  sort: Sort
  page: Int
  offset: Int
  orderId: Int
  companyId: Int
  customerId: Int
}
Fields
MediaAttachmentSearchInput.sparePartsMachineId ● String scalar
Filter media items associated with a specific spare parts machine
MediaAttachmentSearchInput.description ● MediaLocalizedStringInput input
Search within media item descriptions.
Performs text search against the description field in the specified language. Supports partial matching and is case-insensitive.
MediaAttachmentSearchInput.tag ● MediaLocalizedStringInput input
Search within media item tags.
Finds media items that have tags matching the specified value in the given language. Useful for content categorization and discovery.
MediaAttachmentSearchInput.sort ● Sort enum
Sort order for search results.
Controls whether results are returned in ascending or descending order. Sorting is typically applied to the priority field or creation date.
MediaAttachmentSearchInput.page ● Int scalar
Page number for pagination.
Specifies which page of results to return. Pages start at 1.
MediaAttachmentSearchInput.offset ● Int scalar
Number of items per page.
Controls how many media items are returned in each page of results. Maximum recommended value is 50 for performance.
MediaAttachmentSearchInput.orderId ● Int scalar
Filter attachments associated with a specific order.
Retrieves attachments linked to the specified order ID. Cannot be used simultaneously with sparePartsMachineId as attachments are associated with either orders or machines, not both.
MediaAttachmentSearchInput.companyId ● Int scalar
Filter attachments owned by a specific company.
Retrieves attachments that belong to the specified company. Cannot be used simultaneously with customerId as attachments have a single owner type.
MediaAttachmentSearchInput.customerId ● Int scalar
Filter attachments owned by a specific customer.
Retrieves attachments that belong to the specified customer. Cannot be used simultaneously with companyId as attachments have a single owner type.