POST Api/CompanyLegalMatter/AddLegalMatterDocument

Request Information

URI Parameters

None.

Body Parameters

CompanyLegalMatterDocumentAddVm
NameDescriptionTypeAdditional information
CompanyLegalMatterId

integer

None.

FileName

string

None.

FileMimeType

string

None.

AttachedFile

Collection of byte

None.

Request Formats

application/json, text/json

Sample:
{
  "companyLegalMatterId": 1,
  "fileName": "sample string 2",
  "fileMimeType": "sample string 3",
  "attachedFile": "QEA="
}

text/html

Sample:
{"companyLegalMatterId":1,"fileName":"sample string 2","fileMimeType":"sample string 3","attachedFile":"QEA="}

application/xml, text/xml

Sample:
<CompanyLegalMatterDocumentAddVm xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/UrgentCareExtra.Api.Controllers.Domain">
  <AttachedFile>QEA=</AttachedFile>
  <CompanyLegalMatterId>1</CompanyLegalMatterId>
  <FileMimeType>sample string 3</FileMimeType>
  <FileName>sample string 2</FileName>
</CompanyLegalMatterDocumentAddVm>

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 'CompanyLegalMatterDocumentAddVm'.

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

application/json, text/json, text/html, application/xml, text/xml

Sample:

Sample not available.