POST api/docs/Search?time={time}&sig={sig}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
time

string

Required

sig

string

Required

Body Parameters

DocSearchParam
NameDescriptionTypeAdditional information
Keywords

string

None.

PSize

integer

None.

Page

integer

None.

DateFrom

date

None.

DateTo

date

None.

SearchByDate

string

None.

SearchOptions

byte

None.

LanguageId

byte

None.

EffectStatusId

byte

None.

FieldId

integer

None.

SignerId

integer

None.

SignerName

string

None.

OrganId

integer

None.

DocTypeId

byte

None.

DataSourceId

integer

None.

DocGroupId

byte

None.

SearchExact

byte

None.

DocIds

Collection of integer

None.

EffectStatusIds

Collection of byte

None.

DocGroupIds

Collection of byte

None.

DocGroupIdExclude

Collection of byte

None.

DocTypeIds

Collection of byte

None.

DataSourceIds

Collection of integer

None.

FieldIds

Collection of integer

None.

OrganIds

Collection of integer

None.

SignerIds

Collection of integer

None.

ProvinceIds

Collection of integer

None.

IsueYears

Collection of integer

None.

ScopeIds

Collection of byte

None.

ExcludeScopeIds

Collection of byte

None.

OrderBy

string

None.

Request Formats

application/json, text/json

Sample:
{
  "Keywords": "sample string 1",
  "PSize": 1,
  "Page": 1,
  "DateFrom": "2026-06-13T10:30:51.9794301+07:00",
  "DateTo": "2026-06-13T10:30:51.9794301+07:00",
  "SearchByDate": "sample string 2",
  "SearchOptions": 64,
  "LanguageId": 64,
  "EffectStatusId": 64,
  "FieldId": 1,
  "SignerId": 1,
  "SignerName": "sample string 3",
  "OrganId": 1,
  "DocTypeId": 64,
  "DataSourceId": 1,
  "DocGroupId": 64,
  "SearchExact": 64,
  "DocIds": [
    1,
    2
  ],
  "EffectStatusIds": [
    64,
    64
  ],
  "DocGroupIds": [
    64,
    64
  ],
  "DocGroupIdExclude": [
    64,
    64
  ],
  "DocTypeIds": [
    64,
    64
  ],
  "DataSourceIds": [
    1,
    2
  ],
  "FieldIds": [
    1,
    2
  ],
  "OrganIds": [
    1,
    2
  ],
  "SignerIds": [
    1,
    2
  ],
  "ProvinceIds": [
    1,
    2
  ],
  "IsueYears": [
    1,
    2
  ],
  "ScopeIds": [
    64,
    64
  ],
  "ExcludeScopeIds": [
    64,
    64
  ],
  "OrderBy": "sample string 6"
}

application/xml, text/xml

Sample:
<DocSearchParam xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/LawsAPI.Models">
  <DataSourceId>1</DataSourceId>
  <DataSourceIds xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
    <d2p1:short>1</d2p1:short>
    <d2p1:short>2</d2p1:short>
  </DataSourceIds>
  <DateFrom>2026-06-13T10:30:51.9794301+07:00</DateFrom>
  <DateTo>2026-06-13T10:30:51.9794301+07:00</DateTo>
  <DocGroupId>64</DocGroupId>
  <DocGroupIdExclude xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
    <d2p1:unsignedByte>64</d2p1:unsignedByte>
    <d2p1:unsignedByte>64</d2p1:unsignedByte>
  </DocGroupIdExclude>
  <DocGroupIds xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
    <d2p1:unsignedByte>64</d2p1:unsignedByte>
    <d2p1:unsignedByte>64</d2p1:unsignedByte>
  </DocGroupIds>
  <DocIds xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
    <d2p1:int>1</d2p1:int>
    <d2p1:int>2</d2p1:int>
  </DocIds>
  <DocTypeId>64</DocTypeId>
  <DocTypeIds xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
    <d2p1:unsignedByte>64</d2p1:unsignedByte>
    <d2p1:unsignedByte>64</d2p1:unsignedByte>
  </DocTypeIds>
  <EffectStatusId>64</EffectStatusId>
  <EffectStatusIds xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
    <d2p1:unsignedByte>64</d2p1:unsignedByte>
    <d2p1:unsignedByte>64</d2p1:unsignedByte>
  </EffectStatusIds>
  <ExcludeScopeIds xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
    <d2p1:unsignedByte>64</d2p1:unsignedByte>
    <d2p1:unsignedByte>64</d2p1:unsignedByte>
  </ExcludeScopeIds>
  <FieldId>1</FieldId>
  <FieldIds xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
    <d2p1:short>1</d2p1:short>
    <d2p1:short>2</d2p1:short>
  </FieldIds>
  <IsueYears xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
    <d2p1:short>1</d2p1:short>
    <d2p1:short>2</d2p1:short>
  </IsueYears>
  <Keywords>sample string 1</Keywords>
  <LanguageId>64</LanguageId>
  <OrderBy>sample string 6</OrderBy>
  <OrganId>1</OrganId>
  <OrganIds xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
    <d2p1:short>1</d2p1:short>
    <d2p1:short>2</d2p1:short>
  </OrganIds>
  <PSize>1</PSize>
  <Page>1</Page>
  <ProvinceIds xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
    <d2p1:short>1</d2p1:short>
    <d2p1:short>2</d2p1:short>
  </ProvinceIds>
  <ScopeIds xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
    <d2p1:unsignedByte>64</d2p1:unsignedByte>
    <d2p1:unsignedByte>64</d2p1:unsignedByte>
  </ScopeIds>
  <SearchByDate>sample string 2</SearchByDate>
  <SearchExact>64</SearchExact>
  <SearchOptions>64</SearchOptions>
  <SignerId>1</SignerId>
  <SignerIds xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
    <d2p1:short>1</d2p1:short>
    <d2p1:short>2</d2p1:short>
  </SignerIds>
  <SignerName>sample string 3</SignerName>
