GET api/SetupSaiAccountPackage/GetTokenDetails/{accountId}/{companyId}/{SelectedAccountPackage}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
accountId

integer

Required

companyId

string

Required

SelectedAccountPackage

string

Required

Body Parameters

None.

Response Information

Resource Description

SetupSaiAccountPackageCredentials
NameDescriptionTypeAdditional information
AccountId

integer

None.

CompanyId

string

None.

ApplicationToken

string

None.

ConsumerKey

string

None.

ConsumerSecret

string

None.

SelectedAccountPackage

string

None.

WebhooksVerifier

string

None.

OAuthType

string

None.

ClientID

string

None.

ClientSecret

string

None.

Code

string

None.

State

string

None.

RefreshToken

string

None.

ItemCategoryEnabled

string

None.

SenderId

string

None.

SenderPassword

string

None.

UserId

string

None.

UserPassword

string

None.

SageIntacctCompanyId

string

None.

Response Formats

application/json, text/json

Sample:
{
  "AccountId": 1,
  "CompanyId": "sample string 2",
  "ApplicationToken": "sample string 3",
  "ConsumerKey": "sample string 4",
  "ConsumerSecret": "sample string 5",
  "SelectedAccountPackage": "sample string 6",
  "WebhooksVerifier": "sample string 7",
  "OAuthType": "sample string 8",
  "ClientID": "sample string 9",
  "ClientSecret": "sample string 10",
  "Code": "sample string 11",
  "State": "sample string 12",
  "RefreshToken": "sample string 13",
  "ItemCategoryEnabled": "sample string 14",
  "SenderId": "sample string 15",
  "SenderPassword": "sample string 16",
  "UserId": "sample string 17",
  "UserPassword": "sample string 18",
  "SageIntacctCompanyId": "sample string 19"
}

application/xml, text/xml

Sample:
<SetupSaiAccountPackageCredentials xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/SAWinProV4.Model.DTO.AccountSpecific.Setup.AccountPackages">
  <AccountId>1</AccountId>
  <ApplicationToken>sample string 3</ApplicationToken>
  <ClientID>sample string 9</ClientID>
  <ClientSecret>sample string 10</ClientSecret>
  <Code>sample string 11</Code>
  <CompanyId>sample string 2</CompanyId>
  <ConsumerKey>sample string 4</ConsumerKey>
  <ConsumerSecret>sample string 5</ConsumerSecret>
  <ItemCategoryEnabled>sample string 14</ItemCategoryEnabled>
  <OAuthType>sample string 8</OAuthType>
  <RefreshToken>sample string 13</RefreshToken>
  <SageIntacctCompanyId>sample string 19</SageIntacctCompanyId>
  <SelectedAccountPackage>sample string 6</SelectedAccountPackage>
  <SenderId>sample string 15</SenderId>
  <SenderPassword>sample string 16</SenderPassword>
  <State>sample string 12</State>
  <UserId>sample string 17</UserId>
  <UserPassword>sample string 18</UserPassword>
  <WebhooksVerifier>sample string 7</WebhooksVerifier>
</SetupSaiAccountPackageCredentials>