revertObj method apiPath requestJson