GET api/product/tags?productId={productId}

Returns tags for product

Request Information

URI Parameters

NameDescriptionTypeAdditional information
productId

globally unique identifier

Required

Body Parameters

None.

Response Information

Resource Description

ApiCollectionResponseOfGetProductTagResponse
NameDescriptionTypeAdditional information
PageSize

integer

None.

PageIndex

integer

None.

Total

integer

None.

SearchBy

Collection of Filter

None.

SortBy

Collection of Sort

None.

Data

Collection of GetProductTagResponse

None.

Errors

Collection of string

None.

Response Formats

application/json, text/json

Sample:
{
  "PageSize": 1,
  "PageIndex": 2,
  "Total": 3,
  "SearchBy": [
    {
      "Key": "sample string 1",
      "Value": {},
      "Type": 0
    },
    {
      "Key": "sample string 1",
      "Value": {},
      "Type": 0
    }
  ],
  "SortBy": [
    {
      "Key": "sample string 1",
      "Order": 0
    },
    {
      "Key": "sample string 1",
      "Order": 0
    }
  ],
  "Data": [
    {
      "ProductId": "05de5f7b-e625-4ce1-8b90-ecd8487e07a5",
      "ProductName": "sample string 2",
      "Id": "03e67d4b-6777-4bdf-a301-685e7b25dc8a",
      "Name": "sample string 4",
      "Description": "sample string 5",
      "TypeName": "sample string 6",
      "SystemType": 7,
      "Color": "sample string 8"
    },
    {
      "ProductId": "05de5f7b-e625-4ce1-8b90-ecd8487e07a5",
      "ProductName": "sample string 2",
      "Id": "03e67d4b-6777-4bdf-a301-685e7b25dc8a",
      "Name": "sample string 4",
      "Description": "sample string 5",
      "TypeName": "sample string 6",
      "SystemType": 7,
      "Color": "sample string 8"
    }
  ],
  "Errors": [
    "sample string 1",
    "sample string 2"
  ]
}

application/xml, text/xml

Sample:
<ApiCollectionResponseOfGetProductTagResponseDsKk7tZE xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Alice.Dto.Core">
  <Data xmlns:d2p1="http://schemas.datacontract.org/2004/07/Alice.Dto.Responses.Tags">
    <d2p1:GetProductTagResponse>
      <d2p1:Color>sample string 8</d2p1:Color>
      <d2p1:Description>sample string 5</d2p1:Description>
      <d2p1:Id>03e67d4b-6777-4bdf-a301-685e7b25dc8a</d2p1:Id>
      <d2p1:Name>sample string 4</d2p1:Name>
      <d2p1:SystemType>7</d2p1:SystemType>
      <d2p1:TypeName>sample string 6</d2p1:TypeName>
      <d2p1:ProductId>05de5f7b-e625-4ce1-8b90-ecd8487e07a5</d2p1:ProductId>
      <d2p1:ProductName>sample string 2</d2p1:ProductName>
    </d2p1:GetProductTagResponse>
    <d2p1:GetProductTagResponse>
      <d2p1:Color>sample string 8</d2p1:Color>
      <d2p1:Description>sample string 5</d2p1:Description>
      <d2p1:Id>03e67d4b-6777-4bdf-a301-685e7b25dc8a</d2p1:Id>
      <d2p1:Name>sample string 4</d2p1:Name>
      <d2p1:SystemType>7</d2p1:SystemType>
      <d2p1:TypeName>sample string 6</d2p1:TypeName>
      <d2p1:ProductId>05de5f7b-e625-4ce1-8b90-ecd8487e07a5</d2p1:ProductId>
      <d2p1:ProductName>sample string 2</d2p1:ProductName>
    </d2p1:GetProductTagResponse>
  </Data>
  <Errors xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
    <d2p1:string>sample string 1</d2p1:string>
    <d2p1:string>sample string 2</d2p1:string>
  </Errors>
  <PageIndex>2</PageIndex>
  <PageSize>1</PageSize>
  <SearchBy>
    <Filter>
      <Key>sample string 1</Key>
      <Type>None</Type>
      <Value />
    </Filter>
    <Filter>
      <Key>sample string 1</Key>
      <Type>None</Type>
      <Value />
    </Filter>
  </SearchBy>
  <SortBy>
    <Sort>
      <Key>sample string 1</Key>
      <Order>None</Order>
    </Sort>
    <Sort>
      <Key>sample string 1</Key>
      <Order>None</Order>
    </Sort>
  </SortBy>
  <Total>3</Total>
</ApiCollectionResponseOfGetProductTagResponseDsKk7tZE>