apidocs

UpdatePropertySetRowForUser API

Updates an existing property set row for the specified user.

Endpoint

/srv.asmx/UpdatePropertySetRowForUser

Methods

Parameters

Parameter Type Required Description
authenticationTicket string Yes Authentication ticket obtained from AuthenticateUser.
userName string Yes Username of the user whose property set row should be updated.
xmlpset string Yes XML string describing the property set rows to update. See format below.

xmlpset Format

<psets>
  <pset name="PROPERTYSETNAME">
    <row rownbr="1" FIELDNAME1="value1" FIELDNAME2="value2" />
  </pset>
</psets>

Response

Success Response

<response success="true" error="" />

Error Response

<response success="false" error="[901]Session expired or Invalid ticket" />

Required Permissions

System administrator or a user with permission to manage the target user’s property sets.

Example

GET Request

GET /srv.asmx/UpdatePropertySetRowForUser
    ?authenticationTicket=3f7a1b2c-4d5e-6f7a-8b9c-0d1e2f3a4b5c
    &userName=jsmith
    &xmlpset=<psets><pset+name="HRDATA"><row+rownbr="1"+DEPARTMENT="Engineering"+LOCATION="HQ"/></pset></psets>
HTTP/1.1
Host: yourserver

POST Request

POST /srv.asmx/UpdatePropertySetRowForUser HTTP/1.1
Host: yourserver
Content-Type: application/x-www-form-urlencoded

authenticationTicket=3f7a1b2c-4d5e-6f7a-8b9c-0d1e2f3a4b5c&userName=jsmith&xmlpset=<psets><pset name="HRDATA"><row rownbr="1" DEPARTMENT="Engineering" LOCATION="HQ"/></pset></psets>

Notes

Error Codes

Error Description
[900] Authentication failed -“ invalid credentials.
[901] Session expired or invalid authentication ticket.
Access Denied Caller does not have permission to manage the target user’s property sets.
User not found No user with the specified userName exists.
Property set not found The property set named in xmlpset does not exist or is not applied to the user.
Row not found The specified rownbr does not exist for this property set on this user.