SupportProduct Documentation
    • Introduction
    • URL Structure
    • API Key
    • Errors
    • Versioning
    • Pagination
    • Replication
    • Performance
    • Rate Limits
    • Webhooks
  • System Services
    • Companies
    • Hello World
  • Accounts
  • Ticketing
    • Getting started
    • Catalog
    • Capacity
    • Tickets
    • Reservations
    • Schedule
  • Memberships
    • Catalog
    • Membership
    • Member
    • Card
    • Payment Method
    • Lifecycle
    • Miscellaneous
    • Points
  • Speedgate
  • Attraction Wallet
  • POS
    • POS Sale
    • POS Unit
    • POS Store
    • Salesperson
    • External POS Sale
    • Global POS Entry
  • Inventory
    • Barcodes
    • Items
    • Item Ledger Entries
    • Item Categories
    • Item Variants
    • Item Translations
  • Coupon
  • Vouchers
    • Vouchers
  • Ecommerce
    • Sales Documents
  • Finance
    • General Ledger Account
    • General Ledger Entries
    • General Ledger Journal
  • NP Designer
LogoLogo
SupportProduct Documentation
System ServicesWebhooks

Beta
GET
https://api.npretail.app/:tenant/:environment/:company/webhook
GET
/:tenant/:environment/:company/webhook
1import requests
2
3url = "https://api.npretail.app/01234567-89ab-cdef-0123-456789abcdef/production/CRONUS%2520International%2520Ltd./webhook"
4
5headers = {"Authorization": "Bearer <apiKey>"}
6
7response = requests.get(url, headers=headers)
8
9print(response.json())
Try it
200Retrieved
1{
2 "@odata.context": "https://api.businesscentral.dynamics.com/v2.0/production/api/v2.0/$metadata#externaleventsubscriptions",
3 "value": [
4 {
5 "@odata.etag": "W/\"JzIwOzEwNzkxMzk5ODM2MTM3MjIwMTQ2MTswMDsn\"",
6 "id": "9a381cbf-ad95-4c20-a35d-e94125a91f9e",
7 "companyId": "a2518dbc-2baf-ef11-b8eb-6045bde99e24",
8 "timestamp": 183372,
9 "appId": "992c2309-cca4-43cb-9e41-911f482ec088",
10 "eventName": "pos_sale_completed",
11 "companyName": "CRONUS%20International%20Ltd.",
12 "userId": "6ea36ab6-941a-405b-a184-94ddebff707e",
13 "notificationUrl": "https://webhook.site/7bb075d4-62ff-4bd9-8832-502c9ed94ab7",
14 "lastModifiedDateTime": "2024-12-02T20:45:29Z",
15 "clientState": "HVA0Y6B84KBNISG45W6CA4TNE38CHSBASD",
16 "subscriptionType": "Webhook",
17 "eventVersion": "1.0",
18 "subscriptionState": "Active",
19 "systemCreatedAt": "2024-12-02T20:45:29.053Z",
20 "systemCreatedBy": "6ea36ab6-941a-405b-a184-94ddebff707e",
21 "systemModifiedAt": "2024-12-02T20:45:29.053Z",
22 "systemModifiedBy": "6ea36ab6-941a-405b-a184-94ddebff707e"
23 }
24 ]
25}
Was this page helpful?
Previous

Get subscription

Next
Built with
Retrieves all existing webhook subscriptions for a specified company, providing comprehensive details about each external event subscription.
Get subscriptions

Authentication

AuthorizationBearer
Bearer authentication of the form `Bearer <token>`, where token is your auth token.

Path parameters

tenantstringRequired
Your Entra Tenant ID. [More details.](/paths#1-tenant)
environmentstringRequired
Your Business Central Environment. [More details.](/paths#2-environment)
companystringRequired
Your Business Central Company. [More details.](/paths#3-company)

Headers

x-api-versiondateOptional
Used for API versioning. [More details.](/versioning)

Response

This endpoint returns an object.
@odata.contextstring
valuelist of objects

Bearer authentication of the form Bearer <token>, where token is your auth token.

Your Entra Tenant ID. More details.

Your Business Central Company. More details.

Your Business Central Environment. More details.

Used for API versioning. More details.