POST new/work/person

获取售后人员名单

Request Information

URI Parameters

None.

Body Parameters

WorkGetHandlerRequest
NameDescriptionTypeAdditional information
Id

工单 ID。

integer

None.

IsHas

是否包含当前用户。

boolean

None.

AssignList

指派对象列表(部门或人员)。

Collection of CommonModel

None.

Request Formats

application/json, text/json

Sample:
{
  "Id": 1,
  "IsHas": true,
  "AssignList": [
    {
      "id": 1,
      "name": "sample string 2",
      "value": "sample string 3",
      "type": 4,
      "selectIds": [
        1,
        2
      ],
      "isLogPublic": true
    },
    {
      "id": 1,
      "name": "sample string 2",
      "value": "sample string 3",
      "type": 4,
      "selectIds": [
        1,
        2
      ],
      "isLogPublic": true
    }
  ]
}

application/xml, text/xml

Sample:
<WorkGetHandlerRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ma.Api.Controllers.Dtos">
  <AssignList xmlns:d2p1="http://schemas.datacontract.org/2004/07/ma.Api.Models.CustomWork">
    <d2p1:CommonModel>
      <d2p1:Id>1</d2p1:Id>
      <d2p1:IsLogPublic>true</d2p1:IsLogPublic>
      <d2p1:Name>sample string 2</d2p1:Name>
      <d2p1:SelectIds xmlns:d4p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
        <d4p1:long>1</d4p1:long>
        <d4p1:long>2</d4p1:long>
      </d2p1:SelectIds>
      <d2p1:Type>4</d2p1:Type>
      <d2p1:Value>sample string 3</d2p1:Value>
    </d2p1:CommonModel>
    <d2p1:CommonModel>
      <d2p1:Id>1</d2p1:Id>
      <d2p1:IsLogPublic>true</d2p1:IsLogPublic>
      <d2p1:Name>sample string 2</d2p1:Name>
      <d2p1:SelectIds xmlns:d4p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
        <d4p1:long>1</d4p1:long>
        <d4p1:long>2</d4p1:long>
      </d2p1:SelectIds>
      <d2p1:Type>4</d2p1:Type>
      <d2p1:Value>sample string 3</d2p1:Value>
    </d2p1:CommonModel>
  </AssignList>
  <Id>1</Id>
  <IsHas>true</IsHas>
</WorkGetHandlerRequest>

application/x-www-form-urlencoded

Sample:

Failed to generate the sample for media type 'application/x-www-form-urlencoded'. Cannot use formatter 'JQueryMvcFormUrlEncodedFormatter' to write type 'WorkGetHandlerRequest'.

Response Information

Resource Description

返回包含售后人员列表的JSON响应,包括常用列表、人员列表、抄送人员ID列表和抄送人员姓名

ApiDataResponse
NameDescriptionTypeAdditional information
Ok

接口是否成功。

boolean

None.

Data

返回数据。

Object

None.

Msg

返回消息。

string

None.

Response Formats

application/json, text/json

Sample:
{
  "Ok": true,
  "Data": {},
  "Msg": "sample string 3"
}

application/xml, text/xml

Sample:
<ApiDataResponse xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ma.Api.Controllers.Dtos">
  <Data />
  <Msg>sample string 3</Msg>
  <Ok>true</Ok>
</ApiDataResponse>