New endpoint for delivery app to use.

Once removal of code that uses existing alpha is done, then
duplicated code from /notifications/sms and the new endpoint
can be merged.

Job id is now avaiable in notificaiton but is not used yet.
This commit is contained in:
Adam Shimali
2016-02-08 14:54:15 +00:00
parent d99776d6cc
commit 0580f5ab06
5 changed files with 131 additions and 6 deletions

View File

@@ -90,6 +90,7 @@ class SmsNotificationSchema(NotificationSchema):
class SmsTemplateNotificationSchema(SmsNotificationSchema):
template = fields.Int(required=True)
job = fields.String()
@validates('template')
def validate_template(self, value):