Update site information
Request Information
Headers
Name | Description | Type | Additional information |
---|---|---|---|
Authentication |
Authentication token |
string |
Required |
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
siteid |
Site id |
integer |
Required |
Body Parameters
SiteName | Description | Type | Additional information |
---|---|---|---|
AccountId |
Site account id |
globally unique identifier |
Required |
SiteDomainName |
Site partial sub-domain (include only the part before the '.', for example: if the full subdomain is abc.yourdomain.mobi, include 'abc') |
string |
Required |
BusinessCategories |
Site business categories |
Collection of BusinessCategory |
None. |
PoweredByUrl |
Powered by site site footer link url |
string |
None. |
PoweredByText |
Powered by site site footer link text |
string |
None. |
SearchTags |
Search tags used for Mobile Directory searches (applicable for Mobile Directory only). |
string |
None. |
Request Formats
application/json
Sample:
{ "SiteDomainName": "somedomain", "BusinessCategories": [ { "Name": "Audio" } ], "PoweredByUrl": "http://somedomain.com/url", "PoweredByText": "Some domain", "SearchTags": "Search tags" }
Response Information
Resource Description
Name | Description | Type | Additional information |
---|---|---|---|
Data | Site |
None. |
|
Success | boolean |
None. |
|
Messages | Collection of ErrorMessage |
None. |
Response Formats
application/json
Sample:
{ "Data": { "Id": 31385, "AccountId": "073f4072-9870-438d-818b-c7e56eff2601", "SiteDomainName": "somedomain", "SiteFullDomainName": "somedomain.inapp.mobi", "ExternalDomainNames": [], "Created": "2014-04-01T12:13:19.903", "BusinessCategories": [ { "Id": 1, "Name": "Audio" } ], "PoweredByUrl": "http://somedomain.com/url", "PoweredByText": "Some domain", "SearchTags": "Search tags" }, "Success": true, "Messages": [] }