POST api/ProviderNegativeKeyword?sessionId={sessionId}

Creates a new provider negative keyword

Request Information

URI Parameters

NameDescriptionTypeAdditional information
sessionId

string

Required

Body Parameters

APIProviderNegativeKeyword
NameDescriptionTypeAdditional information
Id

Unique identifier

integer

None.

ProviderId

Unique identifier of provider to which this belongs

integer

None.

State

Status: Active, Closed or Suspended

string

None.

Keyword

Textual keyword string

string

None.

Request Formats

application/json, text/json

Sample:
{
  "id": 1,
  "providerId": 2,
  "state": "sample string 3",
  "keyword": "sample string 4"
}

application/xml, text/xml

Sample:
<APIProviderNegativeKeyword xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Rochester.Models">
  <Id>1</Id>
  <Keyword>sample string 4</Keyword>
  <ProviderId>2</ProviderId>
  <State>sample string 3</State>
</APIProviderNegativeKeyword>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

integer

Response Formats

application/json, text/json

Sample:
1

application/xml, text/xml

Sample:
<int xmlns="http://schemas.microsoft.com/2003/10/Serialization/">1</int>