GET api/MhOrder/GetSalePersonList

获取销售人员列表

Request Information

URI Parameters

None.

Body Parameters

None.

Response Information

Resource Description

获取销售人员列表

Collection of SalePerson
NameDescriptionTypeAdditional information
Id

主键

integer

None.

UserId

对应的工单后台用户id

integer

None.

Name

销售员名称

string

None.

IsMain

是否为主销售员

boolean

None.

Response Formats

application/json

Sample:

An exception has occurred while using the formatter 'JsonpMediaTypeFormatter' to generate sample for media type 'application/json'. Exception message: 无法访问已关闭的流。

text/json

Sample:

An exception has occurred while using the formatter 'JsonpMediaTypeFormatter' to generate sample for media type 'text/json'. Exception message: 无法访问已关闭的流。

application/xml, text/xml

Sample:
<ArrayOfSalePerson xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Mh.Common.Service.WorkOrderSystem">
  <SalePerson>
    <Id>1</Id>
    <IsMain>true</IsMain>
    <Name>sample string 3</Name>
    <UserId>2</UserId>
  </SalePerson>
  <SalePerson>
    <Id>1</Id>
    <IsMain>true</IsMain>
    <Name>sample string 3</Name>
    <UserId>2</UserId>
  </SalePerson>
</ArrayOfSalePerson>