POST api/CompanyMedia/UploadCropMedia

No documentation available.

Request Information

Parameters

NameDescriptionAdditional information
entity
No documentation available.

Define this parameter in the request body.

Request body formats

application/json, text/json

Sample:
{
  "userImage": "sample string 1",
  "type": "sample string 2",
  "companyId": 1,
  "companyMediasId": "2527a86d-b634-49a4-b252-6e3bcad4c465",
  "userId": "c684c2ee-d09f-4eee-9c2e-723363a5fe03",
  "rootPath": "sample string 4",
  "mediaId": "sample string 5",
  "doctorId": "97bdf229-4bdd-45cb-9407-12948ac3a94c",
  "message": "sample string 7"
}

application/xml, text/xml

Sample:
<UploadMediaModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/IncodeCompanyService.Utility.PresenterModel">
  <companyId>1</companyId>
  <companyMediasId>2527a86d-b634-49a4-b252-6e3bcad4c465</companyMediasId>
  <doctorId>97bdf229-4bdd-45cb-9407-12948ac3a94c</doctorId>
  <mediaId>sample string 5</mediaId>
  <message>sample string 7</message>
  <rootPath>sample string 4</rootPath>
  <type>sample string 2</type>
  <userId>c684c2ee-d09f-4eee-9c2e-723363a5fe03</userId>
  <userImage>sample string 1</userImage>
</UploadMediaModel>

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