For more information on using API

PUT https://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

Request Formats

application/json, text/json

Sample:
{
  "name": "sample string 2",
  "domains": "sample string 3"
}

application/xml, text/xml

Sample:
<ApiSmartCodeSiteUpdate xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ActiveTrail.RESTfulApi.Models">
  <domains>sample string 3</domains>
  <name>sample string 2</name>
</ApiSmartCodeSiteUpdate>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

None.