PUT api/v2/singlelinks

Request Information

URI Parameters

None.

Body Parameters

SingleLinkApplicationModel
NameDescriptionTypeAdditional information
Id

integer

None.

OwnerId

integer

None.

Name

string

None.

StoreUrlForIPhone

string

None.

StoreUrlForIPad

string

None.

DeepLinkingForIPhone

string

None.

DeepLinkingForIPad

string

None.

StoreUrlForAndroid

string

None.

StoreUrlForAndroidTablet

string

None.

DeepLinkingForAndroid

string

None.

DeepLinkingForAndroidTablet

string

None.

BehaviorForUnknownDevice

SingleLinkBehaviorForUnknownDevice

None.

RedirectUrl

string

None.

UnknownDeviceMessage

string

None.

ClickCount

integer

None.

ShortPath

string

None.

Url

string

None.

IsDeleted

globally unique identifier

None.

IsActive

boolean

None.

Request Formats

application/json, text/json

Sample:
{
  "Id": 1,
  "OwnerId": 2,
  "Name": "sample string 3",
  "StoreUrlForIPhone": "sample string 4",
  "StoreUrlForIPad": "sample string 5",
  "DeepLinkingForIPhone": "sample string 6",
  "DeepLinkingForIPad": "sample string 7",
  "StoreUrlForAndroid": "sample string 8",
  "StoreUrlForAndroidTablet": "sample string 9",
  "DeepLinkingForAndroid": "sample string 10",
  "DeepLinkingForAndroidTablet": "sample string 11",
  "BehaviorForUnknownDevice": 0,
  "RedirectUrl": "sample string 12",
  "UnknownDeviceMessage": "sample string 13",
  "ClickCount": 14,
  "ShortPath": "sample string 15",
  "Url": "sample string 16",
  "IsDeleted": "000de05f-00d0-481c-adf5-627a2cde1ec0",
  "IsActive": true
}

application/xml, text/xml

Sample:
<SingleLinkApplicationModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Smartface.EnterpriseServer.Models.SingleLink">
  <BehaviorForUnknownDevice>Redirect</BehaviorForUnknownDevice>
  <ClickCount>14</ClickCount>
  <DeepLinkingForAndroid>sample string 10</DeepLinkingForAndroid>
  <DeepLinkingForAndroidTablet>sample string 11</DeepLinkingForAndroidTablet>
  <DeepLinkingForIPad>sample string 7</DeepLinkingForIPad>
  <DeepLinkingForIPhone>sample string 6</DeepLinkingForIPhone>
  <Id>1</Id>
  <IsActive>true</IsActive>
  <IsDeleted>000de05f-00d0-481c-adf5-627a2cde1ec0</IsDeleted>
  <Name>sample string 3</Name>
  <OwnerId>2</OwnerId>
  <RedirectUrl>sample string 12</RedirectUrl>
  <ShortPath>sample string 15</ShortPath>
  <StoreUrlForAndroid>sample string 8</StoreUrlForAndroid>
  <StoreUrlForAndroidTablet>sample string 9</StoreUrlForAndroidTablet>
  <StoreUrlForIPad>sample string 5</StoreUrlForIPad>
  <StoreUrlForIPhone>sample string 4</StoreUrlForIPhone>
  <UnknownDeviceMessage>sample string 13</UnknownDeviceMessage>
  <Url>sample string 16</Url>
</SingleLinkApplicationModel>

application/x-www-form-urlencoded

Sample:

Sample not available.

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.