uploadDocument
Uploads a document to a person, by providing the document type, the file and the person id.
uploadDocument(
documentType: FileUploadType
file: Upload
knowledgeNodeId: String
): FileUploadResult
Arguments
uploadDocument.documentType
● FileUploadType
enum
uploadDocument.file
● Upload
scalar
uploadDocument.knowledgeNodeId
● String
scalar
Type
FileUploadResult
object
Returned when using a mutation that uploads a file.