For more information on using API

PUT https://webapi.mymarketing.co.il/api/webhooks/{id}/parameters/{parameterid}

Update a given Webhook Parameter

Request Information

URI Parameters

Name

Description

Type

Additional information

id

Webhook id

integer

Required

parameterid

Webhook parameter id

integer

Required

Body Parameters

ParametersDetailsUpdate

Name

Description

Type

Additional information

key

Name of parameter

string
value

Value of parameter

string
event_parameter_type

Type of parameter as enum

Request Formats

application/json, text/json

Sample:
{
  "key": "sample string 1",
  "value": "sample string 2",
  "event_parameter_type": "header"
}

application/xml, text/xml

Sample:
<ParametersDetailsUpdate xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ActiveTrail.RESTfulApi.Models">
  <event_parameter_type>header</event_parameter_type>
  <key>sample string 1</key>
  <value>sample string 2</value>
</ParametersDetailsUpdate>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

None.