POST api/Report/ConsentDataUser

Request Information

URI Parameters

None.

Body Parameters

ReportConsentDataUserSearch
NameDescriptionTypeAdditional information
RoleId

integer

None.

ConsentDataId

integer

None.

SearchText

string

None.

PageSize

integer

None.

CurrentPage

integer

None.

IsExport

boolean

None.

Request Formats

application/json, text/json

Sample:
{
  "RoleId": 1,
  "ConsentDataId": 2,
  "SearchText": "sample string 3",
  "PageSize": 4,
  "CurrentPage": 5,
  "IsExport": true
}

text/html

Sample:
{"RoleId":1,"ConsentDataId":2,"SearchText":"sample string 3","PageSize":4,"CurrentPage":5,"IsExport":true}

application/xml, text/xml

Sample:
<ReportConsentDataUserSearch xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/TTMWM_MECLAIM_API.ViewModels">
  <ConsentDataId>2</ConsentDataId>
  <CurrentPage>5</CurrentPage>
  <IsExport>true</IsExport>
  <PageSize>4</PageSize>
  <RoleId>1</RoleId>
  <SearchText>sample string 3</SearchText>
</ReportConsentDataUserSearch>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

ServiceResultTypedOfReportConsentDataUserResult
NameDescriptionTypeAdditional information
Code

integer

None.

Errors

Collection of string

None.

Data

ReportConsentDataUserResult

None.

Response Formats

application/json, text/json

Sample:
{
  "Code": 1,
  "Errors": [
    "sample string 1",
    "sample string 2"
  ],
  "Data": {
    "TotalRows": 1,
    "ItemList": [
      {
        "No": 1,
        "Username": "sample string 2",
        "EmployeeNo": "sample string 3",
        "EmployeeFullName": "sample string 4",
        "VersionNo": 5,
        "CreatedDtm": "2026-04-01T07:07:16.7173409+07:00"
      },
      {
        "No": 1,
        "Username": "sample string 2",
        "EmployeeNo": "sample string 3",
        "EmployeeFullName": "sample string 4",
        "VersionNo": 5,
        "CreatedDtm": "2026-04-01T07:07:16.7173409+07:00"
      }
    ]
  }
}

text/html

Sample:
{"Code":1,"Errors":["sample string 1","sample string 2"],"Data":{"TotalRows":1,"ItemList":[{"No":1,"Username":"sample string 2","EmployeeNo":"sample string 3","EmployeeFullName":"sample string 4","VersionNo":5,"CreatedDtm":"2026-04-01T07:07:16.7173409+07:00"},{"No":1,"Username":"sample string 2","EmployeeNo":"sample string 3","EmployeeFullName":"sample string 4","VersionNo":5,"CreatedDtm":"2026-04-01T07:07:16.7173409+07:00"}]}}

application/xml, text/xml

Sample:
<ServiceResultTypedOfReportConsentDataUserResultYj8O1tFc xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/LSW.Common.Models">
  <Code>1</Code>
  <Data xmlns:d2p1="http://schemas.datacontract.org/2004/07/TTMWM_MECLAIM_API.ViewModels">
    <d2p1:ItemList>
      <d2p1:ReportConsentDataUserResultItem>
        <d2p1:CreatedDtm>2026-04-01T07:07:16.7173409+07:00</d2p1:CreatedDtm>
        <d2p1:EmployeeFullName>sample string 4</d2p1:EmployeeFullName>
        <d2p1:EmployeeNo>sample string 3</d2p1:EmployeeNo>
        <d2p1:No>1</d2p1:No>
        <d2p1:Username>sample string 2</d2p1:Username>
        <d2p1:VersionNo>5</d2p1:VersionNo>
      </d2p1:ReportConsentDataUserResultItem>
      <d2p1:ReportConsentDataUserResultItem>
        <d2p1:CreatedDtm>2026-04-01T07:07:16.7173409+07:00</d2p1:CreatedDtm>
        <d2p1:EmployeeFullName>sample string 4</d2p1:EmployeeFullName>
        <d2p1:EmployeeNo>sample string 3</d2p1:EmployeeNo>
        <d2p1:No>1</d2p1:No>
        <d2p1:Username>sample string 2</d2p1:Username>
        <d2p1:VersionNo>5</d2p1:VersionNo>
      </d2p1:ReportConsentDataUserResultItem>
    </d2p1:ItemList>
    <d2p1:TotalRows>1</d2p1:TotalRows>
  </Data>
  <Errors xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
    <d2p1:string>sample string 1</d2p1:string>
    <d2p1:string>sample string 2</d2p1:string>
  </Errors>
</ServiceResultTypedOfReportConsentDataUserResultYj8O1tFc>