POST jxc_api/Attachment/Add

Request Information

URI Parameters

None.

Body Parameters

None.

Response Information

Resource Description

AttachmentListModel
NameDescriptionTypeAdditional information
Id

integer

None.

FileName

string

None.

FileType

FileType

None.

FileUrl

string

None.

FileSize

integer

None.

CreatedByName

string

None.

DateFmt

string

None.

Response Formats

application/json, text/json

Sample:
{
  "Id": 1,
  "FileName": "sample string 2",
  "FileType": 1010,
  "FileUrl": "sample string 3",
  "FileSize": 4,
  "CreatedByName": "sample string 5",
  "DateFmt": "sample string 6"
}

application/xml, text/xml

Sample:
<AttachmentListModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/LemonScm.WebApi.Areas.BaseData.Models">
  <CreatedByName>sample string 5</CreatedByName>
  <DateFmt>sample string 6</DateFmt>
  <FileName>sample string 2</FileName>
  <FileSize>4</FileSize>
  <FileType>jpg</FileType>
  <FileUrl>sample string 3</FileUrl>
  <Id>1</Id>
</AttachmentListModel>