GET api/SalesPersonMaster?MID={MID}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
MID

integer

Required

Body Parameters

None.

Response Information

Resource Description

Collection of SalesPersonMaster
NameDescriptionTypeAdditional information
SALESPERSON_CODE

string

Required

Max length: 6

DESCRIPTION

string

Required

Max length: 40

COMMISSION

decimal number

None.

MID

integer

Required

SALESMAN_IMAGE_PATH

string

Max length: 150

SALESMAN_IMAGE

Collection of byte

None.

SYSTEM_DATE

date

None.

SP_SHORTNAME

string

Max length: 40

SP_BRANCHCODE

string

Max length: 6

EMPMST_CODE

string

Required

Max length: 6

ACTIVE

boolean

Required

Response Formats

application/json, text/json

Sample:
[
  {
    "SALESPERSON_CODE": "sample string 1",
    "DESCRIPTION": "sample string 2",
    "COMMISSION": 3.1,
    "MID": 4,
    "SALESMAN_IMAGE_PATH": "sample string 5",
    "SALESMAN_IMAGE": "QEA=",
    "SYSTEM_DATE": "2025-12-16T07:35:44.7372047+04:00",
    "SP_SHORTNAME": "sample string 7",
    "SP_BRANCHCODE": "sample string 8",
    "EMPMST_CODE": "sample string 9",
    "ACTIVE": true
  },
  {
    "SALESPERSON_CODE": "sample string 1",
    "DESCRIPTION": "sample string 2",
    "COMMISSION": 3.1,
    "MID": 4,
    "SALESMAN_IMAGE_PATH": "sample string 5",
    "SALESMAN_IMAGE": "QEA=",
    "SYSTEM_DATE": "2025-12-16T07:35:44.7372047+04:00",
    "SP_SHORTNAME": "sample string 7",
    "SP_BRANCHCODE": "sample string 8",
    "EMPMST_CODE": "sample string 9",
    "ACTIVE": true
  }
]

text/html

Sample:
[{"SALESPERSON_CODE":"sample string 1","DESCRIPTION":"sample string 2","COMMISSION":3.1,"MID":4,"SALESMAN_IMAGE_PATH":"sample string 5","SALESMAN_IMAGE":"QEA=","SYSTEM_DATE":"2025-12-16T07:35:44.7372047+04:00","SP_SHORTNAME":"sample string 7","SP_BRANCHCODE":"sample string 8","EMPMST_CODE":"sample string 9","ACTIVE":true},{"SALESPERSON_CODE":"sample string 1","DESCRIPTION":"sample string 2","COMMISSION":3.1,"MID":4,"SALESMAN_IMAGE_PATH":"sample string 5","SALESMAN_IMAGE":"QEA=","SYSTEM_DATE":"2025-12-16T07:35:44.7372047+04:00","SP_SHORTNAME":"sample string 7","SP_BRANCHCODE":"sample string 8","EMPMST_CODE":"sample string 9","ACTIVE":true}]

application/xml, text/xml

Sample:
<ArrayOfSalesPersonMaster xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/webAppApi.Models.Master">
  <SalesPersonMaster>
    <ACTIVE>true</ACTIVE>
    <COMMISSION>3.1</COMMISSION>
    <DESCRIPTION>sample string 2</DESCRIPTION>
    <EMPMST_CODE>sample string 9</EMPMST_CODE>
    <MID>4</MID>
    <SALESMAN_IMAGE>QEA=</SALESMAN_IMAGE>
    <SALESMAN_IMAGE_PATH>sample string 5</SALESMAN_IMAGE_PATH>
    <SALESPERSON_CODE>sample string 1</SALESPERSON_CODE>
    <SP_BRANCHCODE>sample string 8</SP_BRANCHCODE>
    <SP_SHORTNAME>sample string 7</SP_SHORTNAME>
    <SYSTEM_DATE>2025-12-16T07:35:44.7372047+04:00</SYSTEM_DATE>
  </SalesPersonMaster>
  <SalesPersonMaster>
    <ACTIVE>true</ACTIVE>
    <COMMISSION>3.1</COMMISSION>
    <DESCRIPTION>sample string 2</DESCRIPTION>
    <EMPMST_CODE>sample string 9</EMPMST_CODE>
    <MID>4</MID>
    <SALESMAN_IMAGE>QEA=</SALESMAN_IMAGE>
    <SALESMAN_IMAGE_PATH>sample string 5</SALESMAN_IMAGE_PATH>
    <SALESPERSON_CODE>sample string 1</SALESPERSON_CODE>
    <SP_BRANCHCODE>sample string 8</SP_BRANCHCODE>
    <SP_SHORTNAME>sample string 7</SP_SHORTNAME>
    <SYSTEM_DATE>2025-12-16T07:35:44.7372047+04:00</SYSTEM_DATE>
  </SalesPersonMaster>
</ArrayOfSalesPersonMaster>