POST Foto/Upload

Uploads a photo for a given user.

Request Information

URI Parameters

None.

Body Parameters

IdDoUsuario e string Base64 da foto.

PortalSIM.Domain.API.FotoDoUsuario
NameDescriptionTypeAdditional information
Base64

string

No documentation available

IdDoUsuario

integer

No documentation available

LoginDoUsuario

string

No documentation available

Request Formats

application/json, text/json

Sample:
{
  "Base64": "sample string 1",
  "IdDoUsuario": 1,
  "LoginDoUsuario": "sample string 2"
}

application/xml, text/xml

Sample:
<FotoDoUsuario xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/PortalSIM.Domain.API">
  <Base64>sample string 1</Base64>
  <IdDoUsuario>1</IdDoUsuario>
  <LoginDoUsuario>sample string 2</LoginDoUsuario>
</FotoDoUsuario>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

200 OK + Detalhes do Request. 400 BadRequest + Detalhes dos Erros.

System.Web.Http.IHttpActionResult

None.

Response Formats

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

Sample:

Sample not available.