$2 PX $7 6000000 Needio.Services

Needio.Services

<back to all web services

GetSmCategoryDetailRequest

The following routes are available for this service:
All Verbs/Sm/GetSmCategoryDetail/
GetSmCategoryDetailRequest Parameters:
NameParameterData TypeRequiredDescription
CodequerystringNo
CategoryIdqueryintNo
CTypequerySmCategoryTypeNo
BaseRequest Parameters:
NameParameterData TypeRequiredDescription
startformDateTimeNo
DeviceUUIDformstringNo
APIKeyformstringNo
GetSmCategoryDetailResponse Parameters:
NameParameterData TypeRequiredDescription
CategoryformSmCategoryMetaDTONo
BaseResponse Parameters:
NameParameterData TypeRequiredDescription
ResultformboolNo
ResMessageformstringNo
ErrorformErrorNo
PageInfoformBasePageInfoNo
Error Parameters:
NameParameterData TypeRequiredDescription
ErrorYnformboolNo
ErrorCodeformstringNo
ErrorDescriptionformstringNo
BasePageInfo Parameters:
NameParameterData TypeRequiredDescription
TotalRecordCountformintNo
TotalPageCountformintNo
CurrentPageformintNo
SmCategoryMetaDTO Parameters:
NameParameterData TypeRequiredDescription
CTypeformSmCategoryTypeNo
SearchYnformboolNo
OrderformintNo
NTypeformSmCategoryTypeNo
FriendlyURLformstringNo
SelectedformboolNo
SubCatsformList<SmCategoryMetaDTO>No
LevelformbyteNo
DeepestYnformbool?No
CountformintNo
SearchWeightformdecimal?No
SmCategoryInfoDTO Parameters:
NameParameterData TypeRequiredDescription
CategoryIdformintNo
NameformstringNo
CodeformstringNo
PIdformshort?No
ActiveYnformboolNo
TagsformstringNo
TitleformstringNo
KeywordsformstringNo
MetadataformstringNo
CategoryLabelformstringNo
SmCategoryType Enum:
NameValue
None0
PostType1
StoreCategory2
PostCategory3
Department11
Brand21
Model23
GetSmCategoryDetailResponse Parameters:
NameParameterData TypeRequiredDescription
CategoryformSmCategoryMetaDTONo

To override the Content-type in your clients, use the HTTP Accept Header, append the .xml suffix or ?format=xml

HTTP + XML

The following are sample HTTP requests and responses. The placeholders shown need to be replaced with actual values.

POST /Sm/GetSmCategoryDetail/ HTTP/1.1 
Host: baseservices.needion.com 
Accept: application/xml
Content-Type: application/xml
Content-Length: length

<GetSmCategoryDetailRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Needio.Services.ServiceModel.v2">
  <APIKey>String</APIKey>
  <DeviceUUID>String</DeviceUUID>
  <CType>None</CType>
  <CategoryId>0</CategoryId>
  <Code>String</Code>
</GetSmCategoryDetailRequest>
HTTP/1.1 200 OK
Content-Type: application/xml
Content-Length: length

