GET api/ApplicationTokens?portalId={portalId}

Retrieves a list of Application Tokensassociated with the contact with the specified portal id.
Possible Service Responses:
200/OK - match found and the list of application token records is in the body of the response.
404/Contact Not Found - no match found for the specified portal id.
404/Application Token Not Found - no application tokens found for the specified contact.
500/Internal Server - unexpected server error, details in the body of the response.

Request Information

URI Parameters

NameDescriptionTypeAdditional information
portalId

The portal id of a contact record

System.String

Required

Body Parameters

None.

Response Information

Resource Description

IEnumerable of type ApplicationToken

System.Collections.Generic.IEnumerable`1[Altai.Web.Services.Models.ApplicationToken]
NameDescriptionTypeAdditional information
Id

System.String

None.

ApplicationName

System.String

None.

Token

System.String

None.

Status

System.String

None.

Response Formats

application/json, text/json

Sample:
[
  {
    "Id": "sample string 1",
    "ApplicationName": "sample string 2",
    "Token": "sample string 3",
    "Status": "sample string 4"
  },
  {
    "Id": "sample string 1",
    "ApplicationName": "sample string 2",
    "Token": "sample string 3",
    "Status": "sample string 4"
  }
]

application/xml, text/xml

Sample:
<ArrayOfApplicationToken xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Altai.Web.Services.Models">
  <ApplicationToken>
    <ApplicationName>sample string 2</ApplicationName>
    <Id>sample string 1</Id>
    <Status>sample string 4</Status>
    <Token>sample string 3</Token>
  </ApplicationToken>
  <ApplicationToken>
    <ApplicationName>sample string 2</ApplicationName>
    <Id>sample string 1</Id>
    <Status>sample string 4</Status>
    <Token>sample string 3</Token>
  </ApplicationToken>
</ArrayOfApplicationToken>