You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When providing a Status-Override for a VBADocuments::UploadSubmission is the change in status meant to be persistent? There is a save call on the submission after the change, but I am seeing the original status in the sandbox upon subsequent checks. For example:
I walked through the vets-api code a bit to see if I could find a reason as to why the record wouldn't be saved, but I don't. Any help would be appreciated. Thanks.
EDIT
I took another look this morning and noticed the call to refresh_status! is likely resetting the status on subsequent requests given what it receives and immediately maps from CentralMail. Therefore, I can see why the Status-Override is behaving in a momentary fashion. But, the question remains, should it be?
The momentary behavior isn't very useful for testing as it removes the ability to poll and respond to changes of GUIDs, etc. In fact, the entire Status-Override process doesn't make much sense if this momentary behavior was the intended goal. Anyone targeting this API could simply stub out different status responses in their application, instead, and avoid the round trip.
The text was updated successfully, but these errors were encountered:
When providing a
Status-Override
for aVBADocuments::UploadSubmission
is the change instatus
meant to be persistent? There is asave
call on thesubmission
after the change, but I am seeing the original status in the sandbox upon subsequent checks. For example:2020-07-01T23:15:00.729Z
2020-07-01T23:17:25.700Z
2020-07-01T23:18:00.405Z
I walked through the vets-api code a bit to see if I could find a reason as to why the record wouldn't be saved, but I don't. Any help would be appreciated. Thanks.
EDIT
I took another look this morning and noticed the call to refresh_status! is likely resetting the status on subsequent requests given what it receives and immediately maps from CentralMail. Therefore, I can see why the
Status-Override
is behaving in a momentary fashion. But, the question remains, should it be?The momentary behavior isn't very useful for testing as it removes the ability to poll and respond to changes of GUIDs, etc. In fact, the entire
Status-Override
process doesn't make much sense if this momentary behavior was the intended goal. Anyone targeting this API could simply stub out different status responses in their application, instead, and avoid the round trip.The text was updated successfully, but these errors were encountered: