ApexERPHost

<back to all web services

GetGoodByCBCode

Requires Authentication
The following routes are available for this service:
GET/Common/Dictionary/Goods/ByCBCode/{CBCode}
GetGoodByCBCode Parameters:
NameParameterData TypeRequiredDescription
CBCodepathstringNo
IncludeExtendedInfoquerybool?No
GetGoodByCBCodeResponse Parameters:
NameParameterData TypeRequiredDescription
ResponseStatusformResponseStatusNo
ResultformList<Good>No
Good Parameters:
NameParameterData TypeRequiredDescription
IDformstringNo
BCodeformstringNo
BBCodeformstringNo
InCodeformstringNo
NameformstringNo
NameEnformstringNo
PackBCountformdecimalNo
PackCountformshortNo
NettoformdecimalNo
ByWeightformbyteNo
CategoryIDformstringNo
CategoryformGoodCategoryNo
PPCatIDformstringNo
PCatIDformint?No
ProducerIDformstringNo
ProducerformProducerNo
VatformdecimalNo
LifeDaysformint?No
UnitformstringNo
ParentIDformstringNo
MaxDiscountformdecimal?No
IsImportedformboolNo
DimensionsformProdDimensionsNo
PackCCountformint?No
PDoseformstringNo
IntCodeIDformstringNo
IntCodeformIntCodeNo
ExciseIDformint?No
Exciseformdecimal?No
DestNumberformstringNo
PackTypeIDformint?No
PriceGRformdecimalNo
PriceGTformdecimalNo
Spendformbool?No
VatTypeformintNo
ExtendedInfoformGoodExtendedInfoNo
BarCodesformList<PPBCode>No
TypeformGoodTypeNo
HCategoryformHCategoryNo
BruttoformdecimalNo
SpendRformboolNo
PriceURformdecimal?No
PriceUTformdecimal?No
MDRetailformdecimal?No
MDTradeformdecimal?No
SupDaysformint?No
PrStatusformbool?No
LNotInPriceformbool?No
MinCountTradeformint?No
MinCountRetailformint?No
RegNformstringNo
RegDateformDateTime?No
RegEndDateformDateTime?No
HasSpecformboolNo
ReCalcformboolNo
ExciseCformdecimal?No
IsLinkedformboolNo
UnitIdformint?No
PPCatNameformstringNo
ImagesformList<ProdImage>No
CBCodeformstringNo
ScaleGroupformint?No
BrandformBrandNo
AttributesformDictionary<string, string>No
GoodCategory Parameters:
NameParameterData TypeRequiredDescription
CategoryIDformstringNo
CategoryCodeformstringNo
CategoryNameformstringNo
SpendformboolNo
Producer Parameters:
NameParameterData TypeRequiredDescription
ProducerIDformstringNo
ProducerNameformstringNo
CountryIdformstringNo
LOwnformboolNo
SpeendformboolNo
ProducerNameEnglishformstringNo
AddressformstringNo
PostalCodeformstringNo
PhoneformstringNo
FaxformstringNo
PersonformstringNo
EmailformstringNo
LdefaultformboolNo
MrgIdformint?No
CountryformCountryNo
ProducerCountryformstringNo
Country Parameters:
NameParameterData TypeRequiredDescription
CountryIdformstringNoCountry id
CountryNeformstringNoName (Eng)
LDefaultformboolNoDefault Country for Use
Spendformbool?NoRecord for Use - 0 ; Record Blocked for Use - 1
CountryNuformstringNoName (Geo Unicode)
ProdDimensions Parameters:
NameParameterData TypeRequiredDescription
XformdoubleNo
YformdoubleNo
ZformdoubleNo
IntCode Parameters:
NameParameterData TypeRequiredDescription
IntCodeIDformstringNo
NameformstringNo
NameEnformstringNo
VatformdecimalNo
TaxMethodformintNo
Tax1formdecimalNo
TaxKformdecimalNo
GoodExtendedInfo Parameters:
NameParameterData TypeRequiredDescription
ProdPPIDformstringNo
DescriptionformstringNo
AnotationformstringNo
GarantDaysformint?No
IsFastFoodformboolNo
DetailedWarehousingformboolNo
TrackAndTraceformboolNo
BrandIDformint?No
BrandformBrandNo
RTypeformint?No
SizeIdformint?No
ColorIdformint?No
GenderIdformint?No
SizeformProdSizeNo
ColorformDTAnyDataNo
GenderformDTAnyDataNo
MetaformDictionary<string, string>No
Brand Parameters:
NameParameterData TypeRequiredDescription
BrandIdformint?No
AbbreviationformstringNo
NameformstringNo
BrandNameEformstringNo
DescriptionformstringNo
Logoformbyte[]No
ProdSize Parameters:
NameParameterData TypeRequiredDescription
IdformintNo
NameformstringNo
SizeTypeformintNo
DTAnyData Parameters:
NameParameterData TypeRequiredDescription
codeidformintNo
mgridformGuid?No
hnameformstringNo
hnameeformstringNo
hcodeformstringNo
defvalformboolNo
vmformdecimal?No
vpformdecimal?No
viformint?No
vdformDateTime?No
canceledformboolNo
crtimeformDateTime?No
unidformGuidNo
IUDformintNo
PPBCode Parameters:
NameParameterData TypeRequiredDescription
IdformintNo
ProdPPIdformstringNo
BCodeformstringNo
GoodType Parameters:
NameParameterData TypeRequiredDescription
IDformstringNo
NameformstringNo
NameEnformstringNo
LDefaultformboolNo
Spendformbool?No
HCategory Parameters:
NameParameterData TypeRequiredDescription
IDformintNo
NameformstringNo
ParentIDformint?No
HCodeformstringNo
HccrtformstringNo
NameEnformstringNo
CrTimeformDateTime?No
UnidformGuid?No
IsDefaultformbool?No
Canceledformbool?No
ShortDescriptionformstringNo
DescriptionformstringNo
UrlSlugformstringNo
VideoUrlformstringNo
ShortDescription2formstringNo
Description2formstringNo
MinCountformdecimal?No
ProdImage Parameters:
NameParameterData TypeRequiredDescription
IdformintNo
FileNameformstringNo
LinkformstringNo
ChecksumformstringNo
CreateTimeformDateTimeNo
UpdateTimeformDateTime?No
IsMainformboolNo

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.

