For more information on using API

PUT http://webapi.mymarketing.co.il/api/smartcodesite/{id}

Updates the exisiting Samrt Code site by site id

Request Information

URI Parameters

Name

Description

Type

Additional information

id

integer

Required

Body Parameters

ApiSmartCodeSiteUpdate

Name

Description

Type

Additional information

name

string

Required

domains

Your website. Only required in a Post endpoint

string
group_id

integer
mailing_list_id

integer
allowed_ips

Your allowed ips. Optional.

string
version

integer
tracker_domain

Your tracker domain. Optional.

string

Request Formats

application/json, text/json

Sample:
{
  "name": "sample string 2",
  "domains": "sample string 3",
  "group_id": 1,
  "mailing_list_id": 1,
  "allowed_ips": "sample string 4",
  "version": 1,
  "tracker_domain": "sample string 5"
}

application/xml, text/xml

Sample:
<ApiSmartCodeSiteUpdate xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
  <Id>1</Id>
  <UniqueId>a47a5253-74f2-430a-bebb-16b6b993cdef</UniqueId>
  <Name>sample string 2</Name>
  <Domains>sample string 3</Domains>
  <GroupId>1</GroupId>
  <MailingListId>1</MailingListId>
  <AllowedIps>sample string 4</AllowedIps>
  <Version>1</Version>
  <TrackerDomain>sample string 5</TrackerDomain>
</ApiSmartCodeSiteUpdate>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

None.