axFuelService

<back to all web services

SaveRsInvoiceDet

Requires Authentication
SaveRsInvoiceDet Parameters:
NameParameterData TypeRequiredDescription
specinvoicedetqueryRsSpecInvoiceDetNo
RsSpecInvoiceDet Parameters:
NameParameterData TypeRequiredDescription
idformintNo
p_inv_idformintNo
p_goodsformstringNo
p_g_unitformstringNo
p_g_numberformdecimalNo
p_un_priceformdecimalNo
p_drg_amountformdecimalNo
p_aqcizi_amountformdecimalNo
p_aqcizi_idformstringNo
p_aqcizi_rateformdecimalNo
p_dgg_rateformdecimalNo
p_g_number_altformdecimalNo
p_good_idformintNo
p_drg_typeformintNo
SaveRsInvoiceDetResponse Parameters:
NameParameterData TypeRequiredDescription
ResponseStatusformResponseStatusNo
resultformintNo

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.

POST /xml/reply/SaveRsInvoiceDet HTTP/1.1 
Host: axfuel.apex.ge 
Accept: application/xml
Content-Type: application/xml
Content-Length: length

<SaveRsInvoiceDet xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/axFuelService.ServiceModel">
  <specinvoicedet>
    <id>0</id>
    <p_inv_id>0</p_inv_id>
    <p_goods>String</p_goods>
    <p_g_unit>String</p_g_unit>
    <p_g_number>0</p_g_number>
    <p_un_price>0</p_un_price>
    <p_drg_amount>0</p_drg_amount>
    <p_aqcizi_amount>0</p_aqcizi_amount>
    <p_aqcizi_id>String</p_aqcizi_id>
    <p_aqcizi_rate>0</p_aqcizi_rate>
    <p_dgg_rate>0</p_dgg_rate>
    <p_g_number_alt>0</p_g_number_alt>
    <p_good_id>0</p_good_id>
    <p_drg_type>0</p_drg_type>
  </specinvoicedet>
</SaveRsInvoiceDet>
HTTP/1.1 200 OK
Content-Type: application/xml
Content-Length: length

<SaveRsInvoiceDetResponse xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/axFuelService.ServiceModel">
  <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>0</result>
</SaveRsInvoiceDetResponse>