For more information on using API

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

Request Information

URI Parameters

Name

Description

Type

Additional information

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

ParametersDetailsInfo

Name

Description

Type

Additional information

id

integer
key

Name of parameter

string
value

Value of parameter

string
event_parameter_type

Type of parameter as enum

Response Formats

application/json, text/json

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

application/xml, text/xml

Sample:
<ParametersDetailsInfo 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 2</key>
  <value>sample string 3</value>
  <id>1</id>
</ParametersDetailsInfo>