Make this change to your ajax data property. It needs to be passed as string.
data: JSON.stringify({ "Oid": 1 }),
Also your controller parameters and data parameters are need to be same. The are case sensitive.
public ActionResult GetOid(int Oid)
Last as mentioned return it in json format.
return Json(new { oid = CustomerId });