Tc 1813 locale getlocale

[tc-1813] locale api webapi case update and create webapi case