GET api/Admin/GetKWGUIPageSpec?projectId={projectId}&specTypeId={specTypeId}

GetKWGUIPageSpec for a project and spectype

Request Information

URI Parameters

NameDescriptionTypeAdditional information
projectId

项目ID

integer

Required

specTypeId

Spec类型ID

integer

Required

Body Parameters

None.

Response Information

Resource Description

GetKWGUIPageSpec for a project and spectype

API_Data_ListOfKWGUIPageSpec
NameDescriptionTypeAdditional information
Success

boolean

None.

Error

ErrorInfo

None.

Data

Collection of KWGUIPageSpec

None.

Response Formats

application/json, text/json

Sample:
{
  "Success": true,
  "Error": {
    "ErrorCode": 1,
    "ErrorMessage": "sample string 1"
  },
  "Data": [
    {
      "ProjectID": 1,
      "ModuleTypeID": 2,
      "PageID": 3,
      "SpecTypeID": 4,
      "OverwritePageID": 5
    },
    {
      "ProjectID": 1,
      "ModuleTypeID": 2,
      "PageID": 3,
      "SpecTypeID": 4,
      "OverwritePageID": 5
    }
  ]
}

application/xml, text/xml

Sample:
<API_Data_ArrayOfKWGUIPageSpec xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/TechExcel.DTKService.Model.Common">
  <Data xmlns:d2p1="http://schemas.datacontract.org/2004/07/TechExcel.DTKService.Model.Project">
    <d2p1:KWGUIPageSpec>
      <d2p1:ModuleTypeID>2</d2p1:ModuleTypeID>
      <d2p1:OverwritePageID>5</d2p1:OverwritePageID>
      <d2p1:PageID>3</d2p1:PageID>
      <d2p1:ProjectID>1</d2p1:ProjectID>
      <d2p1:SpecTypeID>4</d2p1:SpecTypeID>
    </d2p1:KWGUIPageSpec>
    <d2p1:KWGUIPageSpec>
      <d2p1:ModuleTypeID>2</d2p1:ModuleTypeID>
      <d2p1:OverwritePageID>5</d2p1:OverwritePageID>
      <d2p1:PageID>3</d2p1:PageID>
      <d2p1:ProjectID>1</d2p1:ProjectID>
      <d2p1:SpecTypeID>4</d2p1:SpecTypeID>
    </d2p1:KWGUIPageSpec>
  </Data>
  <Error>
    <ErrorCode>1</ErrorCode>
    <ErrorMessage>sample string 1</ErrorMessage>
  </Error>
  <Success>true</Success>
</API_Data_ArrayOfKWGUIPageSpec>