POST api/sales/GetBranchOSPSalesProposals

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

SalesCallProposalActivityModel
NameDescriptionTypeAdditional information
SalesCallItems

Collection of SalesCallsProposalFinalItem

None.

EmployeeItems

Collection of EmployeeSalesItem

None.

ReturnMessage

string

None.

Response Formats

application/json, text/json

Sample:
{
  "SalesCallItems": [
    {
      "BranchCode": "sample string 1",
      "Date": "sample string 2",
      "ServiceLine": "sample string 3",
      "EmployeeCode": "sample string 4",
      "EmployeeName": "sample string 5",
      "PartyNumber": "sample string 6",
      "PartyName": "sample string 7",
      "LeadSoruce": "sample string 8"
    },
    {
      "BranchCode": "sample string 1",
      "Date": "sample string 2",
      "ServiceLine": "sample string 3",
      "EmployeeCode": "sample string 4",
      "EmployeeName": "sample string 5",
      "PartyNumber": "sample string 6",
      "PartyName": "sample string 7",
      "LeadSoruce": "sample string 8"
    }
  ],
  "EmployeeItems": [
    {
      "EmployeeCode": "sample string 1",
      "EmployeeName": "sample string 2",
      "Count": 3,
      "Count2": 4,
      "AvgCount": 5.0,
      "Amount": 6.0
    },
    {
      "EmployeeCode": "sample string 1",
      "EmployeeName": "sample string 2",
      "Count": 3,
      "Count2": 4,
      "AvgCount": 5.0,
      "Amount": 6.0
    }
  ],
  "ReturnMessage": "sample string 1"
}

application/xml, text/xml

Sample:
<SalesCallProposalActivityModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/TMXWebAPI.Models">
  <EmployeeItems>
    <EmployeeSalesItem>
      <Amount>6</Amount>
      <AvgCount>5</AvgCount>
      <Count>3</Count>
      <Count2>4</Count2>
      <EmployeeCode>sample string 1</EmployeeCode>
      <EmployeeName>sample string 2</EmployeeName>
    </EmployeeSalesItem>
    <EmployeeSalesItem>
      <Amount>6</Amount>
      <AvgCount>5</AvgCount>
      <Count>3</Count>
      <Count2>4</Count2>
      <EmployeeCode>sample string 1</EmployeeCode>
      <EmployeeName>sample string 2</EmployeeName>
    </EmployeeSalesItem>
  </EmployeeItems>
  <ReturnMessage>sample string 1</ReturnMessage>
  <SalesCallItems>
    <SalesCallsProposalFinalItem>
      <BranchCode>sample string 1</BranchCode>
      <Date>sample string 2</Date>
      <EmployeeCode>sample string 4</EmployeeCode>
      <EmployeeName>sample string 5</EmployeeName>
      <LeadSoruce>sample string 8</LeadSoruce>
      <PartyName>sample string 7</PartyName>
      <PartyNumber>sample string 6</PartyNumber>
      <ServiceLine>sample string 3</ServiceLine>
    </SalesCallsProposalFinalItem>
    <SalesCallsProposalFinalItem>
      <BranchCode>sample string 1</BranchCode>
      <Date>sample string 2</Date>
      <EmployeeCode>sample string 4</EmployeeCode>
      <EmployeeName>sample string 5</EmployeeName>
      <LeadSoruce>sample string 8</LeadSoruce>
      <PartyName>sample string 7</PartyName>
      <PartyNumber>sample string 6</PartyNumber>
      <ServiceLine>sample string 3</ServiceLine>
    </SalesCallsProposalFinalItem>
  </SalesCallItems>
</SalesCallProposalActivityModel>