POST api/XTRF/File/getCheckedAttachmentByCaseId?id={id}&fromModule={fromModule}&ip={ip}

根据 caseId 和 勾选向 获取相关附件

Request Information

URI Parameters

NameDescriptionTypeAdditional information
id

caseId

integer

Required

fromModule

string

Required

ip

string

Required

Body Parameters

checkedAttachement

Collection of checkedAttachement
NameDescriptionTypeAdditional information
floderId

勾选的文件夹 id

string

None.

floderType

勾选的文件夹 type

string

None.

Request Formats

application/json, text/json

Sample:
[
  {
    "floderId": "sample string 1",
    "floderType": "sample string 2"
  },
  {
    "floderId": "sample string 1",
    "floderType": "sample string 2"
  }
]

application/xml, text/xml

Sample:
<ArrayOfXTRFFileController.checkedAttachement xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Base.Controllers">
  <XTRFFileController.checkedAttachement>
    <floderId>sample string 1</floderId>
    <floderType>sample string 2</floderType>
  </XTRFFileController.checkedAttachement>
  <XTRFFileController.checkedAttachement>
    <floderId>sample string 1</floderId>
    <floderType>sample string 2</floderType>
  </XTRFFileController.checkedAttachement>
</ArrayOfXTRFFileController.checkedAttachement>

application/x-www-form-urlencoded

Sample:

Failed to generate the sample for media type 'application/x-www-form-urlencoded'. Cannot use formatter 'JQueryMvcFormUrlEncodedFormatter' to write type 'List`1'.

multipart/form-data

Sample:
--MultipartDataMediaFormatterBoundary1q2w3e
Content-Disposition: form-data; name="[0].floderId"

sample string 1
--MultipartDataMediaFormatterBoundary1q2w3e
Content-Disposition: form-data; name="[0].floderType"

sample string 2
--MultipartDataMediaFormatterBoundary1q2w3e
Content-Disposition: form-data; name="[1].floderId"

sample string 1
--MultipartDataMediaFormatterBoundary1q2w3e
Content-Disposition: form-data; name="[1].floderType"

sample string 2
--MultipartDataMediaFormatterBoundary1q2w3e--

Response Information

Resource Description

HttpResponseMessage
NameDescriptionTypeAdditional information
Version

Version

None.

Content

HttpContent

None.

StatusCode

HttpStatusCode

None.

ReasonPhrase

string

None.

Headers

Collection of Object

None.

RequestMessage

HttpRequestMessage

None.

IsSuccessStatusCode

boolean

None.