Added expected request parameter to PatchUnitResponse function.

We should be checking if the expected API request is issued.