POST api/GetMailList

获取议题列表

Request Information

URI Parameters

None.

Body Parameters

d=[Genre=[Genre int not null,(0,最新;1,已关闭;2,我的进行中;3,我的已关闭)],Region=[Region int not null,信箱层级],MatrixID=[MartixID int null,矩阵节点ID],PageNumber=[PageNumber int not null],PageSize=[PageSize int not null]]

UploadParameters
NameDescriptionTypeAdditional information
u

用户ID StaffID

integer

None.

t

全局数据(加密) 1.单点登陆格式:[[用户密码,加密]|[requestTime]|[设备标识],加密] 2.其他数据通讯格式:[[用户ID]|[用户密码,加密]|[requestTime]|[设备标识],加密]

string

Required

d

数据参数 加密(单点登陆除外) 不同API,参数格式不同

string

None.

Request Formats

application/json, text/json

Sample:
{
  "u": 1,
  "t": "sample string 2",
  "d": "sample string 3"
}

application/xml, text/xml

Sample:
<UploadParameters xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ArtizanAPI.Models">
  <d>sample string 3</d>
  <t>sample string 2</t>
  <u>1</u>
</UploadParameters>

application/x-www-form-urlencoded

Sample:
u=Value&t=Value&d=Value

Response Information

Resource Description

获取议题列表

DataResultListOfMailBox
NameDescriptionTypeAdditional information
DataList

Collection of MailBox

None.

PageNum

integer

None.

PageSize

integer

None.

PageCount

integer

None.

PreviousIndex

integer

None.

NextIndex

integer

None.

RecordCount

integer

None.

Error

boolean

None.

ErrorInfo

Collection of string

None.

ExInfo

Exception

None.

Response Formats

application/json, text/json

Sample:
{
  "_pageSize": 2,
  "_recordCount": 3,
  "_pageNum": 1,
  "_error": true,
  "_errorInfo": [
    "sample string 1",
    "sample string 2"
  ],
  "_exInfo": {
    "ClassName": "System.Exception",
    "Message": null,
    "Data": null,
    "InnerException": null,
    "HelpURL": "sample string 1",
    "StackTraceString": null,
    "RemoteStackTraceString": null,
    "RemoteStackIndex": 0,
    "ExceptionMethod": null,
    "HResult": 3,
    "Source": "sample string 2",
    "WatsonBuckets": null
  },
  "_dataList": [
    {
      "ID": 1,
      "CreaterID": 2,
      "Title": "sample string 4",
      "Region": 5,
      "CanOpen": true,
      "OpenedStatus": 0,
      "AuditStatus": 0,
      "IsStick": true,
      "IsClosed": true,
      "NeedChecked": true,
      "CreateTime": "2025-05-13T21:09:53.8939543+08:00",
      "UpdateTime": "2025-05-13T21:09:53.8939543+08:00",
      "Creater": {
        "ID": 1,
        "Name": "sample string 2",
        "HeadPicUrl": "sample string 3",
        "CompanyID": 4,
        "CompanyName": "sample string 5",
        "IsPersident": true,
        "Region": 7,
        "CreateTime": "2025-05-13T21:09:53.8939543+08:00",
        "UpdateTime": "2025-05-13T21:09:53.8939543+08:00"
      },
      "F": {
        "MailBoxID": 1,
        "StaffID": 2,
        "Job": "sample string 3",
        "HasCared": true,
        "MemberAmounts": 5,
        "ReplyAmounts": 6,
        "Contents": "sample string 7"
      }
    },
    {
      "ID": 1,
      "CreaterID": 2,
      "Title": "sample string 4",
      "Region": 5,
      "CanOpen": true,
      "OpenedStatus": 0,
      "AuditStatus": 0,
      "IsStick": true,
      "IsClosed": true,
      "NeedChecked": true,
      "CreateTime": "2025-05-13T21:09:53.8939543+08:00",
      "UpdateTime": "2025-05-13T21:09:53.8939543+08:00",
      "Creater": {
        "ID": 1,
        "Name": "sample string 2",
        "HeadPicUrl": "sample string 3",
        "CompanyID": 4,
        "CompanyName": "sample string 5",
        "IsPersident": true,
        "Region": 7,
        "CreateTime": "2025-05-13T21:09:53.8939543+08:00",
        "UpdateTime": "2025-05-13T21:09:53.8939543+08:00"
      },
      "F": {
        "MailBoxID": 1,
        "StaffID": 2,
        "Job": "sample string 3",
        "HasCared": true,
        "MemberAmounts": 5,
        "ReplyAmounts": 6,
        "Contents": "sample string 7"
      }
    }
  ]
}

application/xml, text/xml