</DocSearchParam>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

DocSearchModel
NameDescriptionTypeAdditional information
RowCount

integer

None.

docsModels

Collection of DocsModel

None.

fields

Collection of FieldModel

None.

docTypes

Collection of DocTypeModel

None.

draftingAgencys

Collection of DraftingAgencyModel

None.

effectStatus

Collection of EffectStatusModel

None.

organs

Collection of OrganModel

None.

provinces

Collection of ProvinceModel

None.

docGroups

Collection of DocGroupModel

None.

searchYears

Collection of SearchYearModel

None.

Response Formats

application/json, text/json

Sample:
{
  "RowCount": 1,
  "docsModels": [
    {
      "LanguageId": 64,
      "DocId": 2,
      "DocName": "sample string 3",
      "DocSummary": "sample string 4",
      "DocIdentity": "sample string 5",
      "IssueDate": "2026-06-13T10:30:51.9814302+07:00",
      "EffectDate": "2026-06-13T10:30:51.9814302+07:00",
      "ExpireDate": "2026-06-13T10:30:51.9814302+07:00",
      "GazetteNumber": "sample string 9",
      "GazetteDate": "2026-06-13T10:30:51.9814302+07:00",
      "EffectStatusId": 64,
      "DocUrl": "sample string 12",
      "DocGroupId": 64,
      "DocTypeId": 64,
      "IssueYear": 1,
      "EffectStatusName": "sample string 15",
      "DocTypeName": "sample string 16",
      "OrganName": "sample string 17",
      "SignerName": "sample string 18",
      "FieldName": "sample string 19",
      "DocComment": "sample string 20",
      "CrDateTime": "2026-06-13T10:30:51.9814302+07:00",
      "UpdDateTime": "2026-06-13T10:30:51.9814302+07:00"
    },
    {
      "LanguageId": 64,
      "DocId": 2,
      "DocName": "sample string 3",
      "DocSummary": "sample string 4",
      "DocIdentity": "sample string 5",
      "IssueDate": "2026-06-13T10:30:51.9814302+07:00",
      "EffectDate": "2026-06-13T10:30:51.9814302+07:00",
      "ExpireDate": "2026-06-13T10:30:51.9814302+07:00",
      "GazetteNumber": "sample string 9",
      "GazetteDate": "2026-06-13T10:30:51.9814302+07:00",
      "EffectStatusId": 64,
      "DocUrl": "sample string 12",
      "DocGroupId": 64,
      "DocTypeId": 64,
      "IssueYear": 1,
      "EffectStatusName": "sample string 15",
      "DocTypeName": "sample string 16",
      "OrganName": "sample string 17",
      "SignerName": "sample string 18",
      "FieldName": "sample string 19",
      "DocComment": "sample string 20",
      "CrDateTime": "2026-06-13T10:30:51.9814302+07:00",
      "UpdDateTime": "2026-06-13T10:30:51.9814302+07:00"
    }
  ],
  "fields": [
    {
      "FieldId": 1,
      "FieldName": "sample string 2",
      "DocCount": 3
    },
    {
      "FieldId": 1,
      "FieldName": "sample string 2",
      "DocCount": 3
    }
  ],
  "docTypes": [
    {
      "DocTypeId": 64,
      "DocTypeName": "sample string 2",
      "DocCount": 3
    },
    {
      "DocTypeId": 64,
      "DocTypeName": "sample string 2",
      "DocCount": 3
    }
  ],
  "draftingAgencys": [
    {
      "DraftingAgencyId": 1,
      "DraftingAgencyName": "sample string 2",
      "DocCount": 3
    },
    {
      "DraftingAgencyId": 1,
      "DraftingAgencyName": "sample string 2",
      "DocCount": 3
    }
  ],
  "effectStatus": [
    {
      "EffectStatusId": 64,
      "EffectStatusName": "sample string 2",
      "EffectStatusDesc": "sample string 3",
      "EffectStatusTypeId": 64,
      "DocCount": 4
    },
    {
      "EffectStatusId": 64,
      "EffectStatusName": "sample string 2",
      "EffectStatusDesc": "sample string 3",
      "EffectStatusTypeId": 64,
      "DocCount": 4
    }
  ],
  "organs": [
    {
      "OrganId": 1,
      "OrganName": "sample string 2",
      "DocCount": 3
    },
    {
      "OrganId": 1,
      "OrganName": "sample string 2",
      "DocCount": 3
    }
  ],
  "provinces": [
    {
      "ProvinceId": 1,
      "ProvinceName": "sample string 2",
      "ProvinceDesc": "sample string 3"
    },
    {
      "ProvinceId": 1,
      "ProvinceName": "sample string 2",
      "ProvinceDesc": "sample string 3"
    }
  ],
  "docGroups": [
    {
      "DocGroupId": 64,
      "DocGroupName": "sample string 2",
      "DocCount": 3
    },
    {
      "DocGroupId": 64,
      "DocGroupName": "sample string 2",
      "DocCount": 3
    }
  ],
  "searchYears": [
    {
      "Year": 1,
      "DocCount": 2
    },
    {
      "Year": 1,
      "DocCount": 2
    }
  ]
}

