WEBUpdateSystemOptions

 

WEBUpdateSystemOptions

Initial Build 2008.01
xWeb Web Method
Response Type boolean

This method updates a system option. It returns true or false based on the success or failure of the update.

Parameters

szOptionName (string)—The name of the system option.

Response

Boolean—true or false.

Sample Request

<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:ns="http://www.avectra.com/2005/">
<soapenv:Header>
<ns:AuthorizationToken>
<!--Optional:-->
<ns:Token>df3d1644-ba3e-4dc7-8399-ae06ee6063e5</ns:Token>
</ns:AuthorizationToken>
</soapenv:Header>
<soapenv:Body>
<ns:WEBUpdateSystemOption>
<ns:szOptionName>appTitle</ns:szOptionName>
<!--Optional:-->
<ns:szOptionValue>netFORUM2</ns:szOptionValue>
</ns:WEBUpdateSystemOption>
</soapenv:Body>
</soapenv:Envelope>

Sample Response

Shortened for brevity.

<soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
<soap:Header>
<AuthorizationToken xmlns="http://www.avectra.com/2005/">
<Token>df3d1644-ba3e-4dc7-8399-ae06ee6063e5</Token>
</AuthorizationToken>
</soap:Header>
<soap:Body>
<WEBUpdateSystemOptionResponse xmlns="http://www.avectra.com/2005/">
<WEBUpdateSystemOptionResult>true</WEBUpdateSystemOptionResult>
</WEBUpdateSystemOptionResponse>
</soap:Body>
</soap:Envelope>

 

JSON Method

POST /xWeb/JSON/WEBUpdateSystemOption

DATA: JSON
{
    "WEBUpdateSystemOption" : {
        "szOptionName": "EnableEwebSavedShoppingCart",
        "szOptionValue" : "true"
    }
}

SAMPLE RESULT
HTTP STATUS: 200
DATA: JSON
true

 

Was this article helpful?
0 out of 0 found this helpful