POST WebShop/SetPricePolicyStatus

Request Information

URI Parameters

None.

Body Parameters

SetPricePolicyStatusRequest
NameDescriptionTypeAdditional information
PolicyID

string

None.

Enabled

boolean

None.

Request Formats

application/json, text/json

Sample:
{
  "PolicyID": "sample string 1",
  "Enabled": true
}

application/xml, text/xml

Sample:
<SetPricePolicyStatusRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/GJ.WEM.Biz.Model.WebShop">
  <Enabled>true</Enabled>
  <PolicyID>sample string 1</PolicyID>
</SetPricePolicyStatusRequest>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

RemoteResponseOfBoolean
NameDescriptionTypeAdditional information
success

boolean

None.

errors

string

None.

unauthed

boolean

None.

result

boolean

None.

Response Formats

application/json, text/json

Sample:
{
  "success": true,
  "errors": "sample string 2",
  "unauthed": true,
  "result": true
}

application/xml, text/xml

Sample:
<RemoteResponseOfboolean xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/GJ.Biz.Model">
  <Errors>sample string 2</Errors>
  <Result>true</Result>
  <Success>true</Success>
  <UnAuthorizedRequest>true</UnAuthorizedRequest>
</RemoteResponseOfboolean>