POST api/APIAuthenticate

Request Information

URI Parameters

None.

Body Parameters

AuthenticateRequestModel
NameDescriptionTypeAdditional information
Username

string

Required

Password

string

Required

APIKey

string

None.

DeviceType

string

None.

VOIPToken

string

None.

APNSToken

string

None.

FCNToken

string

None.

StoreID

integer

None.

MarketplaceID

integer

None.

Request Formats

application/json, text/json, text/plain, text/html

Sample:
{
  "username": "sample string 1",
  "password": "sample string 2",
  "apiKey": "sample string 3",
  "deviceType": "sample string 4",
  "voipToken": "sample string 5",
  "apnsToken": "sample string 6",
  "fcnToken": "sample string 7",
  "storeID": 1,
  "marketplaceID": 1
}

application/xml, text/xml

Sample:
<AuthenticateRequestModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/NFTWards.Core.RequestModel">
  <APIKey>sample string 3</APIKey>
  <APNSToken>sample string 6</APNSToken>
  <DeviceType>sample string 4</DeviceType>
  <FCNToken>sample string 7</FCNToken>
  <MarketplaceID>1</MarketplaceID>
  <Password>sample string 2</Password>
  <StoreID>1</StoreID>
  <Username>sample string 1</Username>
  <VOIPToken>sample string 5</VOIPToken>
</AuthenticateRequestModel>

multipart/form-data

Sample:
<AuthenticateRequestModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/NFTWards.Core.RequestModel"><APIKey>sample string 3</APIKey><APNSToken>sample string 6</APNSToken><DeviceType>sample string 4</DeviceType><FCNToken>sample string 7</FCNToken><MarketplaceID>1</MarketplaceID><Password>sample string 2</Password><StoreID>1</StoreID><Username>sample string 1</Username><VOIPToken>sample string 5</VOIPToken></AuthenticateRequestModel>

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

Response Information

Resource Description

AuthenticateDataModel
NameDescriptionTypeAdditional information
ResponseToken

string

None.

RefreshToken

string

None.

UserName

string

None.

FirstName

string

None.

LastName

string

None.

UserType

string

None.

UserCode

string

None.

UserID

integer

None.

Store

Collection of StoreAuth

None.

Marketplace

Collection of MarketplaceAuth

None.

CustodialWalletAddress

string

None.

isCustodialWalletEnabled

string

None.

ProfilePicturePath

string

None.

Response Formats

application/json, text/json, text/plain, text/html

Sample:
{
  "responseToken": "sample string 1",
  "refreshToken": "sample string 2",
  "userName": "sample string 3",
  "firstName": "sample string 4",
  "lastName": "sample string 5",
  "userType": "sample string 6",
  "userCode": "sample string 7",
  "userID": 8,
  "store": [
    {
      "storeName": "sample string 1",
      "storeID": "sample string 2",
      "subscriberID": 3,
      "type": "sample string 4",
      "themeIndex": 5,
      "themeName": "sample string 6",
      "domainName": "sample string 7",
      "subDomainName": "sample string 8",
      "customDomain": "sample string 9"
    },
    {
      "storeName": "sample string 1",
      "storeID": "sample string 2",
      "subscriberID": 3,
      "type": "sample string 4",
      "themeIndex": 5,
      "themeName": "sample string 6",
      "domainName": "sample string 7",
      "subDomainName": "sample string 8",
      "customDomain": "sample string 9"
    }
  ],
  "marketplace": [
    {
      "marketplaceName": "sample string 1",
      "marketplaceID": "sample string 2",
      "subscriberID": 3,
      "type": "sample string 4",
      "themeIndex": 5,
      "themeName": "sample string 6",
      "domainName": "sample string 7",
      "subDomainName": "sample string 8",
      "customDomain": "sample string 9"
    },
    {
      "marketplaceName": "sample string 1",
      "marketplaceID": "sample string 2",
      "subscriberID": 3,
      "type": "sample string 4",
      "themeIndex": 5,
      "themeName": "sample string 6",
      "domainName": "sample string 7",
      "subDomainName": "sample string 8",
      "customDomain": "sample string 9"
    }
  ],
  "custodialWalletAddress": "sample string 9",
  "isCustodialWalletEnabled": "sample string 10",
  "profilePicturePath": "sample string 11"
}

application/xml, text/xml

