Add 'v1/receive/submission' web hook endpoint
Partially addresses LIT-335538 and resolves #159 (closed)
- Provides an initial implementation
v1/receive/submission
endpoint that the EEO Deposit Service API can send a POST request to.- Assuming one document attachment with a
designation
ofMain Document
and aformat
ofdocx
is present, a 200 OK is returned to the Client. (Once #160 is implemented Pressroom will also further process this DOCX file and then forward the transformed document to the relevant web service).
- Assuming one document attachment with a
- Adds unit tests covering the new
EEOReceivedSubmission
model object to ensure correct JSON decoding from expected payload schema.
Edited by Dan Browne