Skip to main content

MediaAttachment

No description

type MediaAttachment {
id: ID!
sparePartsMachineId: ID
alt: [LocalizedString!]!
description: [LocalizedString!]!
tags: [LocalizedStringArray!]!
type: String
createdAt: DateTime
lastModifiedAt: DateTime
priority: Int
attachments: [LocalizedAttachment!]
orderId: Int
companyId: Int
customerId: Int
}

Fields

MediaAttachment.id ● ID! non-null scalar

Media global unique identifier

MediaAttachment.sparePartsMachineId ● ID scalar

Unique sparePartsMachine identifier that the media relates to

MediaAttachment.alt ● [LocalizedString!]! non-null object

Media alt description that briefly explains the contents of the document.

MediaAttachment.description ● [LocalizedString!]! non-null object

Media short description.

MediaAttachment.tags ● [LocalizedStringArray!]! non-null object

Media tags.

MediaAttachment.type ● String scalar

Media type

MediaAttachment.createdAt ● DateTime scalar

The date and time (ISO 8601 format) when the media was created.

MediaAttachment.lastModifiedAt ● DateTime scalar

The date and time (ISO 8601 format) when the media was last modified.

MediaAttachment.priority ● Int scalar

Media display priority [Lower value has higher priority] - default: 1000

MediaAttachment.attachments ● [LocalizedAttachment!] list object

List of attachment objects

MediaAttachment.orderId ● Int scalar

Unique order identifier that the attachment relates to. [Cannot use it together with sparePartsMachineId]

MediaAttachment.companyId ● Int scalar

Unique company identifier that the attachment relates to. [Cannot use it together with customerId]

MediaAttachment.customerId ● Int scalar

Unique customer identifier that the attachment relates to. [Cannot use it together with companyId]

Returned By

mediaAttachmentCreate mutation ● mediaAttachmentUpdate mutation

Member Of

Media object ● PaginatedMediaAttachmentResponse object