fix API params case. add status code constants