client.getFileRequests().updateFileRequestById(copiedFileRequest.getId(), new FileRequestUpdateRequest.Builder().title("updated title").description("updated description").build())
BoxFileRequest fileRequest = new BoxFileRequest(api, "id");BoxFileRequest.Info fileRequestInfo = fileRequest.new Info();fileRequestInfo.setDescription("Following documents are requested for your process");fileRequestInfo.setIsDescriptionRequired(true);fileRequestInfo.setStatus(BoxFileRequest.Status.ACTIVE);fileRequestInfo = fileRequest.updateInfo(fileRequestInfo);
var updateRequest = new BoxFileRequestUpdateRequest{ Description = "New file request description", Status = BoxFileRequestStatus.inactive};BoxFileRequestObject fileRequest = await client.FileRequestsManager.UpdateFileRequestAsync("12345", updateRequest);
client.fileRequests.update(fileRequestId, { title: 'Updated title'}).then((r: FileRequest) => { // do something with the updated file request console.log(r)});
For more details on the different fields that can be updated when creating
a template, please see the reference documentation for the
API.
The ID of a file request can be determined by visiting the Box web
app and inspecting the URL. Please
on setting up a file
request template to learn how to determine a file request ID.