Sample:
<DataResultListOfMailBox5L9Ki7fR xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Care365_V2.Utility">
  <_dataList xmlns:d2p1="http://schemas.datacontract.org/2004/07/Care365_V2.Model.CompanySys">
    <d2p1:MailBox>
      <d2p1:AuditStatus>After</d2p1:AuditStatus>
      <d2p1:CanOpen>true</d2p1:CanOpen>
      <d2p1:CreateTime>2025-05-13T21:09:53.8939543+08:00</d2p1:CreateTime>
      <d2p1:Creater>
        <d2p1:CompanyID>4</d2p1:CompanyID>
        <d2p1:CompanyName>sample string 5</d2p1:CompanyName>
        <d2p1:CreateTime>2025-05-13T21:09:53.8939543+08:00</d2p1:CreateTime>
        <d2p1:HeadPicUrl>sample string 3</d2p1:HeadPicUrl>
        <d2p1:ID>1</d2p1:ID>
        <d2p1:IsPersident>true</d2p1:IsPersident>
        <d2p1:Name>sample string 2</d2p1:Name>
        <d2p1:Region>7</d2p1:Region>
        <d2p1:UpdateTime>2025-05-13T21:09:53.8939543+08:00</d2p1:UpdateTime>
      </d2p1:Creater>
      <d2p1:CreaterID>2</d2p1:CreaterID>
      <d2p1:F>
        <d2p1:Contents>sample string 7</d2p1:Contents>
        <d2p1:HasCared>true</d2p1:HasCared>
        <d2p1:Job>sample string 3</d2p1:Job>
        <d2p1:MailBoxID>1</d2p1:MailBoxID>
        <d2p1:MemberAmounts>5</d2p1:MemberAmounts>
        <d2p1:ReplyAmounts>6</d2p1:ReplyAmounts>
        <d2p1:StaffID>2</d2p1:StaffID>
      </d2p1:F>
      <d2p1:ID>1</d2p1:ID>
      <d2p1:IsClosed>true</d2p1:IsClosed>
      <d2p1:IsStick>true</d2p1:IsStick>
      <d2p1:NeedChecked>true</d2p1:NeedChecked>
      <d2p1:OpenedStatus>开放</d2p1:OpenedStatus>
      <d2p1:Region>5</d2p1:Region>
      <d2p1:Title>sample string 4</d2p1:Title>
      <d2p1:UpdateTime>2025-05-13T21:09:53.8939543+08:00</d2p1:UpdateTime>
    </d2p1:MailBox>
    <d2p1:MailBox>
      <d2p1:AuditStatus>After</d2p1:AuditStatus>
      <d2p1:CanOpen>true</d2p1:CanOpen>
      <d2p1:CreateTime>2025-05-13T21:09:53.8939543+08:00</d2p1:CreateTime>
      <d2p1:Creater>
        <d2p1:CompanyID>4</d2p1:CompanyID>
        <d2p1:CompanyName>sample string 5</d2p1:CompanyName>
        <d2p1:CreateTime>2025-05-13T21:09:53.8939543+08:00</d2p1:CreateTime>
        <d2p1:HeadPicUrl>sample string 3</d2p1:HeadPicUrl>
        <d2p1:ID>1</d2p1:ID>
        <d2p1:IsPersident>true</d2p1:IsPersident>
        <d2p1:Name>sample string 2</d2p1:Name>
        <d2p1:Region>7</d2p1:Region>
        <d2p1:UpdateTime>2025-05-13T21:09:53.8939543+08:00</d2p1:UpdateTime>
      </d2p1:Creater>
      <d2p1:CreaterID>2</d2p1:CreaterID>
      <d2p1:F>
        <d2p1:Contents>sample string 7</d2p1:Contents>
        <d2p1:HasCared>true</d2p1:HasCared>
        <d2p1:Job>sample string 3</d2p1:Job>
        <d2p1:MailBoxID>1</d2p1:MailBoxID>
        <d2p1:MemberAmounts>5</d2p1:MemberAmounts>
        <d2p1:ReplyAmounts>6</d2p1:ReplyAmounts>
        <d2p1:StaffID>2</d2p1:StaffID>
      </d2p1:F>
      <d2p1:ID>1</d2p1:ID>
      <d2p1:IsClosed>true</d2p1:IsClosed>
      <d2p1:IsStick>true</d2p1:IsStick>
      <d2p1:NeedChecked>true</d2p1:NeedChecked>
      <d2p1:OpenedStatus>开放</d2p1:OpenedStatus>
      <d2p1:Region>5</d2p1:Region>
      <d2p1:Title>sample string 4</d2p1:Title>
      <d2p1:UpdateTime>2025-05-13T21:09:53.8939543+08:00</d2p1:UpdateTime>
    </d2p1:MailBox>
  </_dataList>
  <_error>true</_error>
  <_errorInfo xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
    <d2p1:string>sample string 1</d2p1:string>
    <d2p1:string>sample string 2</d2p1:string>
  </_errorInfo>
  <_exInfo xmlns:d2p1="http://schemas.datacontract.org/2004/07/System">
    <ClassName xmlns:d3p1="http://www.w3.org/2001/XMLSchema" i:type="d3p1:string" xmlns="">System.Exception</ClassName>
    <Message i:nil="true" xmlns="" />
    <Data i:nil="true" xmlns="" />
    <InnerException i:nil="true" xmlns="" />
    <HelpURL xmlns:d3p1="http://www.w3.org/2001/XMLSchema" i:type="d3p1:string" xmlns="">sample string 1</HelpURL>
    <StackTraceString i:nil="true" xmlns="" />
    <RemoteStackTraceString i:nil="true" xmlns="" />
    <RemoteStackIndex xmlns:d3p1="http://www.w3.org/2001/XMLSchema" i:type="d3p1:int" xmlns="">0</RemoteStackIndex>
    <ExceptionMethod i:nil="true" xmlns="" />
    <HResult xmlns:d3p1="http://www.w3.org/2001/XMLSchema" i:type="d3p1:int" xmlns="">3</HResult>
    <Source xmlns:d3p1="http://www.w3.org/2001/XMLSchema" i:type="d3p1:string" xmlns="">sample string 2</Source>
    <WatsonBuckets i:nil="true" xmlns="" />
  </_exInfo>
  <_pageNum>1</_pageNum>
  <_pageSize>2</_pageSize>
  <_recordCount>3</_recordCount>
</DataResultListOfMailBox5L9Ki7fR>