GET api/Project/Pages?projectId={projectId}
Get pages for a project
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| projectId |
project id |
integer |
Required |
Body Parameters
None.
Response Information
Resource Description
Get pages for a project
API_Data_ListOfTUIPageDef| Name | Description | Type | Additional information |
|---|---|---|---|
| Success | boolean |
None. |
|
| Error | ErrorInfo |
None. |
|
| Data | Collection of TUIPageDef |
None. |
Response Formats
application/json, text/json
Sample:
{
"Success": true,
"Error": {
"ErrorCode": 1,
"ErrorMessage": "sample string 1"
},
"Data": [
{
"ProjectID": 1,
"PageID": 2,
"PageTitle": "sample string 3",
"FieldTabOrder": "sample string 4",
"VisibleOnSubmit": 1,
"IfVisible": 1,
"ParentPageID": 1,
"OverWriteOption": 1
},
{
"ProjectID": 1,
"PageID": 2,
"PageTitle": "sample string 3",
"FieldTabOrder": "sample string 4",
"VisibleOnSubmit": 1,
"IfVisible": 1,
"ParentPageID": 1,
"OverWriteOption": 1
}
]
}
application/xml, text/xml
Sample:
<API_Data_ArrayOfTUIPageDef 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:TUIPageDef>
<d2p1:FieldTabOrder>sample string 4</d2p1:FieldTabOrder>
<d2p1:IfVisible>1</d2p1:IfVisible>
<d2p1:OverWriteOption>1</d2p1:OverWriteOption>
<d2p1:PageID>2</d2p1:PageID>
<d2p1:PageTitle>sample string 3</d2p1:PageTitle>
<d2p1:ParentPageID>1</d2p1:ParentPageID>
<d2p1:ProjectID>1</d2p1:ProjectID>
<d2p1:VisibleOnSubmit>1</d2p1:VisibleOnSubmit>
</d2p1:TUIPageDef>
<d2p1:TUIPageDef>
<d2p1:FieldTabOrder>sample string 4</d2p1:FieldTabOrder>
<d2p1:IfVisible>1</d2p1:IfVisible>
<d2p1:OverWriteOption>1</d2p1:OverWriteOption>
<d2p1:PageID>2</d2p1:PageID>
<d2p1:PageTitle>sample string 3</d2p1:PageTitle>
<d2p1:ParentPageID>1</d2p1:ParentPageID>
<d2p1:ProjectID>1</d2p1:ProjectID>
<d2p1:VisibleOnSubmit>1</d2p1:VisibleOnSubmit>
</d2p1:TUIPageDef>
</Data>
<Error>
<ErrorCode>1</ErrorCode>
<ErrorMessage>sample string 1</ErrorMessage>
</Error>
<Success>true</Success>
</API_Data_ArrayOfTUIPageDef>