POST api/Images/GetImages

Request Information

URI Parameters

None.

Body Parameters

RequestGetImages
NameDescriptionTypeAdditional information
DepartmentId

globally unique identifier

None.

MemberId

globally unique identifier

None.

TagName

string

None.

PageSize

integer

None.

PageIndex

integer

None.

KeyWord

string

None.

SortColumn

string

None.

SortType

EnumSortType

None.

ParamCollection

Dictionary of string [key] and Object [value]

None.

Request Formats

application/json, text/json

Sample:
{
  "DepartmentId": "616db25d-95f4-49fa-ba0a-f9d28b41b729",
  "MemberId": "df7d470c-2b48-428a-a450-25a6030f3e32",
  "TagName": "sample string 3",
  "PageSize": 4,
  "PageIndex": 5,
  "KeyWord": "sample string 6",
  "SortColumn": "sample string 7",
  "SortType": 0,
  "ParamCollection": {
    "sample string 1": {},
    "sample string 3": {}
  }
}

application/xml, text/xml

Sample:
<RequestGetImages xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ZTSoft.TPS.Model.Request.Images">
  <KeyWord xmlns="http://schemas.datacontract.org/2004/07/ZTSoft.Core">sample string 6</KeyWord>
  <PageIndex xmlns="http://schemas.datacontract.org/2004/07/ZTSoft.Core">5</PageIndex>
  <PageSize xmlns="http://schemas.datacontract.org/2004/07/ZTSoft.Core">4</PageSize>
  <ParamCollection xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays" xmlns="http://schemas.datacontract.org/2004/07/ZTSoft.Core">
    <d2p1:KeyValueOfstringanyType>
      <d2p1:Key>sample string 1</d2p1:Key>
      <d2p1:Value />
    </d2p1:KeyValueOfstringanyType>
    <d2p1:KeyValueOfstringanyType>
      <d2p1:Key>sample string 3</d2p1:Key>
      <d2p1:Value />
    </d2p1:KeyValueOfstringanyType>
  </ParamCollection>
  <SortColumn xmlns="http://schemas.datacontract.org/2004/07/ZTSoft.Core">sample string 7</SortColumn>
  <SortType xmlns="http://schemas.datacontract.org/2004/07/ZTSoft.Core">Desc</SortType>
  <DepartmentId>616db25d-95f4-49fa-ba0a-f9d28b41b729</DepartmentId>
  <MemberId>df7d470c-2b48-428a-a450-25a6030f3e32</MemberId>
  <TagName>sample string 3</TagName>
</RequestGetImages>

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 'RequestGetImages'.

Response Information

Resource Description

PagingResultOfImageResources
NameDescriptionTypeAdditional information
PageSize

integer

None.

PageIndex

integer

None.

Records

integer

None.

TotalPages

integer

None.

PagingInfo

PagingInfo

None.

Data

Collection of ImageResources

None.

Success

boolean

None.

IsSuccess

boolean

None.

Msg

string

None.

Code

integer

None.

StatusCode

string

None.

Errors

Dictionary of string [key] and string [value]

None.

Response Formats

application/json, text/json

Sample:
{
  "PageSize": 1,
  "PageIndex": 2,
  "Records": 3,
  "TotalPages": 3,
  "PagingInfo": {
    "PageIndex": 2,
    "PageSize": 1,
    "TotalCount": 3,
    "TotalPage": 3,
    "Dics": null
  },
  "Data": [
    {
      "DepartmentId": "a5f5e53e-42c8-461f-90fb-2b4384e2fc59",
      "MemberId": "5de4c91f-f2ad-48a6-a1b4-baee12af701d",
      "TagId": "3521fd86-a39c-4fbf-8950-92629904137b",
      "PhysicsPath": "sample string 4",
      "TagName": "sample string 5",
      "URLPath": "sample string 6",
      "ID": "3b8b0c07-822f-453d-9116-d52bf5b4406f",
      "CreateMemberID": "12919b4a-3d2a-4004-b34e-2ef9eff6576d",
      "CreateDate": "2020-11-29T15:51:37.9007803+08:00",
      "EditeMemberID": "eef17183-0f1e-45a8-82f3-fb7f9e5b32bb",
      "EditeDate": "2020-11-29T15:51:37.9007803+08:00",
      "Flag": 12
    },
    {
      "DepartmentId": "a5f5e53e-42c8-461f-90fb-2b4384e2fc59",
      "MemberId": "5de4c91f-f2ad-48a6-a1b4-baee12af701d",
      "TagId": "3521fd86-a39c-4fbf-8950-92629904137b",
      "PhysicsPath": "sample string 4",
      "TagName": "sample string 5",
      "URLPath": "sample string 6",
      "ID": "3b8b0c07-822f-453d-9116-d52bf5b4406f",
      "CreateMemberID": "12919b4a-3d2a-4004-b34e-2ef9eff6576d",
      "CreateDate": "2020-11-29T15:51:37.9007803+08:00",
      "EditeMemberID": "eef17183-0f1e-45a8-82f3-fb7f9e5b32bb",
      "EditeDate": "2020-11-29T15:51:37.9007803+08:00",
      "Flag": 12
    }
  ],
  "Success": true,
  "IsSuccess": true,
  "Msg": "sample string 6",
  "Code": 7,
  "StatusCode": "sample string 8",
  "Errors": {
    "sample string 1": "sample string 2",
    "sample string 3": "sample string 4"
  }
}

application/xml, text/xml

