Custom REST Service - Map Service Legends

SOAP URL:
Format:

Unable to generate legends: Unable to update legend cache, invalid input parameters