Skip to content

Support Smax Webhook

Operations Summary

Method Endpoint Description
POST /api/support-smax-webhook/ Webhook

Webhook

1
2
3
4
5
http \
  POST \
  https://api.example.com/api/support-smax-webhook/ \
  Authorization:"Token YOUR_API_TOKEN" \
  id="string-value"
 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
from waldur_api_client.client import AuthenticatedClient
from waldur_api_client.models.smax_web_hook_receiver_request import SmaxWebHookReceiverRequest # (1)
from waldur_api_client.api.support_smax_webhook import support_smax_webhook # (2)

client = AuthenticatedClient(
    base_url="https://api.example.com", token="YOUR_API_TOKEN"
)

body_data = SmaxWebHookReceiverRequest(
    id="string-value"
)
response = support_smax_webhook.sync(
    client=client,
    body=body_data
)

print(response)
  1. Model Source: SmaxWebHookReceiverRequest
  2. API Source: support_smax_webhook
 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
import { supportSmaxWebhook } from 'waldur-js-client';

try {
  const response = await supportSmaxWebhook({
  auth: "Token YOUR_API_TOKEN",
  body: {
    "id": "string-value"
  }
});
  console.log('Success:', response);
} catch (error) {
  console.error('Error:', error);
}
Field Type Required
id string

200 -

Field Type
id string