Giter Club home page Giter Club logo

hmrc.customs-notification-push-retry's Introduction

Customs Notification Push Retry

This service provides endpoints for the counting and deleting of flags that block push retries on customs notifications.

Endpoints Summary

Path Method Description
/blocked-count GET Returns a count of the number of notifications for the given clientId that are blocked
/blocked-flag DELETE Deletes the flags blocking notifications from being pushed for the given clientId

Endpoints

Count blocked flags for a given client id

curl -v -X GET http://customs-notification-push-retry-host/blocked-count \
    -H 'X-Client-ID: AClientId' \
    -H 'Accept: application/vnd.hmrc.1.0+xml'

For successful responses the status is 200 OK along with an xml body specifying the count e.g.

<pushNotificationBlockedCount>5</pushNotificationBlockedCount>

Delete blocked flags for a given client id

curl -X DELETE http://customs-notification-push-retry-host/blocked-flag \
    -H 'X-Client-ID: AClientId' \
    -H 'Accept: application/vnd.hmrc.1.0+xml'

For successful responses the status is 204 NO CONTENT. For requests where the clientId has no blocked requests then a 404 NOT FOUND is returned.

License

This code is open source software licensed under the Apache 2.0 License.

hmrc.customs-notification-push-retry's People

Contributors

paulblakehmrc avatar rashadmughal avatar hmrc-web-operations avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.