ApexERPHost

<back to all web services

GetCrmOrdersView

Requires Authentication
The following routes are available for this service:
GET/Crm/Orders/View/{Id}
GET/Crm/Orders/View
GetCrmOrdersView Parameters:
NameParameterData TypeRequiredDescription
order_datequeryDateTime[]No
delivery_datequeryDateTime[]No
Statusqueryint[]No
OrderTypequeryint[]No
SupplierBranchIdqueryint?No
RecipientBranchIdqueryint?No
Idpathint?No
CUserquerystringNo
GetCrmOrdersViewResponse Parameters:
NameParameterData TypeRequiredDescription
ResponseStatusformResponseStatusNo
ResultformList<CrmOrderView>No
CrmOrderView Parameters:
NameParameterData TypeRequiredDescription
order_idformintNo
currency_idformstringNo
rateformdecimalNo
order_typeformintNo
order_statusformintNo
order_dateformDateTimeNo
pay_dateformDateTime?No
recipient_idformint?No
supplier_idformintNo
contract_idformint?No
vat_typeformbyteNo
noteformstringNo
presaler_idformint?No
unidformGuidNo
cuserformstringNo
crtimeformDateTimeNo
prod_amountformdecimalNo
service_amountformdecimalNo
payed_amountformdecimalNo
total_amountformdecimal?No
total_rem_amountformdecimal?No
document_numbersformstringNo
supplier_snformstringNo
supplier_company_nameformstringNo
supplier_branch_nameformstringNo
recipient_snformstringNo
recipient_company_nameformstringNo
recipient_branch_nameformstringNo
delivery_typeformint?No
delivery_dateformDateTime?No
transport_numberformstringNo
transport_descriptionformstringNo
delivery_recipient_snformstringNo
delivery_recipientformstringNo
from_addressformstringNo
to_addressformstringNo
prepare_list_numberformstringNo
is_giftformboolNo
sub_order_idformint?No
forwarder_user_idformint?No
booked_prod_amountformdecimal?No
booked_service_amountformdecimal?No
market_part_idformstringNo
market_part_nameformstringNo
loyalty_card_idformstringNo
loyalty_card_owner_pernumformstringNo
loyalty_card_owner_nameformstringNo
driver_snformstringNo
driver_nameformstringNo
forwarder_nameformstringNo
transit_docs_idformstringNo
transit_statusformintNo
delivery_idformint?No
transit_wbidformint?No
transit_tdidformlong?No

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/View/{Id} HTTP/1.1 
Host: apex.nikoratrade.ge 
Accept: application/xml
HTTP/1.1 200 OK
Content-Type: application/xml
Content-Length: length

<GetCrmOrdersViewResponse 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>
    <CrmOrderView>
      <order_id>0</order_id>
      <currency_id>String</currency_id>
      <rate>0</rate>
      <order_type>0</order_type>
      <order_status>0</order_status>
      <order_date>0001-01-01T00:00:00</order_date>
      <pay_date>0001-01-01T00:00:00</pay_date>
      <recipient_id>0</recipient_id>
      <supplier_id>0</supplier_id>
      <contract_id>0</contract_id>
      <vat_type>0</vat_type>
      <note>String</note>
      <presaler_id>0</presaler_id>
      <unid>00000000-0000-0000-0000-000000000000</unid>
      <cuser>String</cuser>
      <crtime>0001-01-01T00:00:00</crtime>
      <prod_amount>0</prod_amount>
      <service_amount>0</service_amount>
      <payed_amount>0</payed_amount>
      <total_amount>0</total_amount>
      <total_rem_amount>0</total_rem_amount>
      <document_numbers>String</document_numbers>
      <supplier_sn>String</supplier_sn>
      <supplier_company_name>String</supplier_company_name>
      <supplier_branch_name>String</supplier_branch_name>
      <recipient_sn>String</recipient_sn>
      <recipient_company_name>String</recipient_company_name>
      <recipient_branch_name>String</recipient_branch_name>
      <delivery_type>0</delivery_type>
      <delivery_date>0001-01-01T00:00:00</delivery_date>
      <transport_number>String</transport_number>
      <transport_description>String</transport_description>
      <delivery_recipient_sn>String</delivery_recipient_sn>
      <delivery_recipient>String</delivery_recipient>
      <from_address>String</from_address>
      <to_address>String</to_address>
      <prepare_list_number>String</prepare_list_number>
      <is_gift>false</is_gift>
      <sub_order_id>0</sub_order_id>
      <forwarder_user_id>0</forwarder_user_id>
      <booked_prod_amount>0</booked_prod_amount>
      <booked_service_amount>0</booked_service_amount>
      <market_part_id>String</market_part_id>
      <market_part_name>String</market_part_name>
      <loyalty_card_id>String</loyalty_card_id>
      <loyalty_card_owner_pernum>String</loyalty_card_owner_pernum>
      <loyalty_card_owner_name>String</loyalty_card_owner_name>
      <driver_sn>String</driver_sn>
      <driver_name>String</driver_name>
      <forwarder_name>String</forwarder_name>
      <transit_docs_id>String</transit_docs_id>
      <transit_status>0</transit_status>
      <delivery_id>0</delivery_id>
      <transit_wbid>0</transit_wbid>
      <transit_tdid>0</transit_tdid>
    </CrmOrderView>
  </Result>
</GetCrmOrdersViewResponse>