GET api/v7/HierarchyAgeCode/{hierarchyCode}

Retrieve the Unit of Measure information for given Hierarchy Code for current organization

Request Information

URI Parameters

NameDescriptionTypeRequired?Additional information
hierarchyCode *

The Hierarchy Code to search for Hierarchy-AgeCode

string

Yes

None.

Body Parameters

None.

Response Information

Resource Description

Hierarchy-AgeCode for given Hierarchy Code

Hierarchy-AgeCode Response
NameDescriptionType
HierarchyCode

The unique code to identify Hierarchy

string
AgeCodeName

The Unique Code to identify Age Code

string
BuyerAge

Age Limit restriction for buyer

integer
SellerAge

Age limit restriction for seller

integer
customerAuditDate

Last modified audit information

date

Response Formats

application/json, text/json

Sample:
{
  "HierarchyCode": "sample string 1",
  "AgeCodeName": "sample string 2",
  "BuyerAge": 3,
  "SellerAge": 4,
  "customerAuditDate": "2018-01-01T00:00:00"
}

application/xml, text/xml

Sample:
<HierarchyAgeCodeResponseDto xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
  <HierarchyCode>sample string 1</HierarchyCode>
  <AgeCodeName>sample string 2</AgeCodeName>
  <BuyerAge>3</BuyerAge>
  <SellerAge>4</SellerAge>
  <customerAuditDate>2018-01-01T00:00:00</customerAuditDate>
</HierarchyAgeCodeResponseDto>