Check the status of a Design Automation WorkItem using the Design Automation API v3.
Arguments
- id
A string. WorkItem ID returned by
makePdfinresp$content$id.- token
A string or
aps_tokenobject withcode:allscope.- source
Deprecated. Ignored with a warning.
- destination
Deprecated. Ignored with a warning.
Examples
if (FALSE) { # \dontrun{
mySource <- "http://download.autodesk.com/us/samplefiles/acad/visualization_-_aerial.dwg"
myDestination <- "https://example.com/output/aerial.pdf"
resp <- makePdf(mySource, myDestination, token = myToken)
myWorkItemId <- resp$content$id
# Poll for completion
resp <- checkPdf(id = myWorkItemId, token = myToken)
resp
} # }
