POST api/dmp/cookie

Request Information

URI Parameters

None.

Body Parameters

VisitorInfoModel
NameDescriptionTypeAdditional information
Country

string

None.

IsMobile

boolean

None.

MobileOS

string

None.

ScreenWidth

integer

None.

Request Formats

application/json, text/json

Sample:
{
  "Country": "sample string 1",
  "IsMobile": true,
  "MobileOS": "sample string 3",
  "ScreenWidth": 4
}

application/xml, text/xml

Sample:
<VisitorInfoModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/AdsLoom.AdServer.API.Controllers">
  <Country>sample string 1</Country>
  <IsMobile>true</IsMobile>
  <MobileOS>sample string 3</MobileOS>
  <ScreenWidth>4</ScreenWidth>
</VisitorInfoModel>

application/x-www-form-urlencoded

Sample:

Failed to generate the sample for media type 'application/x-www-form-urlencoded'. Cannot use formatter 'JQueryMvcFormUrlEncodedFormatter' to write type 'VisitorInfoModel'.

Response Information

Resource Description

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.