From 93f5d5902ce955f01f99541b79db81ce4a923cb3 Mon Sep 17 00:00:00 2001 From: Midhun Date: Tue, 2 Jul 2024 08:43:10 +0000 Subject: [PATCH 1/4] pull dlr updates --- v2/sms/pull-dlr.md | 76 ++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 76 insertions(+) diff --git a/v2/sms/pull-dlr.md b/v2/sms/pull-dlr.md index 3a7eb42..0f9afdf 100644 --- a/v2/sms/pull-dlr.md +++ b/v2/sms/pull-dlr.md @@ -89,3 +89,79 @@ You will be limited the records 100 per page. } } ``` +#### Example Response with date or group_id + +```json +{ + "status": "OK", + "code": 200, + "message": "OK", + "data": [ + { + "id": "6bb5da1a-b53e-4fbd-b0ae-6926cad4540b:1", + "mobile": "918074318216", + "status": "AWAITING-DLR", + "units": 1, + "service": "T", + "length": 10, + "charges": 1, + "custom": "", + "custom1": "", + "location": "", + "provider": "", + "submitted_at": "2024-06-24 09:51:03", + "delivered_at": "", + "sender": "MOBTRN" + }, + { + "id": "6bb5da1a-b53e-4fbd-b0ae-6926cad4540b:2", + "mobile": "919492839930", + "status": "AWAITING-DLR", + "units": 1, + "service": "T", + "length": 10, + "charges": 1, + "custom": "", + "custom1": "", + "location": "", + "provider": "", + "submitted_at": "2024-06-24 09:51:03", + "delivered_at": "", + "sender": "MOBTRN" + } + ], + "links": { + "first": "{endpoint}/api/v2/sms/status?page=1", + "last": "{endpoint}/api/v2/sms/status?page=1", + "prev": null, + "next": null + }, + "meta": { + "current_page": 1, + "from": 1, + "last_page": 1, + "links": [ + { + "url": null, + "label": "« Previous", + "active": false + }, + { + "url": "{endpoint}/api/v2/sms/status?page=1", + "label": "1", + "active": true + }, + { + "url": null, + "label": "Next »", + "active": false + } + ], + "path": "{endpoint}/api/v2/sms/status", + "per_page": 100, + "to": 2, + "total": 2 + } +} + +``` From 4204df2f5e43e22b76870114a470e5665cad0b64 Mon Sep 17 00:00:00 2001 From: Midhun Date: Mon, 8 Jul 2024 06:36:17 +0000 Subject: [PATCH 2/4] response changes --- v2/sms/pull-dlr.md | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/v2/sms/pull-dlr.md b/v2/sms/pull-dlr.md index 00a77c5..0a96568 100644 --- a/v2/sms/pull-dlr.md +++ b/v2/sms/pull-dlr.md @@ -29,7 +29,8 @@ you can pass any of the above params to get the dlr response. ```json { - "status": 200, + "status": "OK", + "code" : 200, "message": "OK", "data": [ { From 351313f979ffe65020169e6088d04026b9fe0868 Mon Sep 17 00:00:00 2001 From: Midhun Date: Mon, 8 Jul 2024 06:56:58 +0000 Subject: [PATCH 3/4] dlr response updates --- v2/sms/pull-dlr.md | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/v2/sms/pull-dlr.md b/v2/sms/pull-dlr.md index 0a96568..ebbdb78 100644 --- a/v2/sms/pull-dlr.md +++ b/v2/sms/pull-dlr.md @@ -38,13 +38,16 @@ you can pass any of the above params to get the dlr response. "mobile": "9189212693xx", "status": "DELIVRD", "units": 1, + "service": "T", "length": 7, "charges": 1, "custom": "", + "custom1": "", "location": "", "provider": "", "submitted_at": "2018-07-06 09:57:42", - "delivered_at": "2018-07-06 21:57:42" + "delivered_at": "2018-07-06 21:57:42", + "sender": "SENDER" } ] } From 354e8ab7b2045cef097d512253ea1ef578a60063 Mon Sep 17 00:00:00 2001 From: Midhun Date: Tue, 16 Jul 2024 04:25:06 +0000 Subject: [PATCH 4/4] removed example --- v2/sms/pull-dlr.md | 79 +--------------------------------------------- 1 file changed, 1 insertion(+), 78 deletions(-) diff --git a/v2/sms/pull-dlr.md b/v2/sms/pull-dlr.md index ebbdb78..1e8948e 100644 --- a/v2/sms/pull-dlr.md +++ b/v2/sms/pull-dlr.md @@ -129,81 +129,4 @@ You will be limited the records 100 per page. "to": 2, "total": 2 } -} -``` -#### Example Response with date or group_id - -```json -{ - "status": "OK", - "code": 200, - "message": "OK", - "data": [ - { - "id": "6bb5da1a-b53e-4fbd-b0ae-6926cad4540b:1", - "mobile": "918074318216", - "status": "AWAITING-DLR", - "units": 1, - "service": "T", - "length": 10, - "charges": 1, - "custom": "", - "custom1": "", - "location": "", - "provider": "", - "submitted_at": "2024-06-24 09:51:03", - "delivered_at": "", - "sender": "MOBTRN" - }, - { - "id": "6bb5da1a-b53e-4fbd-b0ae-6926cad4540b:2", - "mobile": "919492839930", - "status": "AWAITING-DLR", - "units": 1, - "service": "T", - "length": 10, - "charges": 1, - "custom": "", - "custom1": "", - "location": "", - "provider": "", - "submitted_at": "2024-06-24 09:51:03", - "delivered_at": "", - "sender": "MOBTRN" - } - ], - "links": { - "first": "{endpoint}/api/v2/sms/status?page=1", - "last": "{endpoint}/api/v2/sms/status?page=1", - "prev": null, - "next": null - }, - "meta": { - "current_page": 1, - "from": 1, - "last_page": 1, - "links": [ - { - "url": null, - "label": "« Previous", - "active": false - }, - { - "url": "{endpoint}/api/v2/sms/status?page=1", - "label": "1", - "active": true - }, - { - "url": null, - "label": "Next »", - "active": false - } - ], - "path": "{endpoint}/api/v2/sms/status", - "per_page": 100, - "to": 2, - "total": 2 - } -} - -``` +} \ No newline at end of file