POST api/sales/GetSalesMetricsForDivisionsInCompany

Request Information

URI Parameters

None.

Body Parameters

CompanyMetricsParameters
NameDescriptionTypeAdditional information
CompanyCode

string

None.

yearMonth

string

None.

user

string

None.

deviceID

string

None.

ticketID

string

None.

Request Formats

application/json, text/json

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

application/xml, text/xml

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

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

Collection of RegionalSalesDetailModel
NameDescriptionTypeAdditional information
CompanyCode

string

None.

DivisionCode

string

None.

DivisionName

string

None.

RegionCode

string

None.

RegionName

string

None.

BranchCode

string

None.

BranchName

string

None.

ResPC

string

None.

ResPCTargetValue

string

None.

ResPCScoreColor

string

None.

ResPCPlanValue

string

None.

ResPCActualValue

string

None.

ResPCProjectedValue

string

None.

ResTC

string

None.

ResTCTargetValue

string

None.

ResTCScoreColor

string

None.

ResTCPlanValue

string

None.

ResTCActualValue

string

None.

ResTCProjectedValue

string

None.

ComPC

string

None.

ComPCTargetValue

string

None.

ComPCScoreColor

string

None.

ComPCPlanValue

string

None.

ComPCActualValue

string

None.

ComPCProjectedValue

string

None.

CommTC

string

None.

CommTCTargetValue

string

None.

CommTCScoreColor

string

None.

CommTCPlanValue

string

None.

CommTCActualValue

string

None.

CommTCProjectedValue

string

None.

InvPC

string

None.

InvPCTargetValue

string

None.

InvPCScoreColor

string

None.

InvPCPlanValue

string

None.

InvPCActualValue

string

None.

InvPCProjectedValue

string

None.

InvTC

string

None.

InvTCTargetValue

string

None.

InvTCScoreColor

string

None.

InvTCPlanValue

string

None.

InvTCActualValue

string

None.

InvTCProjectedValue

string

None.

OSP2Sales

string

None.

OSP2TargetValue

string

None.

OSP2ScoreColor

string

None.

OSP2PlanValue

string

None.

OSP2ActualValue

string

None.

OSP2ProjectedValue

string

None.

CallsPerDay

string

None.

CallsTargetValue

string

None.

CallsScoreColor

string

None.

CallsPlanValue

string

None.

CallsActualValue

string

None.

CallsProjectedValue

string

None.

ProposalsPerDay

string

None.

ProposalsTargetValue

string

None.

ProposalsScoreColor

string

None.

ProposalsPlanValue

string

None.

ProposalsActualValue

string

None.

ProposalsProjectedValue

string

None.

PIGSales

string

None.

PIGTargetValue

string

None.

PIGScoreColor

string

None.

PIGPlanValue

string

None.

PIGActualValue

string

None.

PIGProjectedValue

string

None.

ReturnMessage

string

None.

Response Formats

application/json, text/json

