For more information on using API

POST https://webapi.mymarketing.co.il/api/smartcodesite

Create a new Smart Code site

Request Information

URI Parameters

Body Parameters

ApiSmartCodeSiteCreate

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:
<ApiSmartCodeSiteCreate xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
  <Id>1</Id>
  <UniqueId>108c0084-9f1b-4120-8513-6be53cabfbe9</UniqueId>
  <Name>sample string 2</Name>
  <Domains>sample string 3</Domains>
</ApiSmartCodeSiteCreate>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

ApiSmartCodeSiteInfo

Name

Description

Type

Additional information

id

integer
unique_id

globally unique identifier
name

string

Required

domains

Your website. Only required in a Post endpoint

string

Response Formats

application/json, text/json

Sample:
{
  "id": 1,
  "unique_id": "f6f52909-9b9d-4740-849f-651a5f851cc4",
  "name": "sample string 2",
  "domains": "sample string 3"
}

application/xml, text/xml

Sample:
<ApiSmartCodeSiteInfo xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
  <Id>1</Id>
  <UniqueId>f6f52909-9b9d-4740-849f-651a5f851cc4</UniqueId>
  <Name>sample string 2</Name>
  <Domains>sample string 3</Domains>
</ApiSmartCodeSiteInfo>