POST jxc_api/Attachment/Search

Request Information

URI Parameters

None.

Body Parameters

AttachmentCondition
NameDescriptionTypeAdditional information
MainType

integer

None.

SubType

integer

None.

RecId

integer

None.

Request Formats

application/json, text/json

Sample:
{
  "MainType": 1,
  "SubType": 2,
  "RecId": 3
}

application/xml, text/xml

Sample:
<AttachmentCondition xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/LemonScm.Model.NewApi.BaseData.Attachment">
  <MainType>1</MainType>
  <RecId>3</RecId>
  <SubType>2</SubType>
</AttachmentCondition>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

Collection of 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"
  },
  {
    "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:
<ArrayOfAttachmentListModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/LemonScm.WebApi.Areas.BaseData.Models">
  <AttachmentListModel>
    <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>
  <AttachmentListModel>
    <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>
</ArrayOfAttachmentListModel>