POST api/FacebookToken/GetByParams

Request Information

URI Parameters

None.

Body Parameters

FacebookTokenModel
NameDescriptionTypeAdditional information
IdToken

integer

None.

AccessToken

string

None.

ScandenzaToken

date

None.

counter

integer

None.

Request Formats

application/json, text/json

Sample:
{
  "IdToken": 1,
  "AccessToken": "sample string 1",
  "ScandenzaToken": "2024-11-16T02:59:37.8375838+01:00",
  "counter": 1
}

application/xml, text/xml

Sample:
<FacebookTokenModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Inlinea.Astegiudiziarie.WebAPI.Models">
  <AccessToken>sample string 1</AccessToken>
  <IdToken>1</IdToken>
  <ScandenzaToken>2024-11-16T02:59:37.8375838+01:00</ScandenzaToken>
  <counter>1</counter>
</FacebookTokenModel>

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

Response Information

Resource Description

Collection of FacebookToken
NameDescriptionTypeAdditional information
IdToken

integer

None.

AccessToken

string

None.

ScandenzaToken

date

None.

Response Formats

application/json, text/json

Sample:
[
  {
    "IdToken": 1,
    "AccessToken": "sample string 2",
    "ScandenzaToken": "2024-11-16T02:59:37.8375838+01:00"
  },
  {
    "IdToken": 1,
    "AccessToken": "sample string 2",
    "ScandenzaToken": "2024-11-16T02:59:37.8375838+01:00"
  }
]

application/xml, text/xml

Sample:
<ArrayOfFacebookToken xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Inlinea.Astegiudiziarie.BL.Social">
  <FacebookToken>
    <AccessToken>sample string 2</AccessToken>
    <IdToken>1</IdToken>
    <ScandenzaToken>2024-11-16T02:59:37.8375838+01:00</ScandenzaToken>
  </FacebookToken>
  <FacebookToken>
    <AccessToken>sample string 2</AccessToken>
    <IdToken>1</IdToken>
    <ScandenzaToken>2024-11-16T02:59:37.8375838+01:00</ScandenzaToken>
  </FacebookToken>
</ArrayOfFacebookToken>