Endcap force is the difference :
PiAi-PeAe
PiAi = Internal pressure acting on the internal transversal area (Ai)
PeAe = External pressure acting on the external transversal area (Ae)
calculated at the 'end' of the pipe, considering that the pipe is capped... because, of course, if you have a pipe with internal pressure, some were it has to be capped
Thus, in my opinion, if there is a thick coating, there is a larger external transversal area in which the hydrostatic force acts, so PeAe has to take into account the coating too. But we cannot assume that the coating resists this force, so the axial stress given by the end cap effect should be calculated only with the steel thickness, not including the coating.
About hoop stress, this is more difficult to judge. The hoop stress formula :
(Pi-Pe)*OD/(2*t)
OD= nominal diameter
t = wall thickness
ONLY APPLY TO THIN WALL pressurized vessels
It is a formula derived assuming that OD/t is so small that you can neglect it, and this is generally true for pipe.
But if the wall is thick, the simplification would lead to error, because the circumferential stress (hoop stress) is not uniformly distributed across the wall.
So, if the coating is watertight, thus the hydrostatic pressure acts on the external surface of the coating, you should first check the OD/t is within the range for thin wall formula. Than you have to work out which is the hoop stress acting on the coating, and which is acting on the steel, considering that they will have the same pressure at the interface.....
anyway this is worthwhile only if Pe is relevant with respect to Pi, otherwise you will conservative by calculating hoop stress = Pi*OD/(2*wt) with wt=steel thickness.
This in my opinion, but if you think it helps, I can go back to my school books and find references
