PUT api/content/v4/addadvertisehistory

Request Information

URI Parameters

None.

Body Parameters

AdvertiseHistoryRequest
NameDescriptionTypeAdditional information
AdvertiseId

integer

None.

UserUniqueId

integer

None.

UniqueId

globally unique identifier

None.

Token

globally unique identifier

None.

CustomerId

integer

None.

Request Formats

application/json, text/json

Sample:
{
  "AdvertiseId": 1,
  "UserUniqueId": 2,
  "UniqueId": "7356966b-b37d-4815-94e9-69ed53bc50ac",
  "Token": "5beba8ab-64fe-426b-95ba-08ba685ef16c",
  "CustomerId": 5
}

application/xml, text/xml

Sample:
<AdvertiseHistoryRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/">
  <AdvertiseId>1</AdvertiseId>
  <CustomerId>5</CustomerId>
  <Token>5beba8ab-64fe-426b-95ba-08ba685ef16c</Token>
  <UniqueId>7356966b-b37d-4815-94e9-69ed53bc50ac</UniqueId>
  <UserUniqueId>2</UserUniqueId>
</AdvertiseHistoryRequest>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

APICommonWrapperOfAdvertiseHistoryResponse
NameDescriptionTypeAdditional information
Status

HttpStatusCode

None.

Message

string

None.

Data

AdvertiseHistoryResponse

None.

Response Formats

application/json, text/json

Sample:
{
  "Status": 100,
  "Message": "sample string 1",
  "Data": {
    "IsSuccess": true
  }
}

application/xml, text/xml

Sample:
<APICommonWrapperOfAdvertiseHistoryResponseMTRdQN6P xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Tsunami.Model">
  <Data xmlns:d2p1="http://schemas.datacontract.org/2004/07/">
    <d2p1:IsSuccess>true</d2p1:IsSuccess>
  </Data>
  <Message>sample string 1</Message>
  <Status>Continue</Status>
</APICommonWrapperOfAdvertiseHistoryResponseMTRdQN6P>