HTTP + XML
The following are sample HTTP requests and responses.
The placeholders shown need to be replaced with actual values.
POST /xml/reply/InvoiceUploadRequest HTTP/1.1
Host: api.homenetiol.com
Content-Type: application/xml
Content-Length: length
<InvoicingMessageHandler.InvoiceUploadRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/HNI.InventoryOnline.WebIOL.WebApi.MessageHandlers.Mobile">
<BillToVirtualRooftopID xmlns="http://schemas.datacontract.org/2004/07/HNI.InventoryOnline.WebIOL.WebApi.Common.Messages.Mobile">0</BillToVirtualRooftopID>
<ClientInvoiceID xmlns="http://schemas.datacontract.org/2004/07/HNI.InventoryOnline.WebIOL.WebApi.Common.Messages.Mobile">00000000-0000-0000-0000-000000000000</ClientInvoiceID>
<DateClosed xmlns="http://schemas.datacontract.org/2004/07/HNI.InventoryOnline.WebIOL.WebApi.Common.Messages.Mobile">0001-01-01T00:00:00</DateClosed>
<DateInvoiced xmlns="http://schemas.datacontract.org/2004/07/HNI.InventoryOnline.WebIOL.WebApi.Common.Messages.Mobile">0001-01-01T00:00:00</DateInvoiced>
<InvoiceNumber xmlns="http://schemas.datacontract.org/2004/07/HNI.InventoryOnline.WebIOL.WebApi.Common.Messages.Mobile">String</InvoiceNumber>
<Notes xmlns="http://schemas.datacontract.org/2004/07/HNI.InventoryOnline.WebIOL.WebApi.Common.Messages.Mobile">String</Notes>
<PONumber xmlns="http://schemas.datacontract.org/2004/07/HNI.InventoryOnline.WebIOL.WebApi.Common.Messages.Mobile">String</PONumber>
<RepresentativeID xmlns="http://schemas.datacontract.org/2004/07/HNI.InventoryOnline.WebIOL.WebApi.Common.Messages.Mobile">0</RepresentativeID>
</InvoicingMessageHandler.InvoiceUploadRequest>
HTTP/1.1 200 OK
Content-Type: application/xml
Content-Length: length
<InvoiceUploadResponse 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>
<InvoiceNumber>String</InvoiceNumber>
<StatusTokenID>00000000-0000-0000-0000-000000000000</StatusTokenID>
</InvoiceUploadResponse>