Sites

Catalog


POST Create new site

Request path:

https://probe.aiursoft.com/Sites/CreateNewSite

Request content type:

application/x-www-form-urlencoded

Form content example:

AccessToken=yourAccessToken&NewSiteName=yourNewSiteName 

Request form:

Name Required Type
AccessToken Required Text
NewSiteName Required Text

Possible Response:

{
  "Code": -1,
  "Message": "Some error."
}

Possible Response:

{
  "Items": [
    "Some item is invalid!"
  ],
  "Code": -10,
  "Message": "Your input contains several errors!"
}

GET View my sites

Request path:

https://probe.aiursoft.com/Sites/ViewMySitesTry

Request example:

https://probe.aiursoft.com/Sites/ViewMySites?AccessToken=yourAccessToken

Request arguments:

Name Required Type
AccessToken Required Text

Possible Response:

{
  "Code": -1,
  "Message": "Some error."
}

Possible Response:

{
  "Items": [
    "Some item is invalid!"
  ],
  "Code": -10,
  "Message": "Your input contains several errors!"
}

POST Delete site

Request path:

https://probe.aiursoft.com/Sites/DeleteSite

Request content type:

application/x-www-form-urlencoded

Form content example:

AccessToken=yourAccessToken&SiteName=yourSiteName 

Request form:

Name Required Type
AccessToken Required Text
SiteName Required Text

Possible Response:

{
  "Code": -1,
  "Message": "Some error."
}

Possible Response:

{
  "Items": [
    "Some item is invalid!"
  ],
  "Code": -10,
  "Message": "Your input contains several errors!"
}

POST Delete app

Request path:

https://probe.aiursoft.com/Sites/DeleteApp

Request content type:

application/x-www-form-urlencoded

Form content example:

AccessToken=yourAccessToken&AppId=yourAppId 

Request form:

Name Required Type
AccessToken Required Text
AppId Required Text

Possible Response:

{
  "Code": -1,
  "Message": "Some error."
}

Possible Response:

{
  "Items": [
    "Some item is invalid!"
  ],
  "Code": -10,
  "Message": "Your input contains several errors!"
}