POST api/Petition/Search

Request Information

URI Parameters

None.

Body Parameters

PetitionSearchParameter
NameDescriptionTypeAdditional information
Email

string

Matching regular expression pattern: ^[\w-]+(\.[\w-]+)*@[\w-]+(\.[\w-]+)+$

MobilePhone

string

Matching regular expression pattern: ^09[0-9]{8}$

PetitionNo

string

Required

ReToken

string

Required

Request Formats

application/json, text/json

Sample:
{
  "email": "sample string 1",
  "mobilePhone": "sample string 2",
  "petitionNo": "sample string 3",
  "reToken": "sample string 4"
}

application/x-www-form-urlencoded

Sample:

Sample not available.

multipart/form-data

Sample:

Sample not available.

Response Information

Resource Description

PetitionDetailVm
NameDescriptionTypeAdditional information
Subject

string

None.

PetitionNo

string

None.

CategoryName1

string

None.

CategoryName2

string

None.

PetitionDate

date

None.

Content

string

None.

ResponseTime

date

None.

ResponseContent

string

None.

Status

string

None.

DbFiles

Collection of ContentFileModel

None.

Response Formats

application/json, text/json

Sample:
{
  "subject": "sample string 1",
  "petitionNo": "sample string 2",
  "categoryName1": "sample string 3",
  "categoryName2": "sample string 4",
  "petitionDate": "2024-11-21T14:29:15.6352658+08:00",
  "content": "sample string 5",
  "responseTime": "2024-11-21T14:29:15.6352658+08:00",
  "responseContent": "sample string 6",
  "status": "sample string 7",
  "dbFiles": [
    {
      "fileId": "sample string 1",
      "oId": 1.0,
      "fileName": "sample string 2",
      "fileKbSize": 1,
      "fileUrl": "sample string 3",
      "fileDocsName": "sample string 4",
      "filePath": "sample string 5",
      "fileFullPath": "sample string 6",
      "tableName": "sample string 7",
      "contentType": "sample string 8"
    },
    {
      "fileId": "sample string 1",
      "oId": 1.0,
      "fileName": "sample string 2",
      "fileKbSize": 1,
      "fileUrl": "sample string 3",
      "fileDocsName": "sample string 4",
      "filePath": "sample string 5",
      "fileFullPath": "sample string 6",
      "tableName": "sample string 7",
      "contentType": "sample string 8"
    }
  ]
}