<GetSmCategoryDetailResponse xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Needio.Services.ServiceModel.v2">
  <Error>
    <ErrorCode>String</ErrorCode>
    <ErrorDescription>String</ErrorDescription>
    <ErrorYn>false</ErrorYn>
  </Error>
  <PageInfo>
    <CurrentPage>0</CurrentPage>
    <TotalPageCount>0</TotalPageCount>
    <TotalRecordCount>0</TotalRecordCount>
  </PageInfo>
  <ResMessage>String</ResMessage>
  <Result>false</Result>
  <Category xmlns:d2p1="http://schemas.datacontract.org/2004/07/Needio.Services.ServiceModel.v2.Models">
    <d2p1:ActiveYn>false</d2p1:ActiveYn>
    <d2p1:CategoryId>0</d2p1:CategoryId>
    <d2p1:CategoryLabel>String</d2p1:CategoryLabel>
    <d2p1:Code>String</d2p1:Code>
    <d2p1:Keywords>String</d2p1:Keywords>
    <d2p1:Metadata>String</d2p1:Metadata>
    <d2p1:Name>String</d2p1:Name>
    <d2p1:PId>0</d2p1:PId>
    <d2p1:Tags>String</d2p1:Tags>
    <d2p1:Title>String</d2p1:Title>
    <d2p1:CType>None</d2p1:CType>
    <d2p1:Count>0</d2p1:Count>
    <d2p1:DeepestYn>false</d2p1:DeepestYn>
    <d2p1:FriendlyURL>String</d2p1:FriendlyURL>
    <d2p1:Level>0</d2p1:Level>
    <d2p1:NType>None</d2p1:NType>
    <d2p1:Order>0</d2p1:Order>
    <d2p1:SearchWeight>0</d2p1:SearchWeight>
    <d2p1:SearchYn>false</d2p1:SearchYn>
    <d2p1:Selected>false</d2p1:Selected>
    <d2p1:SubCats>
      <d2p1:SmCategoryMetaDTO>
        <d2p1:ActiveYn>false</d2p1:ActiveYn>
        <d2p1:CategoryId>0</d2p1:CategoryId>
        <d2p1:CategoryLabel>String</d2p1:CategoryLabel>
        <d2p1:Code>String</d2p1:Code>
        <d2p1:Keywords>String</d2p1:Keywords>
        <d2p1:Metadata>String</d2p1:Metadata>
        <d2p1:Name>String</d2p1:Name>
        <d2p1:PId>0</d2p1:PId>
        <d2p1:Tags>String</d2p1:Tags>
        <d2p1:Title>String</d2p1:Title>
        <d2p1:CType>None</d2p1:CType>
        <d2p1:Count>0</d2p1:Count>
        <d2p1:DeepestYn>false</d2p1:DeepestYn>
        <d2p1:FriendlyURL>String</d2p1:FriendlyURL>
        <d2p1:Level>0</d2p1:Level>
        <d2p1:NType>None</d2p1:NType>
        <d2p1:Order>0</d2p1:Order>
        <d2p1:SearchWeight>0</d2p1:SearchWeight>
        <d2p1:SearchYn>false</d2p1:SearchYn>
        <d2p1:Selected>false</d2p1:Selected>
        <d2p1:SubCats>
          <d2p1:SmCategoryMetaDTO>
            <d2p1:ActiveYn>false</d2p1:ActiveYn>
            <d2p1:CategoryId>0</d2p1:CategoryId>
            <d2p1:CategoryLabel>String</d2p1:CategoryLabel>
            <d2p1:Code>String</d2p1:Code>
            <d2p1:Keywords>String</d2p1:Keywords>
            <d2p1:Metadata>String</d2p1:Metadata>
            <d2p1:Name>String</d2p1:Name>
            <d2p1:PId>0</d2p1:PId>
            <d2p1:Tags>String</d2p1:Tags>
            <d2p1:Title>String</d2p1:Title>
            <d2p1:CType>None</d2p1:CType>
            <d2p1:Count>0</d2p1:Count>
            <d2p1:DeepestYn>false</d2p1:DeepestYn>
            <d2p1:FriendlyURL>String</d2p1:FriendlyURL>
            <d2p1:Level>0</d2p1:Level>
            <d2p1:NType>None</d2p1:NType>
            <d2p1:Order>0</d2p1:Order>
            <d2p1:SearchWeight>0</d2p1:SearchWeight>
            <d2p1:SearchYn>false</d2p1:SearchYn>
            <d2p1:Selected>false</d2p1:Selected>
            <d2p1:SubCats>
              <d2p1:SmCategoryMetaDTO i:nil="true" />
            </d2p1:SubCats>
          </d2p1:SmCategoryMetaDTO>
        </d2p1:SubCats>
      </d2p1:SmCategoryMetaDTO>
    </d2p1:SubCats>
  </Category>
</GetSmCategoryDetailResponse>