POST api/Gallery/Authentication

Request Information

URI Parameters

None.

Body Parameters

GalleryAuthenticationRequestModel
NameDescriptionTypeAdditional information
GalleryCode

string

Required

Apikey

string

Required

GalleryPassword

string

None.

Request Formats

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

Sample:
{
  "galleryCode": "sample string 1",
  "apikey": "sample string 2",
  "galleryPassword": "sample string 3"
}

application/xml, text/xml

Sample:
<GalleryAuthenticationRequestModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/NFTWardsV2.Core.RequestModel">
  <Apikey>sample string 2</Apikey>
  <GalleryCode>sample string 1</GalleryCode>
  <GalleryPassword>sample string 3</GalleryPassword>
</GalleryAuthenticationRequestModel>

multipart/form-data

Sample:
<GalleryAuthenticationRequestModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/NFTWardsV2.Core.RequestModel"><Apikey>sample string 2</Apikey><GalleryCode>sample string 1</GalleryCode><GalleryPassword>sample string 3</GalleryPassword></GalleryAuthenticationRequestModel>

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

Response Information

Resource Description

GalleryAuthenticationResponseModel
NameDescriptionTypeAdditional information
IsAuthenticationSuccess

boolean

None.

AuthenticationSuccessMessage

string

None.

GalleryAuthentication

Collection of GalleryAuthenticationDataModel

None.

ReturnID

integer

Required

Message

string

Required

Successful

boolean

Required

Code

integer

None.

TotalRecord

integer

None.

Response Formats

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

Sample:
{
  "isAuthenticationSuccess": true,
  "authenticationSuccessMessage": "sample string 2",
  "galleryAuthentication": [
    {
      "galleryID": 1,
      "collectionID": 2,
      "collectionName": "sample string 3",
      "description": "sample string 4",
      "domainName": "sample string 5",
      "customDomainName": "sample string 6",
      "authorID": 7,
      "authorName": "sample string 8",
      "isCreatedByCustomer": true,
      "isPrivate": 10,
      "storeName": "sample string 11",
      "marketplaceName": "sample string 12",
      "storeLogoUrl": "sample string 13",
      "marketplaceLogoUrl": "sample string 14",
      "galleryCode": "sample string 15",
      "galleryIndustryTypeID": 16,
      "wallCount": 17,
      "adsBoxCount": 18,
      "galleryName": "sample string 19",
      "storeID": 20,
      "marketplaceID": 21
    },
    {
      "galleryID": 1,
      "collectionID": 2,
      "collectionName": "sample string 3",
      "description": "sample string 4",
      "domainName": "sample string 5",
      "customDomainName": "sample string 6",
      "authorID": 7,
      "authorName": "sample string 8",
      "isCreatedByCustomer": true,
      "isPrivate": 10,
      "storeName": "sample string 11",
      "marketplaceName": "sample string 12",
      "storeLogoUrl": "sample string 13",
      "marketplaceLogoUrl": "sample string 14",
      "galleryCode": "sample string 15",
      "galleryIndustryTypeID": 16,
      "wallCount": 17,
      "adsBoxCount": 18,
      "galleryName": "sample string 19",
      "storeID": 20,
      "marketplaceID": 21
    }
  ],
  "returnID": 3,
  "message": "sample string 4",
  "successful": true,
  "code": 6,
  "totalRecord": 7
}

application/xml, text/xml

