GET api/Information/AttachedFiles?id={id}

附件列表

Request Information

URI Parameters

NameDescriptionTypeAdditional information
id

The identifier.

integer

Required

Body Parameters

None.

Response Information

Resource Description

Collection of UpLoadfile
NameDescriptionTypeAdditional information
uploadid

integer

None.

infoid

integer

None.

unitid

integer

None.

subject

string

None.

filename

string

None.

fileKind

string

None.

uploaddate

date

None.

crtdat

date

None.

upddat

date

None.

modusr

integer

None.

status

string

None.

catalogue

string

None.

kind

string

None.

Response Formats

application/json, text/json

Sample:
[
  {
    "uploadid": 1,
    "infoid": 1,
    "unitid": 1,
    "subject": "sample string 2",
    "filename": "sample string 3",
    "fileKind": "sample string 4",
    "uploaddate": "2018/08/17 12:12:53",
    "crtdat": "2018/08/17 12:12:53",
    "upddat": "2018/08/17 12:12:53",
    "modusr": 1,
    "status": "sample string 5",
    "catalogue": "sample string 6",
    "kind": "sample string 7"
  },
  {
    "uploadid": 1,
    "infoid": 1,
    "unitid": 1,
    "subject": "sample string 2",
    "filename": "sample string 3",
    "fileKind": "sample string 4",
    "uploaddate": "2018/08/17 12:12:53",
    "crtdat": "2018/08/17 12:12:53",
    "upddat": "2018/08/17 12:12:53",
    "modusr": 1,
    "status": "sample string 5",
    "catalogue": "sample string 6",
    "kind": "sample string 7"
  }
]

text/xml

Sample:
<ArrayOfUpLoadfile xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Teema.Api.Models">
  <UpLoadfile>
    <catalogue>sample string 6</catalogue>
    <crtdat>2018-08-17T12:12:53.143+08:00</crtdat>
    <fileKind>sample string 4</fileKind>
    <filename>sample string 3</filename>
    <infoid>1</infoid>
    <kind>sample string 7</kind>
    <modusr>1</modusr>
    <status>sample string 5</status>
    <subject>sample string 2</subject>
    <unitid>1</unitid>
    <upddat>2018-08-17T12:12:53.143+08:00</upddat>
    <uploaddate>2018-08-17T12:12:53.143+08:00</uploaddate>
    <uploadid>1</uploadid>
  </UpLoadfile>
  <UpLoadfile>
    <catalogue>sample string 6</catalogue>
    <crtdat>2018-08-17T12:12:53.143+08:00</crtdat>
    <fileKind>sample string 4</fileKind>
    <filename>sample string 3</filename>
    <infoid>1</infoid>
    <kind>sample string 7</kind>
    <modusr>1</modusr>
    <status>sample string 5</status>
    <subject>sample string 2</subject>
    <unitid>1</unitid>
    <upddat>2018-08-17T12:12:53.143+08:00</upddat>
    <uploaddate>2018-08-17T12:12:53.143+08:00</uploaddate>
    <uploadid>1</uploadid>
  </UpLoadfile>
</ArrayOfUpLoadfile>