For more information on using API

POST http://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>7cc649ae-9605-4d8b-bcac-585c9d74fc3a</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": "648a601f-6461-44ac-bcc4-7cfdfec61a8d",
  "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>648a601f-6461-44ac-bcc4-7cfdfec61a8d</UniqueId>
  <Name>sample string 2</Name>
  <Domains>sample string 3</Domains>
</ApiSmartCodeSiteInfo>