POST api/watertightness/photo

Request Information

URI Parameters

None.

Body Parameters

PhotoApiModels
NameDescriptionTypeAdditional information
IdInspeccionContenedor

integer

None.

Type

string

None.

Photo

HttpPostedFileBase

Required

Request Formats

application/json, text/json

Sample:
{
  "IdInspeccionContenedor": 1,
  "Type": "sample string 2",
  "Photo": null
}

application/xml, text/xml

Sample:
<PhotoApiModels xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/RFS.Service.Models.ApiModels">
  <IdInspeccionContenedor>1</IdInspeccionContenedor>
  <Photo xmlns:d2p1="http://schemas.datacontract.org/2004/07/System.Web" i:nil="true" />
  <Type>sample string 2</Type>
</PhotoApiModels>

application/x-www-form-urlencoded

Sample:

Sample not available.

multipart/form-data

Sample:

Sample not available.

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

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

Sample:

Sample not available.