Method PUT
Path /res/{resName}/{resId}
Query Params None
Request body Attribute values for row to update. Content-Type: application/x-www-form-urlencoded
Response body Number of rows updated: 1 if row found, 0 if not. Response.xsd Content-Type: application/xml or application/json

Description

Updates one row matching path parameters.

XML Example

PUT /restsql/res/Actor/123 HTTP/1.1
Content-Type: application/x-www-form-urlencoded
Accept: application/xml

first_name=JULIANNER&last_name=DENCHY
HTTP/1.1 200 OK
Content-Type: application/xml

<writeResponse rowsAffected="1" />

JSON Example

PUT /restsql/res/Actor/123 HTTP/1.1
Content-Type: application/x-www-form-urlencoded
Accept: application/json

first_name=JULIANNER&last_name=DENCHY
HTTP/1.1 200 OK
Content-Type: application/json

{ "rowsAffected": 1 }