Read Product Category
Retrieves the details of a Contact object that has been previously created.
Parameters
| Path Params | |
|---|---|
| yourCompany: | string | 
| Query Params | |
|---|---|
| filter: | string 
 https://xyzcompany.agiliron.net/agiliron/api-40/Products?filter=CategoryName,eq,Laptop&key=xyzkey 
 https://xyzcompany.agiliron.net/agiliron/api-40/ProductsCategory?filter=CategoryName,eq,Brands OR Hardware&key=xyzkey List of condition abbrevations to be used: | 
| showImageData: | string 
 | 
| page: | int | 
| pageSize: | int | 
| Header Params | |
|---|---|
| Accept: | string | 
| Query Auth | |
|---|---|
| key: | string | 
| Header Auth | |
|---|---|
| apiKey: | string | 
Sample Code
{
	"Categories": {
		"Category": [{
			"CategoryId": "924",
			"SortOrderId": "924",
			"CategoryName": "HP",
			"ChannelDisplayOrder": "924",
			"ParentCategory": "Laptop",
			"CategoryDescription": "Category description goes here",
			"SeoTitle": "Seo title goes here",
			"SeoDescription": "Seo description goes here",
			"SeoKeywords": "Seo keywords goes here"
		}
	}],
		"TotalRecords": "1",
		"CurrentPage": "1",
		"TotalPages": "1",
		"PageSize": "50"
	}
}<Categories>
    <Category>
        <CategoryId>924</CategoryId>
        <SortOrderId>924</SortOrderId>
        <CategoryName>HP</CategoryName>
        <ChannelDisplayOrder>924</ChannelDisplayOrder>
        <ParentCategory>Laptop</ParentCategory>
        <CategoryDescription>Category description goes here</CategoryDescription>
        <SeoTitle>Seo title goes here</SeoTitle>
        <SeoDescription>Seo description goes here</SeoDescription>
        <SeoKeywords>Seo keywords goes here</SeoKeywords>
    </Category>
    <TotalRecords>1</TotalRecords>
    <CurrentPage>1</CurrentPage>
    <TotalPages>1</TotalPages>
    <PageSize>50</PageSize>
</Categories>WADL
<?xml version="1.0" encoding="utf-8"?>
<application>
   <resources base="https://{yourCompany}.agiliron.net/agiliron/api-40/">
     <resource path="ProductsCategory"> 
       <method name="GET">
	   <resource path="{CategoryName}">
         <request>
           <param name="key" type="xsd:string" style="query" required="true"/>
         </request> 
         <response status="200"> 
            <representation mediaType="application/xml" element="yn:ResultSet"/> 
         </response> 
         <response status="400"> 
            <representation mediaType="application/xml" element="ya:Error"/> 
         </response> 
       </method> 
     </resource> 
   </resources>
 </application>Updated 5 months ago
