Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Peppol Directory integration - Rest API - custom deactivation #269

Closed
dextreza opened this issue Feb 7, 2024 · 3 comments
Closed

Peppol Directory integration - Rest API - custom deactivation #269

dextreza opened this issue Feb 7, 2024 · 3 comments

Comments

@dextreza
Copy link

dextreza commented Feb 7, 2024

It would be beneficial to extend the current API that creates/updates the BusinessCards in order to let in every single request to decide if that particular BusinessCard will be notified to the Peppol directory or not regardless the SMP configuration is configured as TRUE.
API path: PUT /businesscard/{ServiceGroupId}

@dextreza
Copy link
Author

dextreza commented Feb 7, 2024

Forgot to mention about other APIs that could be also triggering the notifications to the PD. i guess that every PUT or DELETE API over ServiceGroupIds, ServiceRegistrations or BusinessCards could be affected as well.

@phax
Copy link
Owner

phax commented Feb 7, 2024

Changing the "Directory automatic update" flag with the REST API is a bad idea. This setting is global and will continue to work so. However, I will add an API that will allow you to "only push" the Business Card of a specific Participant to the configured Directory. So if you know, that the automatic update is disabled, you can manually trigger this.

@phax
Copy link
Owner

phax commented Aug 12, 2024

The new API will be part of the 7.1.5 release. It will be a POST with the URL pattern /businesscard/{participantID}/push.

See the REST API documentation for details: https://github.com/phax/phoss-smp/wiki/REST-API

@phax phax closed this as completed Aug 12, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants