I'm trying to figure out what's the correct way to handle cancelling an appointment.
For example, in the sandbox I've
created an appointment '
6219745' ( request id: "91346e0e1fd1d0a7f1c770c61fc52208" ),
in the response header I've received eatg: "W/"0"".
Now let's say some other system updated the appointment which will update the etag,
so before i can update the appointment myself more specifically cancel the appointment then i need some way to get the most recent etag
So i thought
appointment get would be the correct place
but the returned etag from there was something completely different, it was "W/"6ecf842c0ce9c48f891789e5ce405ffd"" ( request id: "447818238c1c162a74320fe947937833")
When i tried sending that etag to
cancel the appointment i received status: 400 "If-Match Header id: must be numeric" (request id "
fc182f89-6e0c-4c70-aef5-7bb89cbb6df7")
when i tried the same request but with etag: "W/"0"" it worked,
I guess my question is why the etag returned by appointment get returns a wierd etag
and what can i do about it?
Thanks,
Daniel Jakobsen