PUT v1/files/~files/{itemType}/{itemGuid}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
itemType

enmItemType

Required

itemGuid

globally unique identifier

Required

Body Parameters

None.

Response Information

Resource Description

FileOutModel
NameDescriptionTypeAdditional information
FileID

integer

None.

FileKey

string

None.

Name

string

None.

Size

integer

None.

Url

string

None.

Icon

string

None.

UploadDate

date

None.

ItemID

integer

None.

ItemType

enmItemType

None.

ItemPerCompanyId

integer

None.

Response Formats

application/json, text/json, application/vnd.team.do+json

Sample:
{
  "FileID": 1,
  "FileKey": "sample string 2",
  "Name": "sample string 3",
  "Size": 4,
  "Url": "sample string 5",
  "Icon": "sample string 6",
  "UploadDate": "2019-03-16T04:42:07.217841+00:00",
  "ItemID": 8,
  "ItemType": 0,
  "ItemPerCompanyId": 1
}

text/html

Sample:
{"FileID":1,"FileKey":"sample string 2","Name":"sample string 3","Size":4,"Url":"sample string 5","Icon":"sample string 6","UploadDate":"2019-03-16T04:42:07.217841+00:00","ItemID":8,"ItemType":0,"ItemPerCompanyId":1}