Skip to main content

InputFile

File data input used for creating or updating files. To upload file data, use either the file field or the upload field to send the file contents. The upload field uses the multipart/form-data media type to transfer the file, and the file field uses a base64-encoded string. If the files you are uploading will be larger than 100kb, you must use the multipart/form-data media type and the upload field.

input InputFile {
accounts: [ID!]
activities: [ID!]
articles: [ID!]
contacts: [ID!]
file: FileData
folder: ID
info: String
leads: [ID!]
missions: [ID!]
objects: [ID!]
opportunities: [ID!]
orders: [ID!]
projects: [ID!]
quotes: [ID!]
subscriptions: [ID!]
upload: Upload
users: [ID!]
}

Fields​

InputFile.accounts ● [ID!] list scalar​

Accounts this file should be connected to. If this is left out (null), connected accounts will be left unchanged.

InputFile.activities ● [ID!] list scalar​

Activities this file should be connected to. If this is left out (null), connected activities will be left unchanged.

InputFile.articles ● [ID!] list scalar​

Articles this file should be connected to. If this is left out (null), connected articles will be left unchanged.

InputFile.contacts ● [ID!] list scalar​

Contacts this file should be connected to. If this is left out (null), connected contacts will be left unchanged

InputFile.file ● FileData input​

JSON file upload data. Use this field when uploading files as a base64-encoded string. When this field is sent, the upload field cannot be used. Note: Should you need to upload a file larger than 100kb, you can not use the base64 field, and must use the upload field with the multipart/form-data media type.

InputFile.folder ● ID scalar​

InputFile.info ● String scalar​

InputFile.leads ● [ID!] list scalar​

Leads this file should be connected to. If this is left out (null), connected leads will be left unchanged.

InputFile.missions ● [ID!] list scalar​

Missions this file should be connected to. If this is left out (null), connected missions will be left unchanged.

InputFile.objects ● [ID!] list scalar​

Objects this file should be connected to. If this is left out (null), connected objects will be left unchanged.

InputFile.opportunities ● [ID!] list scalar​

Opportunities this file should be connected to. If this is left out (null), connected opportunities will be left unchanged.

InputFile.orders ● [ID!] list scalar​

Orders this file should be connected to. If this is left out (null), connected orders will be left unchanged.

InputFile.projects ● [ID!] list scalar​

Projects this file should be connected to. If this is left out (null), connected projects will be left unchanged.

InputFile.quotes ● [ID!] list scalar​

Quotes this file should be connected to. If this is left out (null), connected quotes will be left unchanged.

InputFile.subscriptions ● [ID!] list scalar​

Subscriptions this file should be connected to. If this is left out (null), connected subscriptions will be left unchanged.

InputFile.upload ● Upload scalar​

multipart/form-data file upload data. Use this field when uploading files using the multipart/form-data media type. When this field is sent, the file field cannot be used.

InputFile.users ● [ID!] list scalar​

Users this file should be connected to. If this is left out (null), connected users will be left unchanged.

Member Of​

createFile mutation ● updateFile mutation