POST api/service/GetBranchResidentialTOTDMetrics

Request Information

URI Parameters

None.

Body Parameters

BranchMetricsParameters
NameDescriptionTypeAdditional information
branchCode

string

None.

yearMonth

string

None.

user

string

None.

deviceID

string

None.

ticketID

string

None.

Request Formats

application/json, text/json

Sample:
{
  "branchCode": "sample string 1",
  "yearMonth": "sample string 2",
  "user": "sample string 3",
  "deviceID": "sample string 4",
  "ticketID": "sample string 5"
}

application/xml, text/xml

Sample:
<BranchMetricsParameters xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/TMXWebAPI.Models">
  <branchCode>sample string 1</branchCode>
  <deviceID>sample string 4</deviceID>
  <ticketID>sample string 5</ticketID>
  <user>sample string 3</user>
  <yearMonth>sample string 2</yearMonth>
</BranchMetricsParameters>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

TOTDActivityModel
NameDescriptionTypeAdditional information
EmpSumItem

Collection of EmployeeSummaryTOTDItem

None.

EmpItem

Collection of EmployeeTOTDItem

None.

TOTDItem

Collection of TOTDItem

None.

ReturnMessage

string

None.

Response Formats

application/json, text/json

Sample:
{
  "EmpSumItem": [
    {
      "EmployeeCode": "sample string 1",
      "EmployeeName": "sample string 2",
      "TotalPlanned": 3,
      "TotalOnTime": 4,
      "TOTD": 5.0
    },
    {
      "EmployeeCode": "sample string 1",
      "EmployeeName": "sample string 2",
      "TotalPlanned": 3,
      "TotalOnTime": 4,
      "TOTD": 5.0
    }
  ],
  "EmpItem": [
    {
      "EmployeeCode": "sample string 1",
      "EmployeeName": "sample string 2",
      "PlannedDate": 3,
      "PlannedREG": 4,
      "CompletedREG": 5,
      "PlannedINI": 6,
      "CompletedINI": 7,
      "PlannedXTR": 8,
      "CompletedXTR": 9,
      "PlannedREI": 10,
      "CompletedREI": 11,
      "PlannedSPC": 12,
      "CompletedSPC": 13,
      "PlannedODR": 14,
      "CompletedODR": 15,
      "PlannedODM": 16,
      "CompletedODM": 17,
      "TotalPlanned": 18,
      "TotalPlnCompleted": 19,
      "TotalOnTime": 20,
      "TOTD": 21.0,
      "TotalCompleted": 22
    },
    {
      "EmployeeCode": "sample string 1",
      "EmployeeName": "sample string 2",
      "PlannedDate": 3,
      "PlannedREG": 4,
      "CompletedREG": 5,
      "PlannedINI": 6,
      "CompletedINI": 7,
      "PlannedXTR": 8,
      "CompletedXTR": 9,
      "PlannedREI": 10,
      "CompletedREI": 11,
      "PlannedSPC": 12,
      "CompletedSPC": 13,
      "PlannedODR": 14,
      "CompletedODR": 15,
      "PlannedODM": 16,
      "CompletedODM": 17,
      "TotalPlanned": 18,
      "TotalPlnCompleted": 19,
      "TotalOnTime": 20,
      "TOTD": 21.0,
      "TotalCompleted": 22
    }
  ],
  "TOTDItem": [
    {
      "BranchCode": "sample string 1",
      "SalesAgreementNumber": "sample string 2",
      "CustomerNumber": "sample string 3",
      "CustomerName": "sample string 4",
      "ServiceLine": "sample string 5",
      "ServiceType": "sample string 6",
      "SAEffectiveDate": 7,
      "SAActEffectiveDate": 8,
      "SAAmount": 9.0,
      "AssignedEmployeeCode": "sample string 10",
      "AssignedEmployeeName": "sample string 11",
      "CompletedEmployeeCode": "sample string 12",
      "CompletedEmployeeName": "sample string 13",
      "WorkOrderNumber": "sample string 14",
      "TerritoryNumber": "sample string 15",
      "Frequency": "sample string 16",
      "PlannedDate": "sample string 17",
      "ScheduleFromDate": "sample string 18",
      "ScheduleFromTime": "sample string 19",
      "ScheduleToDate": "sample string 20",
      "ScheduleToTime": "sample string 21",
      "CompletedFromDate": "sample string 22",
      "CompletedFromTime": "sample string 23",
      "CompletedToDate": "sample string 24",
      "CompletedToTime": "sample string 25",
      "Status": "sample string 26",
      "Reason": "sample string 27",
      "TrueOnTime": "sample string 28",
      "Planned": "sample string 29"
    },
    {
      "BranchCode": "sample string 1",
      "SalesAgreementNumber": "sample string 2",
      "CustomerNumber": "sample string 3",
      "CustomerName": "sample string 4",
      "ServiceLine": "sample string 5",
      "ServiceType": "sample string 6",
      "SAEffectiveDate": 7,
      "SAActEffectiveDate": 8,
      "SAAmount": 9.0,
      "AssignedEmployeeCode": "sample string 10",
      "AssignedEmployeeName": "sample string 11",
      "CompletedEmployeeCode": "sample string 12",
      "CompletedEmployeeName": "sample string 13",
      "WorkOrderNumber": "sample string 14",
      "TerritoryNumber": "sample string 15",
      "Frequency": "sample string 16",
      "PlannedDate": "sample string 17",
      "ScheduleFromDate": "sample string 18",
      "ScheduleFromTime": "sample string 19",
      "ScheduleToDate": "sample string 20",
      "ScheduleToTime": "sample string 21",
      "CompletedFromDate": "sample string 22",
      "CompletedFromTime": "sample string 23",
      "CompletedToDate": "sample string 24",
      "CompletedToTime": "sample string 25",
      "Status": "sample string 26",
      "Reason": "sample string 27",
      "TrueOnTime": "sample string 28",
      "Planned": "sample string 29"
    }
  ],
  "ReturnMessage": "sample string 1"
}

