POST api/Keyword/ChangeKeywordsBudget

Change budget for one or more keywords

Request Information

URI Parameters

None.

Body Parameters

ChangeKeywordBudgetParam
NameDescriptionTypeAdditional information
ProjectId

Project identifier

integer

None.

KeywordIds

Keyword identifiers for project

Collection of integer

None.

Budget

New budget (in tomans) for keywords with identifiers

decimal number

None.

Request Formats

application/json, text/json

Sample:
{
  "ProjectId": 1,
  "KeywordIds": [
    1,
    2
  ],
  "Budget": 2.0
}

application/xml, text/xml

Sample:
<ChangeKeywordBudgetParam xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/IDEV.RookeeWebApi.Models.InputData">
  <Budget>2</Budget>
  <KeywordIds xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
    <d2p1:long>1</d2p1:long>
    <d2p1:long>2</d2p1:long>
  </KeywordIds>
  <ProjectId>1</ProjectId>
</ChangeKeywordBudgetParam>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

ApiResultBase
NameDescriptionTypeAdditional information
StatusCode

Response status code

ApiStatusCode

None.

ErrorMsg

Error text if status code not Ok

string

None.

Response Formats

application/json, text/json

Sample:

Sample not available.