OBJECT

Mutation

Root mutation

link GraphQL Schema definition

  • type Mutation {
  • # Upload a file to a specific inbox.
  • #
  • # Arguments
  • # vatnumber: The vatnumber of the company you want to upload a
  • # file for. This field is required.
  • # filename: The filename for the uploaded file. This field is
  • # required.
  • # comment: Uploaded file comment. Optional field.
  • # tags: List of tags for the file. Optional field.
  • # invoicetype: The invoicetype has to be one of the following
  • # strings: "SALE", "PURCHASE" or "VARIOUS"
  • uploadFile(
  • vatnumber: String!,
  • filename: String!,
  • comment: String,
  • tags: [String],
  • invoicetype: InvoiceTypeArgument
  • ): File
  • # Upload a various file. They will appear directly in the archive for the client.
  • #
  • # Arguments
  • # vatnumber: The vatnumber of the company you want to upload an
  • # archive file for. This field is required.
  • # filename: The filename for the uploaded archive file. This
  • # field is required.
  • # type: The various category type has to be one of the following
  • # strings: "VARIOUS", "PERMANENT"
  • # category: The ID of the category you want to classify the
  • # document under.
  • # date: An RFC-3339 encoded date string.
  • # read: True or false. Will default to true.
  • # downloadable: True or false. Will default to false.
  • uploadArchiveFile(
  • vatnumber: String!,
  • filename: String!,
  • type: VariousType!,
  • category: String!,
  • date: Date,
  • read: Boolean,
  • downloadable: Boolean
  • ): File
  • # Create an associate.
  • # WARNING: After initial creation, there is a one-time chance to get the user's
  • # generated password.
  • #
  • # Arguments
  • # associate: The associate object containing the data with which
  • # to create a new associate.
  • addAssociate(associate: AddAssociateArgument!): AddAssociateType
  • # Edit existing associates by means of their ID.
  • #
  • # Arguments
  • # id: The ID of the associate to edit.
  • # associate: The associate object containing the data to be
  • # edited.
  • editAssociate(id: ID!, associate: EditAssociateArgument!): AssociateType
  • # Customize the way your application is displayed on the Apps page for an
  • # administration and optionally a user.
  • #
  • # Arguments
  • # vatnumber: The vatnumber of the administration for which you
  • # want to update the app customization. This field is required.
  • # emailaddress: If you want to update the app info for a specific
  • # user, fill in this parameter with the user's email-address.
  • # badge: [Not documented]
  • # icon: [Not documented]
  • # imageUrl: The url to the image that will be shown on the app.
  • # iFrameUrl: The url that should be included in the iFrame.
  • updateAppInfo(
  • vatnumber: String!,
  • emailaddress: String,
  • badge: AppBadgeArgument,
  • icon: AppIconArgument,
  • imageUrl: String,
  • iFrameUrl: String
  • ): AppInfo
  • }

link Require by

This element is not required by anyone