Sample:
[
  {
    "CompanyCode": "sample string 1",
    "DivisionCode": "sample string 2",
    "DivisionName": "sample string 3",
    "RegionCode": "sample string 4",
    "RegionName": "sample string 5",
    "BranchCode": "sample string 6",
    "BranchName": "sample string 7",
    "ResPC": "sample string 8",
    "ResPCTargetValue": "sample string 9",
    "ResPCScoreColor": "sample string 10",
    "ResPCPlanValue": "sample string 11",
    "ResPCActualValue": "sample string 12",
    "ResPCProjectedValue": "sample string 13",
    "ResTC": "sample string 14",
    "ResTCTargetValue": "sample string 15",
    "ResTCScoreColor": "sample string 16",
    "ResTCPlanValue": "sample string 17",
    "ResTCActualValue": "sample string 18",
    "ResTCProjectedValue": "sample string 19",
    "ComPC": "sample string 20",
    "ComPCTargetValue": "sample string 21",
    "ComPCScoreColor": "sample string 22",
    "ComPCPlanValue": "sample string 23",
    "ComPCActualValue": "sample string 24",
    "ComPCProjectedValue": "sample string 25",
    "CommTC": "sample string 26",
    "CommTCTargetValue": "sample string 27",
    "CommTCScoreColor": "sample string 28",
    "CommTCPlanValue": "sample string 29",
    "CommTCActualValue": "sample string 30",
    "CommTCProjectedValue": "sample string 31",
    "InvPC": "sample string 32",
    "InvPCTargetValue": "sample string 33",
    "InvPCScoreColor": "sample string 34",
    "InvPCPlanValue": "sample string 35",
    "InvPCActualValue": "sample string 36",
    "InvPCProjectedValue": "sample string 37",
    "InvTC": "sample string 38",
    "InvTCTargetValue": "sample string 39",
    "InvTCScoreColor": "sample string 40",
    "InvTCPlanValue": "sample string 41",
    "InvTCActualValue": "sample string 42",
    "InvTCProjectedValue": "sample string 43",
    "OSP2Sales": "sample string 44",
    "OSP2TargetValue": "sample string 45",
    "OSP2ScoreColor": "sample string 46",
    "OSP2PlanValue": "sample string 47",
    "OSP2ActualValue": "sample string 48",
    "OSP2ProjectedValue": "sample string 49",
    "CallsPerDay": "sample string 50",
    "CallsTargetValue": "sample string 51",
    "CallsScoreColor": "sample string 52",
    "CallsPlanValue": "sample string 53",
    "CallsActualValue": "sample string 54",
    "CallsProjectedValue": "sample string 55",
    "ProposalsPerDay": "sample string 56",
    "ProposalsTargetValue": "sample string 57",
    "ProposalsScoreColor": "sample string 58",
    "ProposalsPlanValue": "sample string 59",
    "ProposalsActualValue": "sample string 60",
    "ProposalsProjectedValue": "sample string 61",
    "PIGSales": "sample string 62",
    "PIGTargetValue": "sample string 63",
    "PIGScoreColor": "sample string 64",
    "PIGPlanValue": "sample string 65",
    "PIGActualValue": "sample string 66",
    "PIGProjectedValue": "sample string 67",
    "ReturnMessage": "sample string 68"
  },
  {
    "CompanyCode": "sample string 1",
    "DivisionCode": "sample string 2",
    "DivisionName": "sample string 3",
    "RegionCode": "sample string 4",
    "RegionName": "sample string 5",
    "BranchCode": "sample string 6",
    "BranchName": "sample string 7",
    "ResPC": "sample string 8",
    "ResPCTargetValue": "sample string 9",
    "ResPCScoreColor": "sample string 10",
    "ResPCPlanValue": "sample string 11",
    "ResPCActualValue": "sample string 12",
    "ResPCProjectedValue": "sample string 13",
    "ResTC": "sample string 14",
    "ResTCTargetValue": "sample string 15",
    "ResTCScoreColor": "sample string 16",
    "ResTCPlanValue": "sample string 17",
    "ResTCActualValue": "sample string 18",
    "ResTCProjectedValue": "sample string 19",
    "ComPC": "sample string 20",
    "ComPCTargetValue": "sample string 21",
    "ComPCScoreColor": "sample string 22",
    "ComPCPlanValue": "sample string 23",
    "ComPCActualValue": "sample string 24",
    "ComPCProjectedValue": "sample string 25",
    "CommTC": "sample string 26",
    "CommTCTargetValue": "sample string 27",
    "CommTCScoreColor": "sample string 28",
    "CommTCPlanValue": "sample string 29",
    "CommTCActualValue": "sample string 30",
    "CommTCProjectedValue": "sample string 31",
    "InvPC": "sample string 32",
    "InvPCTargetValue": "sample string 33",
    "InvPCScoreColor": "sample string 34",
    "InvPCPlanValue": "sample string 35",
    "InvPCActualValue": "sample string 36",
    "InvPCProjectedValue": "sample string 37",
    "InvTC": "sample string 38",
    "InvTCTargetValue": "sample string 39",
    "InvTCScoreColor": "sample string 40",
    "InvTCPlanValue": "sample string 41",
    "InvTCActualValue": "sample string 42",
    "InvTCProjectedValue": "sample string 43",
    "OSP2Sales": "sample string 44",
    "OSP2TargetValue": "sample string 45",
    "OSP2ScoreColor": "sample string 46",
    "OSP2PlanValue": "sample string 47",
    "OSP2ActualValue": "sample string 48",
    "OSP2ProjectedValue": "sample string 49",
    "CallsPerDay": "sample string 50",
    "CallsTargetValue": "sample string 51",
    "CallsScoreColor": "sample string 52",
    "CallsPlanValue": "sample string 53",
    "CallsActualValue": "sample string 54",
    "CallsProjectedValue": "sample string 55",
    "ProposalsPerDay": "sample string 56",
    "ProposalsTargetValue": "sample string 57",
    "ProposalsScoreColor": "sample string 58",
    "ProposalsPlanValue": "sample string 59",
    "ProposalsActualValue": "sample string 60",
    "ProposalsProjectedValue": "sample string 61",
    "PIGSales": "sample string 62",
    "PIGTargetValue": "sample string 63",
    "PIGScoreColor": "sample string 64",
    "PIGPlanValue": "sample string 65",
    "PIGActualValue": "sample string 66",
    "PIGProjectedValue": "sample string 67",
    "ReturnMessage": "sample string 68"
  }
]

application/xml, text/xml

