Repo for the funding service design notification.
Built with Flask.
path: FUNDING-SERVICE-DESIGN-NOTIFICATION/README.md
To post data, use /send endpoint with POST method. Data must be in the following format.
{
"type": "APPLICATION_RECORD_OF_SUBMISSION",
"to": "email@example.com",
"content": {
"application": {
"round_name": "WINDOW 2 ROUND 2",
"reference":"WUHJFDWJ",
"date_submitted": "2022-05-20T14:47:12.111511",
"forms": [
{
"name": "community-benefits",
"questions": [
{
"question": "Potential to deliver community benefits",
"fields": [
{
"title": "Question one",
"answer": "Answer one"
}
]
}
]
},
{
"name": "declarations",
"questions": [
{
"question": "Declarations",
"fields": [
{
"title": "Question two",
"answer": [
"Answer two (item one)",
"Answer two (item two)"
]
}
]
}
]
}
]
}
}
}
To post data, use /send endpoint with POST method. Data must be in the following format.
{
"type": "APPLICATION_RECORD_OF_SUBMISSION",
"to": "email@example.com",
"content": {
"application": {
"round_name": "WINDOW 2 ROUND 2",
"reference":"WUHJFDWJ",
"forms": [
{
"name": "community-benefits",
"questions": [
{
"question": "Potential to deliver community benefits",
"fields": [
{
"title": "Question one",
"answer": "Answer one"
}
]
}
]
},
{
"name": "declarations",
"questions": [
{
"question": "Declarations",
"fields": [
{
"title": "Question two",
"answer": [
"Answer two (item one)",
"Answer two (item two)"
]
}
]
}
]
}
]
}
}
}