POST api/Attachments/UploadToTemp?hostType={hostType}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
hostType

AttachmentHostType

Required

Body Parameters

None.

Response Information

Resource Description

UploadResult
NameDescriptionTypeAdditional information
HostType

AttachmentHostType

None.

AttachmentId

integer

None.

FileName

string

None.

Url

string

None.

MeterResp

BaiduMeterSimpleRespDto

None.

Response Formats

application/json, text/json

Sample:
{
  "HostType": 1,
  "AttachmentId": 1,
  "FileName": "sample string 2",
  "Url": "sample string 3",
  "MeterResp": {
    "Weight": 1.0,
    "Unit": "sample string 2"
  }
}