application/xml, text/xml

Sample:
<TOTDActivityModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/TMXWebAPI.Models">
  <EmpItem>
    <EmployeeTOTDItem>
      <CompletedINI>7</CompletedINI>
      <CompletedODM>17</CompletedODM>
      <CompletedODR>15</CompletedODR>
      <CompletedREG>5</CompletedREG>
      <CompletedREI>11</CompletedREI>
      <CompletedSPC>13</CompletedSPC>
      <CompletedXTR>9</CompletedXTR>
      <EmployeeCode>sample string 1</EmployeeCode>
      <EmployeeName>sample string 2</EmployeeName>
      <PlannedDate>3</PlannedDate>
      <PlannedINI>6</PlannedINI>
      <PlannedODM>16</PlannedODM>
      <PlannedODR>14</PlannedODR>
      <PlannedREG>4</PlannedREG>
      <PlannedREI>10</PlannedREI>
      <PlannedSPC>12</PlannedSPC>
      <PlannedXTR>8</PlannedXTR>
      <TOTD>21</TOTD>
      <TotalCompleted>22</TotalCompleted>
      <TotalOnTime>20</TotalOnTime>
      <TotalPlanned>18</TotalPlanned>
      <TotalPlnCompleted>19</TotalPlnCompleted>
    </EmployeeTOTDItem>
    <EmployeeTOTDItem>
      <CompletedINI>7</CompletedINI>
      <CompletedODM>17</CompletedODM>
      <CompletedODR>15</CompletedODR>
      <CompletedREG>5</CompletedREG>
      <CompletedREI>11</CompletedREI>
      <CompletedSPC>13</CompletedSPC>
      <CompletedXTR>9</CompletedXTR>
      <EmployeeCode>sample string 1</EmployeeCode>
      <EmployeeName>sample string 2</EmployeeName>
      <PlannedDate>3</PlannedDate>
      <PlannedINI>6</PlannedINI>
      <PlannedODM>16</PlannedODM>
      <PlannedODR>14</PlannedODR>
      <PlannedREG>4</PlannedREG>
      <PlannedREI>10</PlannedREI>
      <PlannedSPC>12</PlannedSPC>
      <PlannedXTR>8</PlannedXTR>
      <TOTD>21</TOTD>
      <TotalCompleted>22</TotalCompleted>
      <TotalOnTime>20</TotalOnTime>
      <TotalPlanned>18</TotalPlanned>
      <TotalPlnCompleted>19</TotalPlnCompleted>
    </EmployeeTOTDItem>
  </EmpItem>
  <EmpSumItem>
    <EmployeeSummaryTOTDItem>
      <EmployeeCode>sample string 1</EmployeeCode>
      <EmployeeName>sample string 2</EmployeeName>
      <TOTD>5</TOTD>
      <TotalOnTime>4</TotalOnTime>
      <TotalPlanned>3</TotalPlanned>
    </EmployeeSummaryTOTDItem>
    <EmployeeSummaryTOTDItem>
      <EmployeeCode>sample string 1</EmployeeCode>
      <EmployeeName>sample string 2</EmployeeName>
      <TOTD>5</TOTD>
      <TotalOnTime>4</TotalOnTime>
      <TotalPlanned>3</TotalPlanned>
    </EmployeeSummaryTOTDItem>
  </EmpSumItem>
  <ReturnMessage>sample string 1</ReturnMessage>
  <TOTDItem>
    <TOTDItem>
      <AssignedEmployeeCode>sample string 10</AssignedEmployeeCode>
      <AssignedEmployeeName>sample string 11</AssignedEmployeeName>
      <BranchCode>sample string 1</BranchCode>
      <CompletedEmployeeCode>sample string 12</CompletedEmployeeCode>
      <CompletedEmployeeName>sample string 13</CompletedEmployeeName>
      <CompletedFromDate>sample string 22</CompletedFromDate>
      <CompletedFromTime>sample string 23</CompletedFromTime>
      <CompletedToDate>sample string 24</CompletedToDate>
      <CompletedToTime>sample string 25</CompletedToTime>
      <CustomerName>sample string 4</CustomerName>
      <CustomerNumber>sample string 3</CustomerNumber>
      <Frequency>sample string 16</Frequency>
      <Planned>sample string 29</Planned>
      <PlannedDate>sample string 17</PlannedDate>
      <Reason>sample string 27</Reason>
      <SAActEffectiveDate>8</SAActEffectiveDate>
      <SAAmount>9</SAAmount>
      <SAEffectiveDate>7</SAEffectiveDate>
      <SalesAgreementNumber>sample string 2</SalesAgreementNumber>
      <ScheduleFromDate>sample string 18</ScheduleFromDate>
      <ScheduleFromTime>sample string 19</ScheduleFromTime>
      <ScheduleToDate>sample string 20</ScheduleToDate>
      <ScheduleToTime>sample string 21</ScheduleToTime>
      <ServiceLine>sample string 5</ServiceLine>
      <ServiceType>sample string 6</ServiceType>
      <Status>sample string 26</Status>
      <TerritoryNumber>sample string 15</TerritoryNumber>
      <TrueOnTime>sample string 28</TrueOnTime>
      <WorkOrderNumber>sample string 14</WorkOrderNumber>
    </TOTDItem>
    <TOTDItem>
      <AssignedEmployeeCode>sample string 10</AssignedEmployeeCode>
      <AssignedEmployeeName>sample string 11</AssignedEmployeeName>
      <BranchCode>sample string 1</BranchCode>
      <CompletedEmployeeCode>sample string 12</CompletedEmployeeCode>
      <CompletedEmployeeName>sample string 13</CompletedEmployeeName>
      <CompletedFromDate>sample string 22</CompletedFromDate>
      <CompletedFromTime>sample string 23</CompletedFromTime>
      <CompletedToDate>sample string 24</CompletedToDate>
      <CompletedToTime>sample string 25</CompletedToTime>
      <CustomerName>sample string 4</CustomerName>
      <CustomerNumber>sample string 3</CustomerNumber>
      <Frequency>sample string 16</Frequency>
      <Planned>sample string 29</Planned>
      <PlannedDate>sample string 17</PlannedDate>
      <Reason>sample string 27</Reason>
      <SAActEffectiveDate>8</SAActEffectiveDate>
      <SAAmount>9</SAAmount>
      <SAEffectiveDate>7</SAEffectiveDate>
      <SalesAgreementNumber>sample string 2</SalesAgreementNumber>
      <ScheduleFromDate>sample string 18</ScheduleFromDate>
      <ScheduleFromTime>sample string 19</ScheduleFromTime>
      <ScheduleToDate>sample string 20</ScheduleToDate>
      <ScheduleToTime>sample string 21</ScheduleToTime>
      <ServiceLine>sample string 5</ServiceLine>
      <ServiceType>sample string 6</ServiceType>
      <Status>sample string 26</Status>
      <TerritoryNumber>sample string 15</TerritoryNumber>
      <TrueOnTime>sample string 28</TrueOnTime>
      <WorkOrderNumber>sample string 14</WorkOrderNumber>
    </TOTDItem>
  </TOTDItem>
</TOTDActivityModel>