PUT api/message/webhooks/{id}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
id

integer

Required

Body Parameters

SmsWebhook
NameDescriptionTypeAdditional information
Id

integer

None.

IsActive

boolean

None.

Url

string

None.

WebhookType

string

None.

DateCreated

date

None.

Request Formats

application/json, text/json

Sample:
{
  "Id": 1,
  "IsActive": true,
  "Url": "sample string 3",
  "WebhookType": "sample string 4",
  "DateCreated": "2026-11-03T23:01:32.4244259+02:00"
}

application/xml, text/xml

Sample:
<SmsWebhook xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/TBP5.API.Sms.Models">
  <DateCreated>2026-11-03T23:01:32.4244259+02:00</DateCreated>
  <Id>1</Id>
  <IsActive>true</IsActive>
  <Url>sample string 3</Url>
  <WebhookType>sample string 4</WebhookType>
</SmsWebhook>

application/x-www-form-urlencoded

Sample:

Failed to generate the sample for media type 'application/x-www-form-urlencoded'. Cannot use formatter 'JQueryMvcFormUrlEncodedFormatter' to write type 'SmsWebhook'.

Response Information

Resource Description

SmsWebhook
NameDescriptionTypeAdditional information
Id

integer

None.

IsActive

boolean

None.

Url

string

None.

WebhookType

string

None.

DateCreated

date

None.

Response Formats

application/json, text/json

Sample:
{
  "Id": 1,
  "IsActive": true,
  "Url": "sample string 3",
  "WebhookType": "sample string 4",
  "DateCreated": "2026-11-03T23:01:32.4254243+02:00"
}

application/xml, text/xml

Sample:
<SmsWebhook xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/TBP5.API.Sms.Models">
  <DateCreated>2026-11-03T23:01:32.4254243+02:00</DateCreated>
  <Id>1</Id>
  <IsActive>true</IsActive>
  <Url>sample string 3</Url>
  <WebhookType>sample string 4</WebhookType>
</SmsWebhook>