mirror of
https://github.com/GSA/notifications-admin.git
synced 2026-02-05 19:03:30 -05:00
Make content of body and date fields consistent
This commit is contained in:
@@ -150,8 +150,8 @@ POST /notifications/email
|
||||
"to": "email@gov.uk",
|
||||
"template": "f6895ff7-86e0-4d38-80ab-c9525856c3ff",
|
||||
"personalisation": {
|
||||
"name": "myname",
|
||||
"date": "2016"
|
||||
"name": "Bill",
|
||||
"date": "3 January 2016"
|
||||
}
|
||||
}
|
||||
```
|
||||
@@ -175,7 +175,7 @@ The response (status code 201) will be:
|
||||
"notification": {
|
||||
"id":1
|
||||
},
|
||||
"body": "Dear Bill, your licence is due for renewal.",
|
||||
"body": "Dear Bill, your licence is due for renewal on 3 January 2016.",
|
||||
"template_version": 1,
|
||||
"subject": "Licence renewal"
|
||||
}
|
||||
@@ -220,7 +220,9 @@ The response (status code 200) will be:
|
||||
"content_char_count": 490,
|
||||
"service": "5cf87313-fddd-4482-a2ea-48e37320efd1",
|
||||
"reference": None,
|
||||
"sent_by": "mmg"
|
||||
"sent_by": "mmg",
|
||||
"body": "Dear Bill, your licence is due for renewal on 3 January 2016"
|
||||
"date": "3 January 2016"
|
||||
}
|
||||
}
|
||||
```
|
||||
|
||||
Reference in New Issue
Block a user