POST api/v2/Version2.RefreshKey

Request Information

URI Parameters

NameDescriptionTypeAdditional information
version

string

None.

Body Parameters

RefreshKeyInputModel
NameDescriptionTypeAdditional information
LoginUserID

string

None.

DeviceToken

string

None.

AuthenticationKey

string

None.

Request Formats

application/json, text/json

Sample:
{
  "LoginUserID": "sample string 1",
  "DeviceToken": "sample string 2",
  "AuthenticationKey": "sample string 3"
}

application/xml, text/xml

Sample:
<MCObjects.RefreshKeyInputModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/MC.Entity.v2">
  <AuthenticationKey>sample string 3</AuthenticationKey>
  <DeviceToken>sample string 2</DeviceToken>
  <LoginUserID>sample string 1</LoginUserID>
</MCObjects.RefreshKeyInputModel>

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 'RefreshKeyInputModel'.

Response Information

Resource Description

RefreshKeyResult
NameDescriptionTypeAdditional information
Result

string

None.

MessageCode

string

None.

AuthenticationKey

string

None.

Response Formats

application/json, text/json

Sample:
{
  "Result": "sample string 1",
  "MessageCode": "sample string 2",
  "AuthenticationKey": "sample string 3"
}

application/xml, text/xml

Sample:
<MCObjects.RefreshKeyResult xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/MC.Entity.v2">
  <AuthenticationKey>sample string 3</AuthenticationKey>
  <MessageCode>sample string 2</MessageCode>
  <Result>sample string 1</Result>
</MCObjects.RefreshKeyResult>