POST v1/Offers/{offerId}/Parameters

Add an Offer Parameter.

Request Information

URI Parameters

NameDescriptionTypeAdditional information
offerId

The id of the offer.

integer

Required.

Body Parameters

The Offer Parameter.

Parameter
NameDescriptionTypeAdditional information
Key

Gets or sets the key.

string

None.

Value

Gets or sets the value.

string

None.

DataType

Specify the data type. Default type is String.

KeyValueParameterDataType

None.

DataTypeName

string

None.

Request Formats

application/json, text/json

Sample:
{
  "Key": "sample string 1",
  "Value": "sample string 2",
  "DataType": 0,
  "DataTypeName": "String"
}

application/xml, text/xml

Sample:
<Parameter xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
  <Key>sample string 1</Key>
  <Value>sample string 2</Value>
  <DataType>String</DataType>
</Parameter>

Response Information

Resource Description

The HttpResponseMessage object.

HttpResponseMessage
NameDescriptionTypeAdditional information
Version

Version

None.

Content

HttpContent

None.

StatusCode

HttpStatusCode

None.

ReasonPhrase

string

None.

Headers

Collection of Object

None.

RequestMessage

HttpRequestMessage

None.

IsSuccessStatusCode

boolean

None.