ApexERPHost

<back to all web services

GetCrmOrderAvaliableProducts

Requires Authentication
The following routes are available for this service:
GET/Crm/Orders/Avaliable/Products
GetCrmOrderAvaliableProducts Parameters:
NameParameterData TypeRequiredDescription
BranchIdqueryint?No
OrderIdqueryint?No
CatIdqueryint?No
SupplierBranchIdqueryint?No
WithRemquerybool?No
ContractIdqueryint?No
OrderTypequeryintNo
GetCrmOrderAvaliableProductsResponse Parameters:
NameParameterData TypeRequiredDescription
ResponseStatusformResponseStatusNo
ResultformList<CrmProductList>No
CrmProductList Parameters:
NameParameterData TypeRequiredDescription
prodpp_idformstringNo
prodppp_idformstringNo
bcodeformstringNo
bbcodeformstringNo
incodeformstringNo
category_idformstringNo
category_codeformstringNo
category_nuformstringNo
producer_idformstringNo
producer_nuformstringNo
prcountry_nuformstringNo
products_nuformstringNo
products_neformstringNo
vattypeformintNo
packcountformshortNo
packbcountformdecimal?No
unitformstringNo
mdtradeformdecimalNo
mdretailformdecimalNo
importedformbool?No
nettoformdecimalNo
vatformdecimalNo
spec_priceformdecimal?No
priceformdecimalNo
rcountformdecimalNo
sys_rcountformdecimalNo
rezervedformdecimalNo
costgformdecimal?No
buy_costgformdecimal?No
xformdouble?No
yformdouble?No
zformdouble?No
destnumberformstringNo
min_priceformdecimal?No
packccountformint?No
need_prepareformint?No
base_priceformdecimal?No
byweightformbyte?No
CBCodeformstringNo

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 /Crm/Orders/Avaliable/Products HTTP/1.1 
Host: apex.nikoratrade.ge 
Accept: application/xml
HTTP/1.1 200 OK
Content-Type: application/xml
Content-Length: length

<GetCrmOrderAvaliableProductsResponse xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Apex.Services.Crm.Orders">
  <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>
    <CrmProductList>
      <prodpp_id>String</prodpp_id>
      <prodppp_id>String</prodppp_id>
      <bcode>String</bcode>
      <bbcode>String</bbcode>
      <incode>String</incode>
      <category_id>String</category_id>
      <category_code>String</category_code>
      <category_nu>String</category_nu>
      <producer_id>String</producer_id>
      <producer_nu>String</producer_nu>
      <prcountry_nu>String</prcountry_nu>
      <products_nu>String</products_nu>
      <products_ne>String</products_ne>
      <vattype>0</vattype>
      <packcount>0</packcount>
      <packbcount>0</packbcount>
      <unit>String</unit>
      <mdtrade>0</mdtrade>
      <mdretail>0</mdretail>
      <imported>false</imported>
      <netto>0</netto>
      <vat>0</vat>
      <spec_price>0</spec_price>
      <price>0</price>
      <rcount>0</rcount>
      <sys_rcount>0</sys_rcount>
      <rezerved>0</rezerved>
      <costg>0</costg>
      <buy_costg>0</buy_costg>
      <x>0</x>
      <y>0</y>
      <z>0</z>
      <destnumber>String</destnumber>
      <min_price>0</min_price>
      <packccount>0</packccount>
      <need_prepare>0</need_prepare>
      <base_price>0</base_price>
      <byweight>0</byweight>
      <CBCode>String</CBCode>
    </CrmProductList>
  </Result>
</GetCrmOrderAvaliableProductsResponse>