Sample:
<PagingResultOfImageResourcesRAoaKam_S xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ZTSoft.Core">
  <Code>7</Code>
  <Errors xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
    <d2p1:KeyValueOfstringstring>
      <d2p1:Key>sample string 1</d2p1:Key>
      <d2p1:Value>sample string 2</d2p1:Value>
    </d2p1:KeyValueOfstringstring>
    <d2p1:KeyValueOfstringstring>
      <d2p1:Key>sample string 3</d2p1:Key>
      <d2p1:Value>sample string 4</d2p1:Value>
    </d2p1:KeyValueOfstringstring>
  </Errors>
  <IsSuccess>true</IsSuccess>
  <Msg>sample string 6</Msg>
  <StatusCode>sample string 8</StatusCode>
  <Success>true</Success>
  <Data xmlns:d2p1="http://schemas.datacontract.org/2004/07/ZTSoft.TPS.Model.Images">
    <d2p1:ImageResources>
      <_x003C_CreateDate_x003E_k__BackingField xmlns="http://schemas.datacontract.org/2004/07/ZTSoft.TPS.Model.Common">2020-11-29T15:51:37.9007803+08:00</_x003C_CreateDate_x003E_k__BackingField>
      <_x003C_CreateMemberID_x003E_k__BackingField xmlns="http://schemas.datacontract.org/2004/07/ZTSoft.TPS.Model.Common">12919b4a-3d2a-4004-b34e-2ef9eff6576d</_x003C_CreateMemberID_x003E_k__BackingField>
      <_x003C_EditeDate_x003E_k__BackingField xmlns="http://schemas.datacontract.org/2004/07/ZTSoft.TPS.Model.Common">2020-11-29T15:51:37.9007803+08:00</_x003C_EditeDate_x003E_k__BackingField>
      <_x003C_EditeMemberID_x003E_k__BackingField xmlns="http://schemas.datacontract.org/2004/07/ZTSoft.TPS.Model.Common">eef17183-0f1e-45a8-82f3-fb7f9e5b32bb</_x003C_EditeMemberID_x003E_k__BackingField>
      <_x003C_Flag_x003E_k__BackingField xmlns="http://schemas.datacontract.org/2004/07/ZTSoft.TPS.Model.Common">12</_x003C_Flag_x003E_k__BackingField>
      <_x003C_ID_x003E_k__BackingField xmlns="http://schemas.datacontract.org/2004/07/ZTSoft.TPS.Model.Common">3b8b0c07-822f-453d-9116-d52bf5b4406f</_x003C_ID_x003E_k__BackingField>
      <d2p1:DepartmentId>a5f5e53e-42c8-461f-90fb-2b4384e2fc59</d2p1:DepartmentId>
      <d2p1:MemberId>5de4c91f-f2ad-48a6-a1b4-baee12af701d</d2p1:MemberId>
      <d2p1:PhysicsPath>sample string 4</d2p1:PhysicsPath>
      <d2p1:TagId>3521fd86-a39c-4fbf-8950-92629904137b</d2p1:TagId>
      <d2p1:TagName>sample string 5</d2p1:TagName>
      <d2p1:URLPath>sample string 6</d2p1:URLPath>
    </d2p1:ImageResources>
    <d2p1:ImageResources>
      <_x003C_CreateDate_x003E_k__BackingField xmlns="http://schemas.datacontract.org/2004/07/ZTSoft.TPS.Model.Common">2020-11-29T15:51:37.9007803+08:00</_x003C_CreateDate_x003E_k__BackingField>
      <_x003C_CreateMemberID_x003E_k__BackingField xmlns="http://schemas.datacontract.org/2004/07/ZTSoft.TPS.Model.Common">12919b4a-3d2a-4004-b34e-2ef9eff6576d</_x003C_CreateMemberID_x003E_k__BackingField>
      <_x003C_EditeDate_x003E_k__BackingField xmlns="http://schemas.datacontract.org/2004/07/ZTSoft.TPS.Model.Common">2020-11-29T15:51:37.9007803+08:00</_x003C_EditeDate_x003E_k__BackingField>
      <_x003C_EditeMemberID_x003E_k__BackingField xmlns="http://schemas.datacontract.org/2004/07/ZTSoft.TPS.Model.Common">eef17183-0f1e-45a8-82f3-fb7f9e5b32bb</_x003C_EditeMemberID_x003E_k__BackingField>
      <_x003C_Flag_x003E_k__BackingField xmlns="http://schemas.datacontract.org/2004/07/ZTSoft.TPS.Model.Common">12</_x003C_Flag_x003E_k__BackingField>
      <_x003C_ID_x003E_k__BackingField xmlns="http://schemas.datacontract.org/2004/07/ZTSoft.TPS.Model.Common">3b8b0c07-822f-453d-9116-d52bf5b4406f</_x003C_ID_x003E_k__BackingField>
      <d2p1:DepartmentId>a5f5e53e-42c8-461f-90fb-2b4384e2fc59</d2p1:DepartmentId>
      <d2p1:MemberId>5de4c91f-f2ad-48a6-a1b4-baee12af701d</d2p1:MemberId>
      <d2p1:PhysicsPath>sample string 4</d2p1:PhysicsPath>
      <d2p1:TagId>3521fd86-a39c-4fbf-8950-92629904137b</d2p1:TagId>
      <d2p1:TagName>sample string 5</d2p1:TagName>
      <d2p1:URLPath>sample string 6</d2p1:URLPath>
    </d2p1:ImageResources>
  </Data>
  <PageIndex>2</PageIndex>
  <PageSize>1</PageSize>
  <Records>3</Records>
</PagingResultOfImageResourcesRAoaKam_S>