POST api/branch/GetDivisionsInCompany

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 Division
NameDescriptionTypeAdditional information
DivisionCode

string

None.

DivisionName

string

None.

RESPCSales

string

None.

RESTCSales

string

None.

COMMPCSales

string

None.

COMMTCSales

string

None.

ReturnMessage

string

None.

Response Formats

application/json, text/json

Sample:
[
  {
    "DivisionCode": "sample string 1",
    "DivisionName": "sample string 2",
    "RESPCSales": "sample string 3",
    "RESTCSales": "sample string 4",
    "COMMPCSales": "sample string 5",
    "COMMTCSales": "sample string 6",
    "ReturnMessage": "sample string 7"
  },
  {
    "DivisionCode": "sample string 1",
    "DivisionName": "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:
<ArrayOfDivision xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/TMXWebAPI.Models">
  <Division>
    <COMMPCSales>sample string 5</COMMPCSales>
    <COMMTCSales>sample string 6</COMMTCSales>
    <DivisionCode>sample string 1</DivisionCode>
    <DivisionName>sample string 2</DivisionName>
    <RESPCSales>sample string 3</RESPCSales>
    <RESTCSales>sample string 4</RESTCSales>
    <ReturnMessage>sample string 7</ReturnMessage>
  </Division>
  <Division>
    <COMMPCSales>sample string 5</COMMPCSales>
    <COMMTCSales>sample string 6</COMMTCSales>
    <DivisionCode>sample string 1</DivisionCode>
    <DivisionName>sample string 2</DivisionName>
    <RESPCSales>sample string 3</RESPCSales>
    <RESTCSales>sample string 4</RESTCSales>
    <ReturnMessage>sample string 7</ReturnMessage>
  </Division>
</ArrayOfDivision>