POST V2/Email

Request Information

URI Parameters

None.

Body Parameters

EmailSearchPageInfo
NameDescriptionTypeAdditional information
Key

string

None.

SendTo

string

None.

PageInfo

PageInfo

None.

Reflesh

integer

None.

IndexKey

string

None.

Request Formats

application/json, text/json

Sample:
{
  "Key": "sample string 1",
  "SendTo": "sample string 2",
  "PageInfo": {
    "Page": 1,
    "PageSize": 2,
    "Offset": 0,
    "SortName": "sample string 3",
    "SortOrder": "sample string 4"
  },
  "Reflesh": 3,
  "IndexKey": "sample string 2-sample string 11-2"
}

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 'EmailSearchPageInfo'.

Response Information

Resource Description

PageDataOfEmailViewModel
NameDescriptionTypeAdditional information
TotalPage

integer

None.

TotalRecord

integer

None.

Data

Collection of EmailViewModel

None.

Page

integer

None.

PageSize

integer

None.

Offset

integer

None.

SortName

string

None.

SortOrder

string

None.

Response Formats

application/json, text/json

Sample:
{
  "TotalPage": 1,
  "TotalRecord": 1,
  "Data": [
    {
      "Id": "4cf7fef7-890f-4406-bd96-b0159d9547ad",
      "From": "sample string 2",
      "To": "sample string 3",
      "Subject": "sample string 4",
      "Content": "sample string 5",
      "SendDataStr": "sample string 6"
    },
    {
      "Id": "4cf7fef7-890f-4406-bd96-b0159d9547ad",
      "From": "sample string 2",
      "To": "sample string 3",
      "Subject": "sample string 4",
      "Content": "sample string 5",
      "SendDataStr": "sample string 6"
    }
  ],
  "Page": 2,
  "PageSize": 3,
  "Offset": 3,
  "SortName": "sample string 4",
  "SortOrder": "sample string 5"
}