POST api/branch/GetBranchesInCompany

Request Information

URI Parameters

None.

Body Parameters

CompanyParameters
NameDescriptionTypeAdditional information
companyCode

string

None.

deviceID

string

None.

ticketID

string

None.

Request Formats

application/json, text/json

Sample:
{
  "companyCode": "sample string 1",
  "deviceID": "sample string 2",
  "ticketID": "sample string 3"
}

application/xml, text/xml

Sample:
<CompanyParameters 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 2</deviceID>
  <ticketID>sample string 3</ticketID>
</CompanyParameters>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

Collection of Branch
NameDescriptionTypeAdditional information
BranchCode

string

None.

BranchName

string

None.

RESPCSales

string

None.

RESTCSales

string

None.

COMMPCSales

string

None.

COMMTCSales

string

None.

ReturnMessage

string

None.

Response Formats

application/json, text/json

Sample:
[
  {
    "BranchCode": "sample string 1",
    "BranchName": "sample string 2",
    "RESPCSales": "sample string 3",
    "RESTCSales": "sample string 4",
    "COMMPCSales": "sample string 5",
    "COMMTCSales": "sample string 6",
    "ReturnMessage": "sample string 7"
  },
  {
    "BranchCode": "sample string 1",
    "BranchName": "sample string 2",
    "RESPCSales": "sample string 3",
    "RESTCSales": "sample string 4",
    "COMMPCSales": "sample string 5",
    "COMMTCSales": "sample string 6",
    "ReturnMessage": "sample string 7"
  }
]

application/xml, text/xml

Sample:
<ArrayOfBranch xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/TMXWebAPI.Models">
  <Branch>
    <BranchCode>sample string 1</BranchCode>
    <BranchName>sample string 2</BranchName>
    <COMMPCSales>sample string 5</COMMPCSales>
    <COMMTCSales>sample string 6</COMMTCSales>
    <RESPCSales>sample string 3</RESPCSales>
    <RESTCSales>sample string 4</RESTCSales>
    <ReturnMessage>sample string 7</ReturnMessage>
  </Branch>
  <Branch>
    <BranchCode>sample string 1</BranchCode>
    <BranchName>sample string 2</BranchName>
    <COMMPCSales>sample string 5</COMMPCSales>
    <COMMTCSales>sample string 6</COMMTCSales>
    <RESPCSales>sample string 3</RESPCSales>
    <RESTCSales>sample string 4</RESTCSales>
    <ReturnMessage>sample string 7</ReturnMessage>
  </Branch>
</ArrayOfBranch>