Sample:
<ArrayOfRegionalSalesDetailModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/TMXWebAPI.Models">
  <RegionalSalesDetailModel>
    <BranchCode>sample string 6</BranchCode>
    <BranchName>sample string 7</BranchName>
    <CallsActualValue>sample string 54</CallsActualValue>
    <CallsPerDay>sample string 50</CallsPerDay>
    <CallsPlanValue>sample string 53</CallsPlanValue>
    <CallsProjectedValue>sample string 55</CallsProjectedValue>
    <CallsScoreColor>sample string 52</CallsScoreColor>
    <CallsTargetValue>sample string 51</CallsTargetValue>
    <ComPC>sample string 20</ComPC>
    <ComPCActualValue>sample string 24</ComPCActualValue>
    <ComPCPlanValue>sample string 23</ComPCPlanValue>
    <ComPCProjectedValue>sample string 25</ComPCProjectedValue>
    <ComPCScoreColor>sample string 22</ComPCScoreColor>
    <ComPCTargetValue>sample string 21</ComPCTargetValue>
    <CommTC>sample string 26</CommTC>
    <CommTCActualValue>sample string 30</CommTCActualValue>
    <CommTCPlanValue>sample string 29</CommTCPlanValue>
    <CommTCProjectedValue>sample string 31</CommTCProjectedValue>
    <CommTCScoreColor>sample string 28</CommTCScoreColor>
    <CommTCTargetValue>sample string 27</CommTCTargetValue>
    <CompanyCode>sample string 1</CompanyCode>
    <DivisionCode>sample string 2</DivisionCode>
    <DivisionName>sample string 3</DivisionName>
    <InvPC>sample string 32</InvPC>
    <InvPCActualValue>sample string 36</InvPCActualValue>
    <InvPCPlanValue>sample string 35</InvPCPlanValue>
    <InvPCProjectedValue>sample string 37</InvPCProjectedValue>
    <InvPCScoreColor>sample string 34</InvPCScoreColor>
    <InvPCTargetValue>sample string 33</InvPCTargetValue>
    <InvTC>sample string 38</InvTC>
    <InvTCActualValue>sample string 42</InvTCActualValue>
    <InvTCPlanValue>sample string 41</InvTCPlanValue>
    <InvTCProjectedValue>sample string 43</InvTCProjectedValue>
    <InvTCScoreColor>sample string 40</InvTCScoreColor>
    <InvTCTargetValue>sample string 39</InvTCTargetValue>
    <OSP2ActualValue>sample string 48</OSP2ActualValue>
    <OSP2PlanValue>sample string 47</OSP2PlanValue>
    <OSP2ProjectedValue>sample string 49</OSP2ProjectedValue>
    <OSP2Sales>sample string 44</OSP2Sales>
    <OSP2ScoreColor>sample string 46</OSP2ScoreColor>
    <OSP2TargetValue>sample string 45</OSP2TargetValue>
    <PIGActualValue>sample string 66</PIGActualValue>
    <PIGPlanValue>sample string 65</PIGPlanValue>
    <PIGProjectedValue>sample string 67</PIGProjectedValue>
    <PIGSales>sample string 62</PIGSales>
    <PIGScoreColor>sample string 64</PIGScoreColor>
    <PIGTargetValue>sample string 63</PIGTargetValue>
    <ProposalsActualValue>sample string 60</ProposalsActualValue>
    <ProposalsPerDay>sample string 56</ProposalsPerDay>
    <ProposalsPlanValue>sample string 59</ProposalsPlanValue>
    <ProposalsProjectedValue>sample string 61</ProposalsProjectedValue>
    <ProposalsScoreColor>sample string 58</ProposalsScoreColor>
    <ProposalsTargetValue>sample string 57</ProposalsTargetValue>
    <RegionCode>sample string 4</RegionCode>
    <RegionName>sample string 5</RegionName>
    <ResPC>sample string 8</ResPC>
    <ResPCActualValue>sample string 12</ResPCActualValue>
    <ResPCPlanValue>sample string 11</ResPCPlanValue>
    <ResPCProjectedValue>sample string 13</ResPCProjectedValue>
    <ResPCScoreColor>sample string 10</ResPCScoreColor>
    <ResPCTargetValue>sample string 9</ResPCTargetValue>
    <ResTC>sample string 14</ResTC>
    <ResTCActualValue>sample string 18</ResTCActualValue>
    <ResTCPlanValue>sample string 17</ResTCPlanValue>
    <ResTCProjectedValue>sample string 19</ResTCProjectedValue>
    <ResTCScoreColor>sample string 16</ResTCScoreColor>
    <ResTCTargetValue>sample string 15</ResTCTargetValue>
    <ReturnMessage>sample string 68</ReturnMessage>
  </RegionalSalesDetailModel>
  <RegionalSalesDetailModel>
    <BranchCode>sample string 6</BranchCode>
    <BranchName>sample string 7</BranchName>
    <CallsActualValue>sample string 54</CallsActualValue>
    <CallsPerDay>sample string 50</CallsPerDay>
    <CallsPlanValue>sample string 53</CallsPlanValue>
    <CallsProjectedValue>sample string 55</CallsProjectedValue>
    <CallsScoreColor>sample string 52</CallsScoreColor>
    <CallsTargetValue>sample string 51</CallsTargetValue>
    <ComPC>sample string 20</ComPC>
    <ComPCActualValue>sample string 24</ComPCActualValue>
    <ComPCPlanValue>sample string 23</ComPCPlanValue>
    <ComPCProjectedValue>sample string 25</ComPCProjectedValue>
    <ComPCScoreColor>sample string 22</ComPCScoreColor>
    <ComPCTargetValue>sample string 21</ComPCTargetValue>
    <CommTC>sample string 26</CommTC>
    <CommTCActualValue>sample string 30</CommTCActualValue>
    <CommTCPlanValue>sample string 29</CommTCPlanValue>
    <CommTCProjectedValue>sample string 31</CommTCProjectedValue>
    <CommTCScoreColor>sample string 28</CommTCScoreColor>
    <CommTCTargetValue>sample string 27</CommTCTargetValue>
    <CompanyCode>sample string 1</CompanyCode>
    <DivisionCode>sample string 2</DivisionCode>
    <DivisionName>sample string 3</DivisionName>
    <InvPC>sample string 32</InvPC>
    <InvPCActualValue>sample string 36</InvPCActualValue>
    <InvPCPlanValue>sample string 35</InvPCPlanValue>
    <InvPCProjectedValue>sample string 37</InvPCProjectedValue>
    <InvPCScoreColor>sample string 34</InvPCScoreColor>
    <InvPCTargetValue>sample string 33</InvPCTargetValue>
    <InvTC>sample string 38</InvTC>
    <InvTCActualValue>sample string 42</InvTCActualValue>
    <InvTCPlanValue>sample string 41</InvTCPlanValue>
    <InvTCProjectedValue>sample string 43</InvTCProjectedValue>
    <InvTCScoreColor>sample string 40</InvTCScoreColor>
    <InvTCTargetValue>sample string 39</InvTCTargetValue>
    <OSP2ActualValue>sample string 48</OSP2ActualValue>
    <OSP2PlanValue>sample string 47</OSP2PlanValue>
    <OSP2ProjectedValue>sample string 49</OSP2ProjectedValue>
    <OSP2Sales>sample string 44</OSP2Sales>
    <OSP2ScoreColor>sample string 46</OSP2ScoreColor>
    <OSP2TargetValue>sample string 45</OSP2TargetValue>
    <PIGActualValue>sample string 66</PIGActualValue>
    <PIGPlanValue>sample string 65</PIGPlanValue>
    <PIGProjectedValue>sample string 67</PIGProjectedValue>
    <PIGSales>sample string 62</PIGSales>
    <PIGScoreColor>sample string 64</PIGScoreColor>
    <PIGTargetValue>sample string 63</PIGTargetValue>
    <ProposalsActualValue>sample string 60</ProposalsActualValue>
    <ProposalsPerDay>sample string 56</ProposalsPerDay>
    <ProposalsPlanValue>sample string 59</ProposalsPlanValue>
    <ProposalsProjectedValue>sample string 61</ProposalsProjectedValue>
    <ProposalsScoreColor>sample string 58</ProposalsScoreColor>
    <ProposalsTargetValue>sample string 57</ProposalsTargetValue>
    <RegionCode>sample string 4</RegionCode>
    <RegionName>sample string 5</RegionName>
    <ResPC>sample string 8</ResPC>
    <ResPCActualValue>sample string 12</ResPCActualValue>
    <ResPCPlanValue>sample string 11</ResPCPlanValue>
    <ResPCProjectedValue>sample string 13</ResPCProjectedValue>
    <ResPCScoreColor>sample string 10</ResPCScoreColor>
    <ResPCTargetValue>sample string 9</ResPCTargetValue>
    <ResTC>sample string 14</ResTC>
    <ResTCActualValue>sample string 18</ResTCActualValue>
    <ResTCPlanValue>sample string 17</ResTCPlanValue>
    <ResTCProjectedValue>sample string 19</ResTCProjectedValue>
    <ResTCScoreColor>sample string 16</ResTCScoreColor>
    <ResTCTargetValue>sample string 15</ResTCTargetValue>
    <ReturnMessage>sample string 68</ReturnMessage>
  </RegionalSalesDetailModel>
</ArrayOfRegionalSalesDetailModel>