Open SriramAvasarala opened 2 years ago
Hi Sriram,
Thank you for submitting this. Please use PATCH instead of POST to update the submission control resource. Let us know if that works for you.
Best, Luke ITDB Support
It works now. We are able to get submission id and use patch to update.
Thanks, Sriram
From: Luke Schwenke @.> Sent: Thursday, September 30, 2021 1:06 PM To: GSA/ITDB-schema @.> Cc: Avasarala, Venkata Sriram @.>; Author @.> Subject: Re: [GSA/ITDB-schema] Unable to Post Submission Control (#468)
Caution: External email. Pay attention to suspicious links and attachments. Send suspicious email to **@.**@.> **
Hi Sriram,
Thank you for submitting this. Please use PATCH instead of POST to update the submission control resource. Let us know if that works for you.
Best, Luke ITDB Support
— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHubhttps://hyperlink.services.treasury.gov/agency.do?origin=https://github.com/GSA/ITDB-schema/issues/468#issuecomment-931504814, or unsubscribehttps://hyperlink.services.treasury.gov/agency.do?origin=https://github.com/notifications/unsubscribe-auth/AEW6IOQXHPFXIYBN3A3H6ZDUESKFXANCNFSM5FCQRBZA. Triage notifications on the go with GitHub Mobile for iOShttps://hyperlink.services.treasury.gov/agency.do?origin=https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Androidhttps://hyperlink.services.treasury.gov/agency.do?origin=https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.
We are getting below error while we try to post submission control.
{ "fundLock": true, "agency": "015" }
Response:
{ "@context": "/contexts/Error", "@type": "hydra:Error", "hydra:title": "HttpException", "hydra:description": "Access to this record is forbidden", "hydra:request_id": "3d036baa-1a4d-986d-a9a0-95d46a08d4f6" }