application/xml, text/xml

Sample:
<DocSearchModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/LawsAPI.Models">
  <RowCount>1</RowCount>
  <docGroups>
    <DocGroupModel>
      <DocCount>3</DocCount>
      <DocGroupId>64</DocGroupId>
      <DocGroupName>sample string 2</DocGroupName>
    </DocGroupModel>
    <DocGroupModel>
      <DocCount>3</DocCount>
      <DocGroupId>64</DocGroupId>
      <DocGroupName>sample string 2</DocGroupName>
    </DocGroupModel>
  </docGroups>
  <docTypes>
    <DocTypeModel>
      <DocCount>3</DocCount>
      <DocTypeId>64</DocTypeId>
      <DocTypeName>sample string 2</DocTypeName>
    </DocTypeModel>
    <DocTypeModel>
      <DocCount>3</DocCount>
      <DocTypeId>64</DocTypeId>
      <DocTypeName>sample string 2</DocTypeName>
    </DocTypeModel>
  </docTypes>
  <docsModels>
    <DocsModel>
      <CrDateTime>2026-06-13T10:30:51.9814302+07:00</CrDateTime>
      <DocComment>sample string 20</DocComment>
      <DocGroupId>64</DocGroupId>
      <DocId>2</DocId>
      <DocIdentity>sample string 5</DocIdentity>
      <DocName>sample string 3</DocName>
      <DocSummary>sample string 4</DocSummary>
      <DocTypeId>64</DocTypeId>
      <DocTypeName>sample string 16</DocTypeName>
      <DocUrl>sample string 12</DocUrl>
      <EffectDate>2026-06-13T10:30:51.9814302+07:00</EffectDate>
      <EffectStatusId>64</EffectStatusId>
      <EffectStatusName>sample string 15</EffectStatusName>
      <ExpireDate>2026-06-13T10:30:51.9814302+07:00</ExpireDate>
      <FieldName>sample string 19</FieldName>
      <GazetteDate>2026-06-13T10:30:51.9814302+07:00</GazetteDate>
      <GazetteNumber>sample string 9</GazetteNumber>
      <IssueDate>2026-06-13T10:30:51.9814302+07:00</IssueDate>
      <IssueYear>1</IssueYear>
      <LanguageId>64</LanguageId>
      <OrganName>sample string 17</OrganName>
      <SignerName>sample string 18</SignerName>
      <UpdDateTime>2026-06-13T10:30:51.9814302+07:00</UpdDateTime>
    </DocsModel>
    <DocsModel>
      <CrDateTime>2026-06-13T10:30:51.9814302+07:00</CrDateTime>
      <DocComment>sample string 20</DocComment>
      <DocGroupId>64</DocGroupId>
      <DocId>2</DocId>
      <DocIdentity>sample string 5</DocIdentity>
      <DocName>sample string 3</DocName>
      <DocSummary>sample string 4</DocSummary>
      <DocTypeId>64</DocTypeId>
      <DocTypeName>sample string 16</DocTypeName>
      <DocUrl>sample string 12</DocUrl>
      <EffectDate>2026-06-13T10:30:51.9814302+07:00</EffectDate>
      <EffectStatusId>64</EffectStatusId>
      <EffectStatusName>sample string 15</EffectStatusName>
      <ExpireDate>2026-06-13T10:30:51.9814302+07:00</ExpireDate>
      <FieldName>sample string 19</FieldName>
      <GazetteDate>2026-06-13T10:30:51.9814302+07:00</GazetteDate>
      <GazetteNumber>sample string 9</GazetteNumber>
      <IssueDate>2026-06-13T10:30:51.9814302+07:00</IssueDate>
      <IssueYear>1</IssueYear>
      <LanguageId>64</LanguageId>
      <OrganName>sample string 17</OrganName>
      <SignerName>sample string 18</SignerName>
      <UpdDateTime>2026-06-13T10:30:51.9814302+07:00</UpdDateTime>
    </DocsModel>
  </docsModels>
  <draftingAgencys>
    <DraftingAgencyModel>
      <DocCount>3</DocCount>
      <DraftingAgencyId>1</DraftingAgencyId>
      <DraftingAgencyName>sample string 2</DraftingAgencyName>
    </DraftingAgencyModel>
    <DraftingAgencyModel>
      <DocCount>3</DocCount>
      <DraftingAgencyId>1</DraftingAgencyId>
      <DraftingAgencyName>sample string 2</DraftingAgencyName>
    </DraftingAgencyModel>
  </draftingAgencys>
  <effectStatus>
    <EffectStatusModel>
      <DocCount>4</DocCount>
      <EffectStatusDesc>sample string 3</EffectStatusDesc>
      <EffectStatusId>64</EffectStatusId>
      <EffectStatusName>sample string 2</EffectStatusName>
      <EffectStatusTypeId>64</EffectStatusTypeId>
    </EffectStatusModel>
    <EffectStatusModel>
      <DocCount>4</DocCount>
      <EffectStatusDesc>sample string 3</EffectStatusDesc>
      <EffectStatusId>64</EffectStatusId>
      <EffectStatusName>sample string 2</EffectStatusName>
      <EffectStatusTypeId>64</EffectStatusTypeId>
    </EffectStatusModel>
  </effectStatus>
  <fields>
    <FieldModel>
      <DocCount>3</DocCount>
      <FieldId>1</FieldId>
      <FieldName>sample string 2</FieldName>
    </FieldModel>
    <FieldModel>
      <DocCount>3</DocCount>
      <FieldId>1</FieldId>
      <FieldName>sample string 2</FieldName>
    </FieldModel>
  </fields>
  <organs>
    <OrganModel>
      <DocCount>3</DocCount>
      <OrganId>1</OrganId>
      <OrganName>sample string 2</OrganName>
    </OrganModel>
    <OrganModel>
      <DocCount>3</DocCount>
      <OrganId>1</OrganId>
      <OrganName>sample string 2</OrganName>
    </OrganModel>
  </organs>
  <provinces>
    <ProvinceModel>
      <ProvinceDesc>sample string 3</ProvinceDesc>
      <ProvinceId>1</ProvinceId>
      <ProvinceName>sample string 2</ProvinceName>
    </ProvinceModel>
    <ProvinceModel>
      <ProvinceDesc>sample string 3</ProvinceDesc>
      <ProvinceId>1</ProvinceId>
      <ProvinceName>sample string 2</ProvinceName>
    </ProvinceModel>
  </provinces>
  <searchYears>
    <SearchYearModel>
      <DocCount>2</DocCount>
      <Year>1</Year>
    </SearchYearModel>
    <SearchYearModel>
      <DocCount>2</DocCount>
      <Year>1</Year>
    </SearchYearModel>
  </searchYears>
</DocSearchModel>