POST api/Cookie/UpdateCookieInfo
Request Information
URI Parameters
None.
Body Parameters
CookieInfoName | Description | Type | Additional information |
---|---|---|---|
Source |
Source of the cookie information |
ExternalSources |
None. |
Status |
Status of an Cookie. Whether the end user accepted or declined the cookie policy. |
CookieStatus |
None. |
Request Formats
application/json, text/json
Sample:
{ "Source": 0, "Status": 0 }
application/xml, text/xml
Sample:
<CookieInfo xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/GBG.Base.WebAPI.Models.External"> <Source>Local</Source> <Status>Accepted</Status> </CookieInfo>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
stringResponse Formats
application/json, text/json
Sample:
"sample string 1"
application/xml, text/xml
Sample:
<string xmlns="http://schemas.microsoft.com/2003/10/Serialization/">sample string 1</string>