Replace a webhook configuration

Replaces the whole configuration. Every secret of the authorization scheme must be sent, and omitting Authorization removes it. Use PATCH to change settings without resending secrets.

Recent Requests
Log in to see full request history
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…
Path Params
int64
required

Identifier of the webhook configuration to update

Body Params
string
length between 0 and 255

Name of this webhook configuration (as this could be one of many)

boolean

Whether this configuration delivers webhooks. Omitted means false, on create and on PUT alike: a PUT without Active switches an active configuration off, so send its current value (or use PATCH, which keeps it)

Authorization
object

How this webhook authenticates to the destination. Set at most one member; an empty object sends no authorization. A read lists only the configured member, and returns an empty object when there is none. A plain string is also accepted in place of this object, as shorthand for Header with that value. On a PUT, omitting Authorization removes it; on a PATCH, omitting it keeps the stored configuration.

string
length between 0 and 2048

Destination of the webhook: a public HTTP(S) URL without credentials. Required when Active is true. Redirects are not followed.

int32
1 to 500

Maximum number of records in one payload, 1 to 500 (default 100)

int32
0 to 3600

Seconds to wait after a delivered payload before sending the next one, 0 to 3600 (default 60)

Triggers
object

The triggers this configuration delivers, keyed by trigger name, each with Enabled and an optional Filter. A trigger left out is disabled. An active configuration needs at least one enabled trigger. ProductionOrderSubmit requires GAINS X 10.0-ER2610 or later.

RetryHandling
object

How failed deliveries are retried

string
enum

Naming of the delivered payload's field names: PASCAL_CASE or CAMEL_CASE. Omitted on create, PASCAL_CASE applies; omitted on PUT, the stored value is kept

Allowed:
Headers
string
enum
Defaults to application/json

Generated from available response content types

Allowed:
Responses

Language
URL
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
*/*
application/json