mirror of
https://github.com/GSA/notifications-api.git
synced 2025-12-20 15:31:15 -05:00
When a precompiled letter is sent via the admin app, we now pass in the address which can be set in the Notifications.to field. Once a precompiled letters sent by the API has passed validation we can set the address in Notifications.to field. The celery tasks to validate precompiled letters sent by the API will be done in another PR.
15 lines
548 B
Python
15 lines
548 B
Python
send_pdf_letter_request = {
|
|
"$schema": "http://json-schema.org/draft-04/schema#",
|
|
"description": "POST send uploaded pdf letter",
|
|
"type": "object",
|
|
"title": "Send an uploaded pdf letter",
|
|
"properties": {
|
|
"postage": {"type": "string", "format": "postage"},
|
|
"filename": {"type": "string"},
|
|
"created_by": {"type": "string"},
|
|
"file_id": {"type": "string"},
|
|
"recipient_address": {"type": "string"}
|
|
},
|
|
"required": ["postage", "filename", "created_by", "file_id", "recipient_address"]
|
|
}
|