GET api/HGInspections?reportIDs={reportIDs}
To get agents orders information, last orderdate and total orders in 365 days from agent of that property.
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
reportIDs | string |
Required |
Body Parameters
None.
Response Information
Resource Description
To get agents orders information, last orderdate and total orders in 365 days from agent of that property.
AgentOrdersModelName | Description | Type | Additional information |
---|---|---|---|
ReportID |
It represents the unique identifier of a property. |
integer |
None. |
AgentID |
It represents identifier of ordering party (Agent). |
string |
None. |
LastOrderOn |
It represents the date/time at which last order had received from the ordering party. |
string |
None. |
TotalOrdersInLast365Days |
It represents the total no. of orders with in last 365 days. |
string |
None. |
Response Formats
application/json
Sample:
{ "ReportID": 1, "TotalOrdersInLast365Days": "sample string 4", "LastOrderOn": "sample string 3", "AgentID": "sample string 2" }
application/xml, text/xml
Sample:
<AgentOrdersModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/HomeguardApp.BusinessObjects.Inspection"> <AgentID>sample string 2</AgentID> <LastOrderOn>sample string 3</LastOrderOn> <ReportID>1</ReportID> <TotalOrdersInLast365Days>sample string 4</TotalOrdersInLast365Days> </AgentOrdersModel>