HTTP + XML
The following are sample HTTP requests and responses.
The placeholders shown need to be replaced with actual values.
POST /xml/reply/ServiceDefinitionListRequest HTTP/1.1
Host: api.homenetiol.com
Content-Type: application/xml
Content-Length: length
<ServiceDefinitionMessageHandler.ServiceDefinitionListRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/HNI.InventoryOnline.WebIOL.WebApi.MessageHandlers.Mobile">
<IncludeResellerDefinitions xmlns="http://schemas.datacontract.org/2004/07/HNI.InventoryOnline.WebIOL.WebApi.Common.Messages.Mobile">false</IncludeResellerDefinitions>
<VirtualRooftopId xmlns="http://schemas.datacontract.org/2004/07/HNI.InventoryOnline.WebIOL.WebApi.Common.Messages.Mobile">0</VirtualRooftopId>
</ServiceDefinitionMessageHandler.ServiceDefinitionListRequest>
HTTP/1.1 200 OK
Content-Type: application/xml
Content-Length: length
<ServiceDefinitionListResponse 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>
<Definitions xmlns:d2p1="http://schemas.datacontract.org/2004/07/HNI.InventoryOnline.WebIOL.WebApi.Common.Models">
<d2p1:ServiceDefinition>
<d2p1:AccountingCode>String</d2p1:AccountingCode>
<d2p1:Description>String</d2p1:Description>
<d2p1:Price>0</d2p1:Price>
<d2p1:ResellerVirtualRooftopId>0</d2p1:ResellerVirtualRooftopId>
<d2p1:ServiceDefinitionId>0</d2p1:ServiceDefinitionId>
<d2p1:ServiceType>New</d2p1:ServiceType>
<d2p1:VirtualRooftopId>0</d2p1:VirtualRooftopId>
</d2p1:ServiceDefinition>
</Definitions>
<IncludeResellerDefinitions>false</IncludeResellerDefinitions>
<ResellerDefinitions xmlns:d2p1="http://schemas.datacontract.org/2004/07/HNI.InventoryOnline.WebIOL.WebApi.Common.Models">
<d2p1:ServiceDefinition>
<d2p1:AccountingCode>String</d2p1:AccountingCode>
<d2p1:Description>String</d2p1:Description>
<d2p1:Price>0</d2p1:Price>
<d2p1:ResellerVirtualRooftopId>0</d2p1:ResellerVirtualRooftopId>
<d2p1:ServiceDefinitionId>0</d2p1:ServiceDefinitionId>
<d2p1:ServiceType>New</d2p1:ServiceType>
<d2p1:VirtualRooftopId>0</d2p1:VirtualRooftopId>
</d2p1:ServiceDefinition>
</ResellerDefinitions>
<VirtualRooftopId>0</VirtualRooftopId>
</ServiceDefinitionListResponse>