Pixelsilk API function to modify one of a field's values--requires the advanced-admin-access permission
pageTypeId: the page type's unique identifier
fieldId: the field's unique identifier
valueId: the property's unique identifier
listValue: the field's value
listText: the field's display text

The function updatePageTypeFieldValue returns void.

C# Example:
Guid pageTypeId = <page type's id>;
Guid fieldId = <field's id>;
Guid valueId = <value's id>;
string listValue = "valueOfField";
stirng listText = "displayTextOfField";
UpdatePageTypeFieldValue(pageTypeId, fieldId, valueId, listValue, listText);
Note the capital first letter of the C# method.

HTTP Example:
Request Headers:
POST /api2/updatePageTypeFieldValue HTTP/1.1
HOST: www.example.com
Content-Length: 361
Content-Type: application/x-www-form-urlencoded
Cookie: auth=DF31E377D7B7...B1507F110AEB

Request Data:
Unencoded Data:
   "listValue":"Here is an Example.",

Url-encoded Data:
json={ +++..." }&token=7AdbNHZQBtwc...TEK8UvSUQ=

Response Headers:
HTTP/1.1 200 OK
Set-Cookie: auth=6F643C55F09D...352547C5863; path=/
Content-Type: text/javascript; charset=UTF-8
Content-Length: 2

Response Data:

JavaScript Example:
Method Call:
pixelsilk2.updatePageTypeFieldValue(input, callback);

Input Object:
    listText:"Here is an example."

Returned Data:

Back to Page Types »