toAPIString