WebApi

<back to all web services

InvoiceLineItemUploadRequest

Add line items to specified invoice.Invoice must be specified in StatusTokenID.

To override the Content-type in your clients HTTP Accept Header, append the .soap11 suffix or ?format=soap11

HTTP + SOAP11

The following are sample HTTP requests and responses. The placeholders shown need to be replaced with actual values.

POST /soap11 HTTP/1.1 
Host: api.homenetiol.com 
Content-Type: text/xml; charset=utf-8
Content-Length: length
SOAPAction: InvoiceLineItemUploadRequest

<?xml version="1.0" encoding="utf-8"?>
<soap:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">
    <soap:Body>

<InvoicingMessageHandler.InvoiceLineItemUploadRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/HNI.InventoryOnline.WebIOL.WebApi.MessageHandlers.Mobile">
  <InvoiceNumber xmlns="http://schemas.datacontract.org/2004/07/HNI.InventoryOnline.WebIOL.WebApi.Common.Messages.Mobile">String</InvoiceNumber>
  <LineItems xmlns="http://schemas.datacontract.org/2004/07/HNI.InventoryOnline.WebIOL.WebApi.Common.Messages.Mobile">
    <InvoiceLineItem>
      <AccountingCode>String</AccountingCode>
      <Description>String</Description>
      <DeviceDateCreated>0001-01-01T00:00:00</DeviceDateCreated>
      <ExteriorColorDescription>String</ExteriorColorDescription>
      <ILotID>0</ILotID>
      <Make>String</Make>
      <Model>String</Model>
      <Price>0</Price>
      <ServiceDefinitionID>0</ServiceDefinitionID>
      <ServiceType>New</ServiceType>
      <StockNumber>String</StockNumber>
      <Trim>String</Trim>
      <VIN>String</VIN>
      <Year>0</Year>
      <DateBilled>0001-01-01T00:00:00</DateBilled>
      <IsFree>false</IsFree>
    </InvoiceLineItem>
  </LineItems>
  <StatusTokenID xmlns="http://schemas.datacontract.org/2004/07/HNI.InventoryOnline.WebIOL.WebApi.Common.Messages.Mobile">00000000-0000-0000-0000-000000000000</StatusTokenID>
</InvoicingMessageHandler.InvoiceLineItemUploadRequest>

    </soap:Body>
</soap:Envelope>
HTTP/1.1 200 OK
Content-Type: application/xml
Content-Length: length

<?xml version="1.0" encoding="utf-8"?>
<soap:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">
    <soap:Body>

<InvoiceLineItemUploadResponse xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/HNI.InventoryOnline.WebIOL.WebApi.Common.Messages.Mobile">
  <MessageDetails i:nil="true" xmlns="http://schemas.datacontract.org/2004/07/HNI.InventoryOnline.WebIOL.WebApi.Common.Messages" />
  <ResponseMessageKind xmlns="http://schemas.datacontract.org/2004/07/HNI.InventoryOnline.WebIOL.WebApi.Common.Messages">None</ResponseMessageKind>
  <StatusTokenID>00000000-0000-0000-0000-000000000000</StatusTokenID>
</InvoiceLineItemUploadResponse>

    </soap:Body>
</soap:Envelope>