GET property/addvisit/{secretKey}?PropertyId={PropertyId}&RealClientIP={RealClientIP}&LanguageId={LanguageId}&IsWriteLogSQL={IsWriteLogSQL}

Gets the specified secret key.

Request Information

URI Parameters

NameDescriptionTypeAdditional information
secretKey

The secret key.

string

Required

PropertyId

Gets or sets the property identifier.

integer

None.

RealClientIP

Gets or sets the real client ip.

string

None.

LanguageId

1: NL, 2: FR, 3: EN, Default value = 1

integer

None.

IsWriteLogSQL

Write sql query for debug

boolean

None.

Body Parameters

None.

Response Information

Resource Description

ReturnResult<System.Boolean>.

ReturnResultOfBoolean
NameDescriptionTypeAdditional information
Success

Value = true is successful (If this value = false, then we should see Code and Message to have more info about error.)

boolean

None.

Code

It's error code (If value = 0, it's successful)

integer

None.

Message

It's error message (If value = empty, it's successful).

string

None.

Value

Data which you need to get.

boolean

None.

Response Formats

application/json, text/json

Sample:
{
  "Success": true,
  "Code": 2,
  "Message": "sample string 3",
  "Value": true
}

application/xml, text/xml

Sample:
<ReturnResultOfboolean xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/OmnicasaApiv3.Models">
  <Code>2</Code>
  <Message>sample string 3</Message>
  <Success>true</Success>
  <Value>true</Value>
</ReturnResultOfboolean>