GET /Common/Dictionary/Goods/ByCBCode/{CBCode} HTTP/1.1 
Host: apex.nikoratrade.ge 
Accept: application/xml
HTTP/1.1 200 OK
Content-Type: application/xml
Content-Length: length

<GetGoodByCBCodeResponse xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Apex.Services.Common">
  <ResponseStatus xmlns:d2p1="http://schemas.servicestack.net/types">
    <d2p1:ErrorCode>String</d2p1:ErrorCode>
    <d2p1:Message>String</d2p1:Message>
    <d2p1:StackTrace>String</d2p1:StackTrace>
    <d2p1:Errors>
      <d2p1:ResponseError>
        <d2p1:ErrorCode>String</d2p1:ErrorCode>
        <d2p1:FieldName>String</d2p1:FieldName>
        <d2p1:Message>String</d2p1:Message>
        <d2p1:Meta xmlns:d5p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
          <d5p1:KeyValueOfstringstring>
            <d5p1:Key>String</d5p1:Key>
            <d5p1:Value>String</d5p1:Value>
          </d5p1:KeyValueOfstringstring>
        </d2p1:Meta>
      </d2p1:ResponseError>
    </d2p1:Errors>
    <d2p1:Meta xmlns:d3p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
      <d3p1:KeyValueOfstringstring>
        <d3p1:Key>String</d3p1:Key>
        <d3p1:Value>String</d3p1:Value>
      </d3p1:KeyValueOfstringstring>
    </d2p1:Meta>
  </ResponseStatus>
  <Result>
    <Good>
      <ID>String</ID>
      <BCode>String</BCode>
      <BBCode>String</BBCode>
      <InCode>String</InCode>
      <Name>String</Name>
      <NameEn>String</NameEn>
      <PackBCount>0</PackBCount>
      <PackCount>0</PackCount>
      <Netto>0</Netto>
      <ByWeight>0</ByWeight>
      <CategoryID>String</CategoryID>
      <Category>
        <CategoryID>String</CategoryID>
        <CategoryCode>String</CategoryCode>
        <CategoryName>String</CategoryName>
        <Spend>false</Spend>
      </Category>
      <PPCatID>String</PPCatID>
      <PCatID>0</PCatID>
      <ProducerID>String</ProducerID>
      <Producer>
        <ProducerID>String</ProducerID>
        <ProducerName>String</ProducerName>
        <CountryId>String</CountryId>
        <LOwn>false</LOwn>
        <Speend>false</Speend>
        <ProducerNameEnglish>String</ProducerNameEnglish>
        <Address>String</Address>
        <PostalCode>String</PostalCode>
        <Phone>String</Phone>
        <Fax>String</Fax>
        <Person>String</Person>
        <Email>String</Email>
        <Ldefault>false</Ldefault>
        <MrgId>0</MrgId>
        <Country>
          <CountryId>String</CountryId>
          <CountryNe>String</CountryNe>
          <LDefault>false</LDefault>
          <Spend>false</Spend>
          <CountryNu>String</CountryNu>
        </Country>
        <ProducerCountry>String</ProducerCountry>
      </Producer>
      <Vat>0</Vat>
      <LifeDays>0</LifeDays>
      <Unit>String</Unit>
      <ParentID>String</ParentID>
      <MaxDiscount>0</MaxDiscount>
      <IsImported>false</IsImported>
      <Dimensions>
        <X>0</X>
        <Y>0</Y>
        <Z>0</Z>
      </Dimensions>
      <PackCCount>0</PackCCount>
      <PDose>String</PDose>
      <IntCodeID>String</IntCodeID>
      <IntCode>
        <IntCodeID>String</IntCodeID>
        <Name>String</Name>
        <NameEn>String</NameEn>
        <Vat>0</Vat>
        <TaxMethod>0</TaxMethod>
        <Tax1>0</Tax1>
        <TaxK>0</TaxK>
      </IntCode>
      <ExciseID>0</ExciseID>
      <Excise>0</Excise>
      <DestNumber>String</DestNumber>
      <PackTypeID>0</PackTypeID>
      <PriceGR>0</PriceGR>
      <PriceGT>0</PriceGT>
      <Spend>false</Spend>
      <VatType>0</VatType>
      <ExtendedInfo>
        <ProdPPID>String</ProdPPID>
        <Description>String</Description>
        <Anotation>String</Anotation>
        <GarantDays>0</GarantDays>
        <IsFastFood>false</IsFastFood>
        <DetailedWarehousing>false</DetailedWarehousing>
        <TrackAndTrace>false</TrackAndTrace>
        <BrandID>0</BrandID>
        <Brand>
          <BrandId>0</BrandId>
          <Abbreviation>String</Abbreviation>
          <Name>String</Name>
          <BrandNameE>String</BrandNameE>
          <Description>String</Description>
          <Logo>AA==</Logo>
        </Brand>
        <RType>0</RType>
        <SizeId>0</SizeId>
        <ColorId>0</ColorId>
        <GenderId>0</GenderId>
        <Size>
          <Id>0</Id>
          <Name>String</Name>
          <SizeType>0</SizeType>
        </Size>
        <Color>
          <codeid>0</codeid>
          <mgrid>00000000-0000-0000-0000-000000000000</mgrid>
          <hname>String</hname>
          <hnamee>String</hnamee>
          <hcode>String</hcode>
          <defval>false</defval>
          <vm>0</vm>
          <vp>0</vp>
          <vi>0</vi>
          <vd>0001-01-01T00:00:00</vd>
          <canceled>false</canceled>
          <crtime>0001-01-01T00:00:00</crtime>
          <unid>00000000-0000-0000-0000-000000000000</unid>
          <IUD>0</IUD>
        </Color>
        <Gender>
          <codeid>0</codeid>
          <mgrid>00000000-0000-0000-0000-000000000000</mgrid>
          <hname>String</hname>
          <hnamee>String</hnamee>
          <hcode>String</hcode>
          <defval>false</defval>
          <vm>0</vm>
          <vp>0</vp>
          <vi>0</vi>
          <vd>0001-01-01T00:00:00</vd>
          <canceled>false</canceled>
          <crtime>0001-01-01T00:00:00</crtime>
          <unid>00000000-0000-0000-0000-000000000000</unid>
          <IUD>0</IUD>
        </Gender>
        <Meta xmlns:d5p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
          <d5p1:KeyValueOfstringstring>
            <d5p1:Key>String</d5p1:Key>
            <d5p1:Value>String</d5p1:Value>
          </d5p1:KeyValueOfstringstring>
        </Meta>
      </ExtendedInfo>
      <BarCodes>
        <PPBCode>
          <Id>0</Id>
          <ProdPPId>String</ProdPPId>
          <BCode>String</BCode>
        </PPBCode>
      </BarCodes>
      <Type>
        <ID>String</ID>
        <Name>String</Name>
        <NameEn>String</NameEn>
        <LDefault>false</LDefault>
        <Spend>false</Spend>
      </Type>
      <HCategory>
        <ID>0</ID>
        <Name>String</Name>
        <ParentID>0</ParentID>
        <HCode>String</HCode>
        <Hccrt>String</Hccrt>
        <NameEn>String</NameEn>
        <CrTime>0001-01-01T00:00:00</CrTime>
        <Unid>00000000-0000-0000-0000-000000000000</Unid>
        <IsDefault>false</IsDefault>
        <Canceled>false</Canceled>
        <ShortDescription>String</ShortDescription>
        <Description>String</Description>
        <UrlSlug>String</UrlSlug>
        <VideoUrl>String</VideoUrl>
        <ShortDescription2>String</ShortDescription2>
        <Description2>String</Description2>
        <MinCount>0</MinCount>
      </HCategory>
      <Brutto>0</Brutto>
      <SpendR>false</SpendR>
      <PriceUR>0</PriceUR>
      <PriceUT>0</PriceUT>
      <MDRetail>0</MDRetail>
      <MDTrade>0</MDTrade>
      <SupDays>0</SupDays>
      <PrStatus>false</PrStatus>
      <LNotInPrice>false</LNotInPrice>
      <MinCountRetail>0</MinCountRetail>
      <RegN>String</RegN>
      <RegDate>0001-01-01T00:00:00</RegDate>
      <RegEndDate>0001-01-01T00:00:00</RegEndDate>
      <HasSpec>false</HasSpec>
      <ReCalc>false</ReCalc>
      <ExciseC>0</ExciseC>
      <IsLinked>false</IsLinked>
      <UnitId>0</UnitId>
      <MinCountTrade>0</MinCountTrade>
      <PPCatName>String</PPCatName>
      <Images>
        <ProdImage>
          <Id>0</Id>
          <FileName>String</FileName>
          <Link>String</Link>
          <Checksum>String</Checksum>
          <CreateTime>0001-01-01T00:00:00</CreateTime>
          <UpdateTime>0001-01-01T00:00:00</UpdateTime>
          <IsMain>false</IsMain>
        </ProdImage>
      </Images>
      <CBCode>String</CBCode>
      <ScaleGroup>0</ScaleGroup>
      <Brand>
        <BrandId>0</BrandId>
        <Abbreviation>String</Abbreviation>
        <Name>String</Name>
        <BrandNameE>String</BrandNameE>
        <Description>String</Description>
        <Logo>AA==</Logo>
      </Brand>
      <Attributes xmlns:d4p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
        <d4p1:KeyValueOfstringstring>
          <d4p1:Key>String</d4p1:Key>
          <d4p1:Value>String</d4p1:Value>
        </d4p1:KeyValueOfstringstring>
      </Attributes>
    </Good>
  </Result>
</GetGoodByCBCodeResponse>