Which coordinates are you sending to server?
Pay attention to correctly convert (if necessary) coordinates when you get them from pdf.
If I correctly understood your needs, I think that the correct steps are:
- get PDF_RECT
- convert PDF_RECT to CGRect
- send CGRect to server
- get CGRect from server
- convert CGRect to PDF_RECT
- add the annot
correct?