Gemma.WebApi

<back to all web services

PatchImmagineRequest

Requires Authentication
The following routes are available for this service:
PATCH/immagini/{Id}
PatchImmagineRequest Parameters:
NameParameterData TypeRequiredDescription
IdpathintNo
NomequerystringNo
Immaginequerybyte[]No
Thumbquerybyte[]No
RefCountqueryint?No
IsCachedquerybool?No
ImmagineCollegataIdqueryint?No
DidascaliaCnIdqueryint?No
TipoImmagineIdqueryint?No
URLquerystringNo
PatchImmagineResponse Parameters:
NameParameterData TypeRequiredDescription
RowsAffectedformintNo
ImageWidthformint?No
ImageHeightformint?No
ThumbnailWidthformint?No
ThumbnailHeightformint?No

To override the Content-type in your clients, use the HTTP Accept Header, append the .json suffix or ?format=json

To embed the response in a jsonp callback, append ?callback=myCallback

HTTP + JSON

The following are sample HTTP requests and responses. The placeholders shown need to be replaced with actual values.

PATCH /immagini/{Id} HTTP/1.1 
Host: gemma.api.kerberos.energy 
Accept: application/json
Content-Type: application/json
Content-Length: length

{"id":0,"nome":"String","immagine":"AA==","thumb":"AA==","refCount":0,"isCached":false,"immagineCollegataId":0,"didascaliaCnId":0,"tipoImmagineId":0,"url":"String"}
HTTP/1.1 200 OK
Content-Type: application/json
Content-Length: length

{"rowsAffected":0,"imageWidth":0,"imageHeight":0,"thumbnailWidth":0,"thumbnailHeight":0}