POST api/{apiVersion}/Customer/SetPermissionMarketing

Request Information

URI Parameters

NameDescriptionTypeAdditional information
apiVersion

string

None.

Body Parameters

SetPermissionMarketingRequest
NameDescriptionTypeAdditional information
CustomerId

globally unique identifier

None.

IsAllowed

boolean

None.

Request Formats

application/json, text/json

Sample:
{
  "CustomerId": "198dbb9a-a422-4133-90c6-ec985354c17e",
  "IsAllowed": true
}

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

ServiceResponseOfBoolean
NameDescriptionTypeAdditional information
Code

integer

None.

Message

string

None.

Response

boolean

None.

IsShowMessage

boolean

None.

IsShowRateAndReview

boolean

None.

Response Formats

application/json, text/json

Sample:
{
  "Code": 1,
  "Message": "sample string 2",
  "Response": true,
  "IsShowMessage": true,
  "IsShowRateAndReview": true
}