POST StdFile/Tree

Request Information

URI Parameters

None.

Body Parameters

BasePageCompany
NameDescriptionTypeAdditional information
CompanyName

string

None.

ActionUser

string

None.

IID

integer

None.

PrjtAbbr

string

None.

exportfile

string

None.

SortList

Collection of BaseSort

None.

ScreenList

Collection of BaseScreen

None.

PageSize

integer

None.

PageIndex

integer

None.

QueryKey

string

None.

StartTime

string

None.

EndTime

string

None.

Request Formats

application/json, text/json

Sample:
{
  "CompanyName": "sample string 1",
  "ActionUser": "sample string 2",
  "IID": 3,
  "PrjtAbbr": "sample string 4",
  "exportfile": "sample string 5",
  "SortList": [
    {
      "SortName": "sample string 1",
      "Asc": true
    },
    {
      "SortName": "sample string 1",
      "Asc": true
    }
  ],
  "ScreenList": [
    {
      "ScreenName": "sample string 1",
      "ScreenValue": "sample string 2"
    },
    {
      "ScreenName": "sample string 1",
      "ScreenValue": "sample string 2"
    }
  ],
  "PageSize": 6,
  "PageIndex": 7,
  "QueryKey": "sample string 8",
  "StartTime": "sample string 9",
  "EndTime": "sample string 10"
}

application/xml, text/xml

Sample:
<BasePageCompany xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/WeldingAPI.Models">
  <EndTime xmlns="http://schemas.datacontract.org/2004/07/">sample string 10</EndTime>
  <IID xmlns="http://schemas.datacontract.org/2004/07/">0</IID>
  <PageIndex xmlns="http://schemas.datacontract.org/2004/07/">7</PageIndex>
  <PageSize xmlns="http://schemas.datacontract.org/2004/07/">6</PageSize>
  <QueryKey xmlns="http://schemas.datacontract.org/2004/07/">sample string 8</QueryKey>
  <ScreenList xmlns:d2p1="http://schemas.datacontract.org/2004/07/WeldingAPI.Models" i:nil="true" xmlns="http://schemas.datacontract.org/2004/07/" />
  <SortList xmlns:d2p1="http://schemas.datacontract.org/2004/07/WeldingAPI.Models" i:nil="true" xmlns="http://schemas.datacontract.org/2004/07/" />
  <StartTime xmlns="http://schemas.datacontract.org/2004/07/">sample string 9</StartTime>
  <ActionUser>sample string 2</ActionUser>
  <CompanyName>sample string 1</CompanyName>
  <IID>3</IID>
  <PrjtAbbr>sample string 4</PrjtAbbr>
  <ScreenList>
    <BaseScreen>
      <ScreenName>sample string 1</ScreenName>
      <ScreenValue>sample string 2</ScreenValue>
    </BaseScreen>
    <BaseScreen>
      <ScreenName>sample string 1</ScreenName>
      <ScreenValue>sample string 2</ScreenValue>
    </BaseScreen>
  </ScreenList>
  <SortList>
    <BaseSort>
      <Asc>true</Asc>
      <SortName>sample string 1</SortName>
    </BaseSort>
    <BaseSort>
      <Asc>true</Asc>
      <SortName>sample string 1</SortName>
    </BaseSort>
  </SortList>
  <exportfile>sample string 5</exportfile>
</BasePageCompany>

application/x-www-form-urlencoded

Sample:

Failed to generate the sample for media type 'application/x-www-form-urlencoded'. Cannot use formatter 'JQueryMvcFormUrlEncodedFormatter' to write type 'BasePageCompany'.

Response Information

Resource Description

BaseResultTOfStdFileTree
NameDescriptionTypeAdditional information
Success

integer

None.

Msg

string

None.

Token

string

None.

DataContent

Collection of StdFileTree

None.

PositionPage

integer

None.

PositionRow

integer

None.

Response Formats

application/json, text/json

Sample:
{
  "Success": 1,
  "Msg": "sample string 2",
  "Token": "sample string 3",
  "DataContent": [
    {
      "key": 1,
      "title": "sample string 2",
      "author": "sample string 3",
      "expanded": true,
      "isLeaf": true,
      "companyname": "sample string 6",
      "FGroupIID": 1,
      "children": []
    },
    {
      "key": 1,
      "title": "sample string 2",
      "author": "sample string 3",
      "expanded": true,
      "isLeaf": true,
      "companyname": "sample string 6",
      "FGroupIID": 1,
      "children": []
    }
  ],
  "PositionPage": 4,
  "PositionRow": 5
}

application/xml

Sample:

An exception has occurred while using the formatter 'XmlMediaTypeFormatter' to generate sample for media type 'application/xml'. Exception message: “System.Collections.Generic.List`1[[WeldingAPI.Models.Response.StdFileTree, WeldingAPI, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null]]”类型的对象图包含循环,如果禁用引用跟踪,择无法对其进行序列化。

text/xml

Sample:

An exception has occurred while using the formatter 'XmlMediaTypeFormatter' to generate sample for media type 'text/xml'. Exception message: “System.Collections.Generic.List`1[[WeldingAPI.Models.Response.StdFileTree, WeldingAPI, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null]]”类型的对象图包含循环,如果禁用引用跟踪,择无法对其进行序列化。