Sample:
<GalleryAuthenticationResponseModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/NFTWardsV2.Core.DataModel">
  <Code xmlns="http://schemas.datacontract.org/2004/07/NFTWards.Core.DataModel">6</Code>
  <Message xmlns="http://schemas.datacontract.org/2004/07/NFTWards.Core.DataModel">sample string 4</Message>
  <ReturnID xmlns="http://schemas.datacontract.org/2004/07/NFTWards.Core.DataModel">3</ReturnID>
  <Successful xmlns="http://schemas.datacontract.org/2004/07/NFTWards.Core.DataModel">true</Successful>
  <TotalRecord xmlns="http://schemas.datacontract.org/2004/07/NFTWards.Core.DataModel">7</TotalRecord>
  <AuthenticationSuccessMessage>sample string 2</AuthenticationSuccessMessage>
  <GalleryAuthentication>
    <GalleryAuthenticationDataModel>
      <AdsBoxCount>18</AdsBoxCount>
      <AuthorID>7</AuthorID>
      <AuthorName>sample string 8</AuthorName>
      <CollectionID>2</CollectionID>
      <CollectionName>sample string 3</CollectionName>
      <CustomDomainName>sample string 6</CustomDomainName>
      <Description>sample string 4</Description>
      <DomainName>sample string 5</DomainName>
      <GalleryCode>sample string 15</GalleryCode>
      <GalleryID>1</GalleryID>
      <GalleryIndustryTypeID>16</GalleryIndustryTypeID>
      <GalleryName>sample string 19</GalleryName>
      <IsCreatedByCustomer>true</IsCreatedByCustomer>
      <IsPrivate>10</IsPrivate>
      <MarketplaceID>21</MarketplaceID>
      <MarketplaceLogoUrl>sample string 14</MarketplaceLogoUrl>
      <MarketplaceName>sample string 12</MarketplaceName>
      <StoreID>20</StoreID>
      <StoreLogoUrl>sample string 13</StoreLogoUrl>
      <StoreName>sample string 11</StoreName>
      <WallCount>17</WallCount>
    </GalleryAuthenticationDataModel>
    <GalleryAuthenticationDataModel>
      <AdsBoxCount>18</AdsBoxCount>
      <AuthorID>7</AuthorID>
      <AuthorName>sample string 8</AuthorName>
      <CollectionID>2</CollectionID>
      <CollectionName>sample string 3</CollectionName>
      <CustomDomainName>sample string 6</CustomDomainName>
      <Description>sample string 4</Description>
      <DomainName>sample string 5</DomainName>
      <GalleryCode>sample string 15</GalleryCode>
      <GalleryID>1</GalleryID>
      <GalleryIndustryTypeID>16</GalleryIndustryTypeID>
      <GalleryName>sample string 19</GalleryName>
      <IsCreatedByCustomer>true</IsCreatedByCustomer>
      <IsPrivate>10</IsPrivate>
      <MarketplaceID>21</MarketplaceID>
      <MarketplaceLogoUrl>sample string 14</MarketplaceLogoUrl>
      <MarketplaceName>sample string 12</MarketplaceName>
      <StoreID>20</StoreID>
      <StoreLogoUrl>sample string 13</StoreLogoUrl>
      <StoreName>sample string 11</StoreName>
      <WallCount>17</WallCount>
    </GalleryAuthenticationDataModel>
  </GalleryAuthentication>
  <IsAuthenticationSuccess>true</IsAuthenticationSuccess>
</GalleryAuthenticationResponseModel>

multipart/form-data

Sample:
<GalleryAuthenticationResponseModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/NFTWardsV2.Core.DataModel"><Code xmlns="http://schemas.datacontract.org/2004/07/NFTWards.Core.DataModel">6</Code><Message xmlns="http://schemas.datacontract.org/2004/07/NFTWards.Core.DataModel">sample string 4</Message><ReturnID xmlns="http://schemas.datacontract.org/2004/07/NFTWards.Core.DataModel">3</ReturnID><Successful xmlns="http://schemas.datacontract.org/2004/07/NFTWards.Core.DataModel">true</Successful><TotalRecord xmlns="http://schemas.datacontract.org/2004/07/NFTWards.Core.DataModel">7</TotalRecord><AuthenticationSuccessMessage>sample string 2</AuthenticationSuccessMessage><GalleryAuthentication><GalleryAuthenticationDataModel><AdsBoxCount>18</AdsBoxCount><AuthorID>7</AuthorID><AuthorName>sample string 8</AuthorName><CollectionID>2</CollectionID><CollectionName>sample string 3</CollectionName><CustomDomainName>sample string 6</CustomDomainName><Description>sample string 4</Description><DomainName>sample string 5</DomainName><GalleryCode>sample string 15</GalleryCode><GalleryID>1</GalleryID><GalleryIndustryTypeID>16</GalleryIndustryTypeID><GalleryName>sample string 19</GalleryName><IsCreatedByCustomer>true</IsCreatedByCustomer><IsPrivate>10</IsPrivate><MarketplaceID>21</MarketplaceID><MarketplaceLogoUrl>sample string 14</MarketplaceLogoUrl><MarketplaceName>sample string 12</MarketplaceName><StoreID>20</StoreID><StoreLogoUrl>sample string 13</StoreLogoUrl><StoreName>sample string 11</StoreName><WallCount>17</WallCount></GalleryAuthenticationDataModel><GalleryAuthenticationDataModel><AdsBoxCount>18</AdsBoxCount><AuthorID>7</AuthorID><AuthorName>sample string 8</AuthorName><CollectionID>2</CollectionID><CollectionName>sample string 3</CollectionName><CustomDomainName>sample string 6</CustomDomainName><Description>sample string 4</Description><DomainName>sample string 5</DomainName><GalleryCode>sample string 15</GalleryCode><GalleryID>1</GalleryID><GalleryIndustryTypeID>16</GalleryIndustryTypeID><GalleryName>sample string 19</GalleryName><IsCreatedByCustomer>true</IsCreatedByCustomer><IsPrivate>10</IsPrivate><MarketplaceID>21</MarketplaceID><MarketplaceLogoUrl>sample string 14</MarketplaceLogoUrl><MarketplaceName>sample string 12</MarketplaceName><StoreID>20</StoreID><StoreLogoUrl>sample string 13</StoreLogoUrl><StoreName>sample string 11</StoreName><WallCount>17</WallCount></GalleryAuthenticationDataModel></GalleryAuthentication><IsAuthenticationSuccess>true</IsAuthenticationSuccess></GalleryAuthenticationResponseModel>