Add deal&case api