Sample:
<AuthenticateDataModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/NFTWards.Core.DataModel">
  <CustodialWalletAddress>sample string 9</CustodialWalletAddress>
  <FirstName>sample string 4</FirstName>
  <LastName>sample string 5</LastName>
  <Marketplace>
    <MarketplaceAuth>
      <CustomDomain>sample string 9</CustomDomain>
      <DomainName>sample string 7</DomainName>
      <MarketplaceID>sample string 2</MarketplaceID>
      <MarketplaceName>sample string 1</MarketplaceName>
      <SubDomainName>sample string 8</SubDomainName>
      <SubscriberID>3</SubscriberID>
      <ThemeIndex>5</ThemeIndex>
      <ThemeName>sample string 6</ThemeName>
      <Type>sample string 4</Type>
    </MarketplaceAuth>
    <MarketplaceAuth>
      <CustomDomain>sample string 9</CustomDomain>
      <DomainName>sample string 7</DomainName>
      <MarketplaceID>sample string 2</MarketplaceID>
      <MarketplaceName>sample string 1</MarketplaceName>
      <SubDomainName>sample string 8</SubDomainName>
      <SubscriberID>3</SubscriberID>
      <ThemeIndex>5</ThemeIndex>
      <ThemeName>sample string 6</ThemeName>
      <Type>sample string 4</Type>
    </MarketplaceAuth>
  </Marketplace>
  <ProfilePicturePath>sample string 11</ProfilePicturePath>
  <RefreshToken>sample string 2</RefreshToken>
  <ResponseToken>sample string 1</ResponseToken>
  <Store>
    <StoreAuth>
      <CustomDomain>sample string 9</CustomDomain>
      <DomainName>sample string 7</DomainName>
      <StoreID>sample string 2</StoreID>
      <StoreName>sample string 1</StoreName>
      <SubDomainName>sample string 8</SubDomainName>
      <SubscriberID>3</SubscriberID>
      <ThemeIndex>5</ThemeIndex>
      <ThemeName>sample string 6</ThemeName>
      <Type>sample string 4</Type>
    </StoreAuth>
    <StoreAuth>
      <CustomDomain>sample string 9</CustomDomain>
      <DomainName>sample string 7</DomainName>
      <StoreID>sample string 2</StoreID>
      <StoreName>sample string 1</StoreName>
      <SubDomainName>sample string 8</SubDomainName>
      <SubscriberID>3</SubscriberID>
      <ThemeIndex>5</ThemeIndex>
      <ThemeName>sample string 6</ThemeName>
      <Type>sample string 4</Type>
    </StoreAuth>
  </Store>
  <UserCode>sample string 7</UserCode>
  <UserID>8</UserID>
  <UserName>sample string 3</UserName>
  <UserType>sample string 6</UserType>
  <isCustodialWalletEnabled>sample string 10</isCustodialWalletEnabled>
</AuthenticateDataModel>

multipart/form-data

Sample:
<AuthenticateDataModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/NFTWards.Core.DataModel"><CustodialWalletAddress>sample string 9</CustodialWalletAddress><FirstName>sample string 4</FirstName><LastName>sample string 5</LastName><Marketplace><MarketplaceAuth><CustomDomain>sample string 9</CustomDomain><DomainName>sample string 7</DomainName><MarketplaceID>sample string 2</MarketplaceID><MarketplaceName>sample string 1</MarketplaceName><SubDomainName>sample string 8</SubDomainName><SubscriberID>3</SubscriberID><ThemeIndex>5</ThemeIndex><ThemeName>sample string 6</ThemeName><Type>sample string 4</Type></MarketplaceAuth><MarketplaceAuth><CustomDomain>sample string 9</CustomDomain><DomainName>sample string 7</DomainName><MarketplaceID>sample string 2</MarketplaceID><MarketplaceName>sample string 1</MarketplaceName><SubDomainName>sample string 8</SubDomainName><SubscriberID>3</SubscriberID><ThemeIndex>5</ThemeIndex><ThemeName>sample string 6</ThemeName><Type>sample string 4</Type></MarketplaceAuth></Marketplace><ProfilePicturePath>sample string 11</ProfilePicturePath><RefreshToken>sample string 2</RefreshToken><ResponseToken>sample string 1</ResponseToken><Store><StoreAuth><CustomDomain>sample string 9</CustomDomain><DomainName>sample string 7</DomainName><StoreID>sample string 2</StoreID><StoreName>sample string 1</StoreName><SubDomainName>sample string 8</SubDomainName><SubscriberID>3</SubscriberID><ThemeIndex>5</ThemeIndex><ThemeName>sample string 6</ThemeName><Type>sample string 4</Type></StoreAuth><StoreAuth><CustomDomain>sample string 9</CustomDomain><DomainName>sample string 7</DomainName><StoreID>sample string 2</StoreID><StoreName>sample string 1</StoreName><SubDomainName>sample string 8</SubDomainName><SubscriberID>3</SubscriberID><ThemeIndex>5</ThemeIndex><ThemeName>sample string 6</ThemeName><Type>sample string 4</Type></StoreAuth></Store><UserCode>sample string 7</UserCode><UserID>8</UserID><UserName>sample string 3</UserName><UserType>sample string 6</UserType><isCustodialWalletEnabled>sample string 10</isCustodialWalletEnabled></AuthenticateDataModel>