ApexERPHost

<back to all web services

GetChequeInfo

Requires Authentication
The following routes are available for this service:
GET/POS/ChequeInfo
GetChequeInfo Parameters:
NameParameterData TypeRequiredDescription
StartDatequeryDateTimeNo
EndDatequeryDateTimeNo
PosNumqueryintNo
OpTypesqueryList<int>No
GetChequeInfoResponse Parameters:
NameParameterData TypeRequiredDescription
ResponseStatusformResponseStatusNo
ResultformList<ChequeInfo>No
ChequeInfo Parameters:
NameParameterData TypeRequiredDescription
receipt_idformGuidNoჩეკის ID
opdateformDateTime?Noოპერაციის თარიღი
batch_numformintNoცვლის ნომერი
optypeformintNoოპერაციის ტიპი
receipt_linkformintNoდაკავშირებული ჩეკი
diplomat_idformstringNoდიპლომატის ნომერი
receipt_numformintNoჩეკის ნომერი
pointformdecimalNoქულა
opdtformDateTime?Noგაყიდვის დრო
discount_cardformstringNoფასდაკლების ბარათი
discount_card_rateformdecimalNoფასდაკლების ბარათი (პროცენტი)
VgSaleformdecimalNoგაყიდვის ფასი
VgReturnformdecimalNoდაბრუნების ფასი
payment_nameformstringNoგაყიდვა

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

<GetChequeInfoResponse xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Apex.Services.POS">
  <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>
    <ChequeInfo>
      <receipt_id>00000000-0000-0000-0000-000000000000</receipt_id>
      <opdate>0001-01-01T00:00:00</opdate>
      <batch_num>0</batch_num>
      <optype>0</optype>
      <receipt_link>0</receipt_link>
      <diplomat_id>String</diplomat_id>
      <receipt_num>0</receipt_num>
      <point>0</point>
      <opdt>0001-01-01T00:00:00</opdt>
      <discount_card>String</discount_card>
      <discount_card_rate>0</discount_card_rate>
      <VgSale>0</VgSale>
      <VgReturn>0</VgReturn>
      <payment_name>String</payment_name>
    </ChequeInfo>
  </Result>
</GetChequeInfoResponse>