--- title: "View.GetFields" slug: "viewgetfields" description: "Customize your web scraping project using View.SetFields, an operation that selects and orders the fields visible in your view. " updated: 2026-03-30T13:23:44Z published: 2026-03-30T13:23:44Z canonical: "help.mozenda.com/viewgetfields" --- > ## Documentation Index > Fetch the complete documentation index at: https://help.mozenda.com/llms.txt > Use this file to discover all available pages before exploring further. # View.GetFields ### Description Gets the **fields** that are included in the **view**. ### URL parameters | Name | Required | Type | Description | | --- | --- | --- | --- | | `ViewID` | True | numeric | Unique identifier of the **view**. | ### Responses | Name | Type | Description | | --- | --- | --- | | `Result` | string | `Success` if the operation was successful. | ### Sample request ``` curl -X GET "https://api.mozenda.com/rest?WebServiceKey=XXXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXXXX&Service=Mozenda10&Operation=View.SetFields&ViewID=1111" ``` ### Sample responses #### XML ``` Success 35606 ItemID A unique number that identifies the item. Number True False False 35609 Number Text False False False ``` #### JSON (add `&ResponseFormat=JSON`) ``` { "Field": [ { "FieldID": 35606, "Name": "ItemID", "Description": "A unique number that identifies the item.", "Format": "Number", "IsSystem": true, "IsUnique": false, "IsWatched": false }, { "FieldID": 35609, "Name": "Number", "Description": "", "Format": "Text", "IsSystem": false, "IsUnique": false, "IsWatched": false } ], "JsonResult": { "Command": "View.GetFields", "AutoLoggedIn": false, "WebConsoleKey": "", "Result": "Success", "ErrorCode": "", "ErrorDescription": "", "ErrorList": [] } } ```