POST api/service/GetBranchStartRatePCCommercialMetrics

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

StartRateActivityModel
NameDescriptionTypeAdditional information
EmpWoItem

Collection of EmployeeWOItem

None.

SRateItem

Collection of StartRateItem

None.

ReturnMessage

string

None.

Response Formats

application/json, text/json

Sample:
{
  "EmpWoItem": [
    {
      "EmployeeCode": "sample string 1",
      "EmployeeName": "sample string 2",
      "ScheduledCount": 3,
      "CompletedCount": 4,
      "Rate": 5.0
    },
    {
      "EmployeeCode": "sample string 1",
      "EmployeeName": "sample string 2",
      "ScheduledCount": 3,
      "CompletedCount": 4,
      "Rate": 5.0
    }
  ],
  "SRateItem": [
    {
      "BranchName": "sample string 1",
      "BranchCode": "sample string 2",
      "SalesAgreementNumber": "sample string 3",
      "CustomerNumber": "sample string 4",
      "CustomerName": "sample string 5",
      "ServiceLine": "sample string 6",
      "SADate": "sample string 7",
      "SAEffectiveDate": 8,
      "SAActEffectiveDate": 9,
      "SAAmount": 10.0,
      "EmployeeCode": "sample string 11",
      "EmployeeName": "sample string 12"
    },
    {
      "BranchName": "sample string 1",
      "BranchCode": "sample string 2",
      "SalesAgreementNumber": "sample string 3",
      "CustomerNumber": "sample string 4",
      "CustomerName": "sample string 5",
      "ServiceLine": "sample string 6",
      "SADate": "sample string 7",
      "SAEffectiveDate": 8,
      "SAActEffectiveDate": 9,
      "SAAmount": 10.0,
      "EmployeeCode": "sample string 11",
      "EmployeeName": "sample string 12"
    }
  ],
  "ReturnMessage": "sample string 1"
}

application/xml, text/xml

Sample:
<StartRateActivityModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/TMXWebAPI.Models">
  <EmpWoItem>
    <EmployeeWOItem>
      <CompletedCount>4</CompletedCount>
      <EmployeeCode>sample string 1</EmployeeCode>
      <EmployeeName>sample string 2</EmployeeName>
      <Rate>5</Rate>
      <ScheduledCount>3</ScheduledCount>
    </EmployeeWOItem>
    <EmployeeWOItem>
      <CompletedCount>4</CompletedCount>
      <EmployeeCode>sample string 1</EmployeeCode>
      <EmployeeName>sample string 2</EmployeeName>
      <Rate>5</Rate>
      <ScheduledCount>3</ScheduledCount>
    </EmployeeWOItem>
  </EmpWoItem>
  <ReturnMessage>sample string 1</ReturnMessage>
  <SRateItem>
    <StartRateItem>
      <BranchCode>sample string 2</BranchCode>
      <BranchName>sample string 1</BranchName>
      <CustomerName>sample string 5</CustomerName>
      <CustomerNumber>sample string 4</CustomerNumber>
      <EmployeeCode>sample string 11</EmployeeCode>
      <EmployeeName>sample string 12</EmployeeName>
      <SAActEffectiveDate>9</SAActEffectiveDate>
      <SAAmount>10</SAAmount>
      <SADate>sample string 7</SADate>
      <SAEffectiveDate>8</SAEffectiveDate>
      <SalesAgreementNumber>sample string 3</SalesAgreementNumber>
      <ServiceLine>sample string 6</ServiceLine>
    </StartRateItem>
    <StartRateItem>
      <BranchCode>sample string 2</BranchCode>
      <BranchName>sample string 1</BranchName>
      <CustomerName>sample string 5</CustomerName>
      <CustomerNumber>sample string 4</CustomerNumber>
      <EmployeeCode>sample string 11</EmployeeCode>
      <EmployeeName>sample string 12</EmployeeName>
      <SAActEffectiveDate>9</SAActEffectiveDate>
      <SAAmount>10</SAAmount>
      <SADate>sample string 7</SADate>
      <SAEffectiveDate>8</SAEffectiveDate>
      <SalesAgreementNumber>sample string 3</SalesAgreementNumber>
      <ServiceLine>sample string 6</ServiceLine>
    </StartRateItem>
  </SRateItem>
</StartRateActivityModel>