CLI Reference Guide
4 Advanced API
The Advanced mode API is only available on FutureSmart devices.
To distinguish between device models when using Advanced API calls in a mixed fleet, it is highly
recommended that you use the getDeviceInfo API call (<Family> element) on Compatible mode to filter and
choose the devices that will accept the advanced calls between the ones that would reject them.
4.1 Graph and job services
4.1.1 Set graph
Table 4-1 Set graph
?api=graph&method=set
POST Description Creates a graph on target MFP. A graph is represented on the MFP as a workflow
that may include all its components.
This operation replaces the previous graph on the MFP.
Payload IN XML: Graph
OUT If 200, XML response with code 0
If 400, XML response with error code
Response Code 200 OK – success
400 Bad request
Error code -1: Product not licensed
Error code -3: Error parsing xml payload
Error code -8: Unsupported scan settings
Error code -10: Device is busy (silent mode)
Error code -12: Unexpected error
401 Unauthorized access – if basic authentication fails
411 Length required – if content length is not or is badly specified.
500 Internal Server Error – if too many requests are active. Retry recommended.
Schema Request
?api=graph&schema=set
Response
?api=common&rschema=default
Section 4.1 Graph and job services 27