PUT api/IntegrationTokens/{id}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
id

integer

Required

Body Parameters

IntegrationToken
NameDescriptionTypeAdditional information
Id

integer

None.

ClientId

integer

None.

AccessCode

string

None.

AuthToken

string

None.

RefreshToken

string

None.

Secret

string

None.

ExpirationValue

integer

None.

Url

string

None.

TokenCreation

date

None.

ValidFrom

date

None.

ValidTo

date

None.

Request Formats

application/json, text/json

Sample:
{
  "Id": 1,
  "ClientId": 2,
  "AccessCode": "sample string 3",
  "AuthToken": "sample string 4",
  "RefreshToken": "sample string 5",
  "Secret": "sample string 6",
  "ExpirationValue": 7,
  "Url": "sample string 8",
  "TokenCreation": "2024-04-18T21:35:37.3191708-05:00",
  "ValidFrom": "2024-04-18T21:35:37.3191708-05:00",
  "ValidTo": "2024-04-18T21:35:37.3191708-05:00"
}

application/xml, text/xml

Sample:
<IntegrationToken xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/OptiPort.Entities.Model">
  <AccessCode>sample string 3</AccessCode>
  <AuthToken>sample string 4</AuthToken>
  <ClientId>2</ClientId>
  <ExpirationValue>7</ExpirationValue>
  <Id>1</Id>
  <RefreshToken>sample string 5</RefreshToken>
  <Secret>sample string 6</Secret>
  <TokenCreation>2024-04-18T21:35:37.3191708-05:00</TokenCreation>
  <Url>sample string 8</Url>
  <ValidFrom>2024-04-18T21:35:37.3191708-05:00</ValidFrom>
  <ValidTo>2024-04-18T21:35:37.3191708-05:00</ValidTo>
</IntegrationToken>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

None.