Hello,
Has anyone tried using the PUT request for the measurement-sets/{id} endpoint?
I'm working on adding logic into my application where if the submission_id already exists, send a PUT request to update the measurementSet completely, however I'm getting an error on the PUT request.
Note: I'm using JSON for my requests. I switched from using XML due to the number of outstanding bugs for XML.
Initially I'm trying a POST request, which yields the expected error that the submission already exists:
Request:
Response:

I then send a PUT request which yields an error that the submissionId doesn't exist:
Request:
Response:

One item that might be causing my issue relates to the example for a PUT request on the sandbox documentation:
1. The sandbox example for a measurementSet PUT includes "submissionId" in the request
Is this required? Seems redundant if we need to supply the submissionId in the URL for the endpoint.
I did try to include submissionId in the request, but it didn't seem to matter, the same error for the PUT request was returned.
Any tips regarding using the PUT request for the measurement-sets/{id} endpoint are welcome.
Thank You,
Bryan Frambes