APIを使用してSMSを送信していますが、以下のURLでSMSが送信されます。
https://api.smsified.com/v1/smsmessaging/outbound/7243203328/requests?address=1234567890&message=this%20shall%20send%20delivery%20notice¬ifyURL=http%3A%2F%2Flocalhost%2FWebsite8%2FDefault.aspx
NotifyURLは、メッセージの配信レポートを送信する場所をSMSifiedに通知するオプションのパラメーターです。SMSifiedがJSONペイロードをHTTP経由で送信できる公開URLである必要があります。
asp.netアプリケーションを使用して送信されたこのJSONペイロードを受信するにはどうすればよいですか?
定義されたnotifyURLに送信されるデータの例を次に示します。
{
"deliveryInfoNotification": {
"deliveryInfo": {
"address": "14075550100",
"code": "0",
"createdDateTime": "2011-05-12T00:55:25.313Z",
"deliveryStatus": "DeliveredToNetwork",
"direction": "outbound",
"message": "Hello world",
"messageId": "3e5caf2782cb2eb310878b03efec5083",
"parts": "1",
"senderAddress": "16575550100",
"sentDateTime": "2011-05-12T00:55:34.359Z"
}
}
}