Open API v2 / Custom Modules / Module Properties
Module Properties
→
Every request needs a bearer token: Authorization: Bearer <token>. Base URL https://your-site.webinone.com. New to field types? See the type reference.
Retrieves a list of module properties
Parameters
idinteger · pathrequired
Module properties id.
Response
Idstring
Unique identifier. Technical record number in the database. Read-only.
Namestring · nullable
Name of the module properties.
Aliasstring · nullable
The technical name (alias) used in code to refer to this property. Identical to the name.
Mandatoryboolean
Determines whether a field is required.
SortOrderinteger
A numeric value that determines the order in which the property is displayed among others in the edit form.
IsMultipleboolean
Indicates whether the property can take multiple values.
DisplayValuestring · nullable
Display value.
Notesstring · nullable
Text instructions or description for the content manager explaining the purpose of the Umbraco Forms field.
DisplayNotesInlineboolean
Determines whether notes/tooltips will be displayed directly next to the input field.
DisplayDownloadableCheckboxboolean
Adds an option (checkbox) that allows you to mark the content of a property as downloadable.
EnableWysiwygboolean
Includes a visual editor (WYSIWYG) for this property, allowing you to format the text.
EnableCodeEditorboolean · nullable
Activates the code editor (with syntax highlighting) instead of plain text.
PreValuesarray of strings
Array (string) - array of preset values.
EditorAliasstring · nullable
Technical identifier (alias) of a specific property editor.
Valueobject · nullable
Whether this permission is granted for the role.
Indexerstring · nullable
Technical indexer key used to reference this property's value in Liquid templates and internally.
Uniqueboolean
When enabled, values entered for this property must be unique across all items in the module.
curl "https://your-site.webinone.com/api/v2/admin/modules/1/properties" \ -H "Authorization: Bearer <token>"
await fetch("https://your-site.webinone.com/api/v2/admin/modules/1/properties", { method: "GET", headers: { "Authorization": "Bearer <token>" } });
import requests requests.get( "https://your-site.webinone.com/api/v2/admin/modules/1/properties", headers={"Authorization": "Bearer <token>"} )
$client = new GuzzleHttp\Client(); $response = $client->request('GET', 'https://your-site.webinone.com/api/v2/admin/modules/1/properties', [ 'headers' => [ 'Authorization' => 'Bearer <token>' ] ]);
using var client = new HttpClient(); var request = new HttpRequestMessage(HttpMethod.Get, "https://your-site.webinone.com/api/v2/admin/modules/1/properties"); request.Headers.Add("Authorization", "Bearer <token>"); var response = await client.SendAsync(request);
Response · 200
[
{
"Id": "string",
"Name": "Example",
"Alias": "string",
"Mandatory": false,
"SortOrder": 0,
"IsMultiple": false,
"DisplayValue": "string",
"Notes": "string",
"DisplayNotesInline": false,
"DisplayDownloadableCheckbox": false,
"EnableWysiwyg": false,
"EnableCodeEditor": false,
"PreValues": [
"string"
],
"EditorAlias": "string",
"Value": "string",
"Indexer": "string",
"Unique": false
}
]Creates a new module property
Parameters
idinteger · pathrequired
Resource identifier.
Body parameters
Namestringrequired
Name of the module property create.
Mandatoryboolean
Determines whether a field is required.
IsMultipleboolean
Indicates whether the property can take multiple values. Available for: [ List (Dropdown List) ] by default: false.
DisplayNotesInlineboolean
Determines whether notes/tooltips will be displayed directly next to the input field.
DisplayDownloadableCheckboxboolean
Adds an option (checkbox) that allows you to mark the content of a property as downloadable. Available for: [ Media ] by default: false.
EnableWysiwygboolean
Includes a visual editor (WYSIWYG) for this property, allowing you to format the text. Available for: [ Multiline (Text)] by default: false.
SortOrderinteger · nullable
A numeric value that determines the order in which the property is displayed among others in the edit form.
EnableCodeEditorboolean · nullable
Activates the code editor (with syntax highlighting) instead of plain text. Available for: [ Multiline (Text) ] by default: false.
Notesstring · nullable
Text instructions or description for the content manager explaining the purpose of the Umbraco Forms field.
EditorAliasstring · nullable
Technical identifier (alias) of a specific property editor.
PreValuesarray of strings
Array (string) - array of preset values available for: [ Data Source, List (Checkbox List), List (Dropdown List), List (Radio List) ]
Response
Idstring
Unique identifier. Technical record number in the database. Read-only.
Namestring · nullable
Name of the module property.
Aliasstring · nullable
The technical name (alias) used in code to refer to this property. Identical to the name.
Mandatoryboolean
Determines whether a field is required.
SortOrderinteger
A numeric value that determines the order in which the property is displayed among others in the edit form.
IsMultipleboolean
Indicates whether the property can take multiple values.
DisplayValuestring · nullable
Display value.
Notesstring · nullable
Text instructions or description for the content manager explaining the purpose of the Umbraco Forms field.
EnableWysiwygboolean
Includes a visual editor (WYSIWYG) for this property, allowing you to format the text.
PreValuesarray of strings
Array (string) - array of preset values.
EditorAliasstring · nullable
Technical identifier (alias) of a specific property editor.
Valueobject · nullable
Whether this permission is granted for the role.
curl -X POST "https://your-site.webinone.com/api/v2/admin/modules/1/properties" \ -H "Authorization: Bearer <token>" \ -H "Content-Type: application/json" \ -d '{"Name":"Example","Mandatory":false,"IsMultiple":false,"DisplayNotesInline":false,"DisplayDownloadableCheckbox":false,"EnableWysiwyg":false,"SortOrder":0,"EnableCodeEditor":false,"Notes":"string","EditorAlias":"string","PreValues":["string"]}'
await fetch("https://your-site.webinone.com/api/v2/admin/modules/1/properties", { method: "POST", headers: { "Authorization": "Bearer <token>", "Content-Type": "application/json" }, body: JSON.stringify({ "Name": "Example", "Mandatory": false, "IsMultiple": false, "DisplayNotesInline": false, "DisplayDownloadableCheckbox": false, "EnableWysiwyg": false, "SortOrder": 0, "EnableCodeEditor": false, "Notes": "string", "EditorAlias": "string", "PreValues": [ "string" ] }) });
import requests requests.post( "https://your-site.webinone.com/api/v2/admin/modules/1/properties", headers={"Authorization": "Bearer <token>"}, json={ "Name": "Example", "Mandatory": False, "IsMultiple": False, "DisplayNotesInline": False, "DisplayDownloadableCheckbox": False, "EnableWysiwyg": False, "SortOrder": 0, "EnableCodeEditor": False, "Notes": "string", "EditorAlias": "string", "PreValues": ["string"] } )
$client = new GuzzleHttp\Client(); $response = $client->request('POST', 'https://your-site.webinone.com/api/v2/admin/modules/1/properties', [ 'headers' => [ 'Authorization' => 'Bearer <token>', 'Content-Type' => 'application/json' ], 'json' => [ 'Name' => 'Example', 'Mandatory' => false, 'IsMultiple' => false, 'DisplayNotesInline' => false, 'DisplayDownloadableCheckbox' => false, 'EnableWysiwyg' => false, 'SortOrder' => 0, 'EnableCodeEditor' => false, 'Notes' => 'string', 'EditorAlias' => 'string', 'PreValues' => ['string'] ] ]);
using var client = new HttpClient(); var request = new HttpRequestMessage(HttpMethod.Post, "https://your-site.webinone.com/api/v2/admin/modules/1/properties"); request.Headers.Add("Authorization", "Bearer <token>"); request.Content = new StringContent( "{\"Name\":\"Example\",\"Mandatory\":false,\"IsMultiple\":false,\"DisplayNotesInline\":false,\"DisplayDownloadableCheckbox\":false,\"EnableWysiwyg\":false,\"SortOrder\":0,\"EnableCodeEditor\":false,\"Notes\":\"string\",\"EditorAlias\":\"string\",\"PreValues\":[\"string\"]}", Encoding.UTF8, "application/json"); var response = await client.SendAsync(request);
Response · 200
{
"Id": "string",
"Name": "Example",
"Alias": "string",
"Mandatory": false,
"SortOrder": 0,
"IsMultiple": false,
"DisplayValue": "string",
"Notes": "string",
"EnableWysiwyg": false,
"PreValues": [
"string"
],
"EditorAlias": "string",
"Value": "string"
}Updates an existing module property
Parameters
idinteger · pathrequired
Resource identifier.
Body parameters
Aliasstringrequired
Machine-readable alias for the module property.
Namestringrequired
Name of the module property.
Mandatoryboolean
Determines whether a field is required.
IsMultipleboolean
Indicates whether the property can take multiple values. Available for: [ List (Dropdown List) ] by default: false.
DisplayNotesInlineboolean
Determines whether notes/tooltips will be displayed directly next to the input field.
DisplayDownloadableCheckboxboolean
Adds an option (checkbox) that allows you to mark the content of a property as downloadable. Available for: [ Media ] by default: false.
EnableWysiwygboolean
Includes a visual editor (WYSIWYG) for this property, allowing you to format the text. Available for: [ Multiline (Text)] by default: false.
SortOrderinteger · nullable
A numeric value that determines the order in which the property is displayed among others in the edit form.
EnableCodeEditorboolean · nullable
Activates the code editor (with syntax highlighting) instead of plain text. Available for: [ Multiline (Text) ] by default: false.
Notesstring · nullable
Text instructions or description for the content manager explaining the purpose of the Umbraco Forms field.
EditorAliasstring · nullable
Technical identifier (alias) of a specific property editor.
PreValuesarray of strings
Array (string) - array of preset values available for: [ Data Source, List (Checkbox List), List (Dropdown List), List (Radio List) ]
Response
Idstring
Unique identifier. Technical record number in the database. Read-only.
Namestring · nullable
Name of the module property.
Aliasstring · nullable
The technical name (alias) used in code to refer to this property. Identical to the name.
Mandatoryboolean
Determines whether a field is required.
SortOrderinteger
A numeric value that determines the order in which the property is displayed among others in the edit form.
IsMultipleboolean
Indicates whether the property can take multiple values.
DisplayValuestring · nullable
Display value.
Notesstring · nullable
Text instructions or description for the content manager explaining the purpose of the Umbraco Forms field.
EnableWysiwygboolean
Includes a visual editor (WYSIWYG) for this property, allowing you to format the text.
PreValuesarray of strings
Array (string) - array of preset values.
EditorAliasstring · nullable
Technical identifier (alias) of a specific property editor.
Valueobject · nullable
Whether this permission is granted for the role.
curl -X PUT "https://your-site.webinone.com/api/v2/admin/modules/1/properties" \ -H "Authorization: Bearer <token>" \ -H "Content-Type: application/json" \ -d '{"Alias":"string","Name":"Example","Mandatory":false,"IsMultiple":false,"DisplayNotesInline":false,"DisplayDownloadableCheckbox":false,"EnableWysiwyg":false,"SortOrder":0,"EnableCodeEditor":false,"Notes":"string","EditorAlias":"string","PreValues":["string"]}'
await fetch("https://your-site.webinone.com/api/v2/admin/modules/1/properties", { method: "PUT", headers: { "Authorization": "Bearer <token>", "Content-Type": "application/json" }, body: JSON.stringify({ "Alias": "string", "Name": "Example", "Mandatory": false, "IsMultiple": false, "DisplayNotesInline": false, "DisplayDownloadableCheckbox": false, "EnableWysiwyg": false, "SortOrder": 0, "EnableCodeEditor": false, "Notes": "string", "EditorAlias": "string", "PreValues": [ "string" ] }) });
import requests requests.put( "https://your-site.webinone.com/api/v2/admin/modules/1/properties", headers={"Authorization": "Bearer <token>"}, json={ "Alias": "string", "Name": "Example", "Mandatory": False, "IsMultiple": False, "DisplayNotesInline": False, "DisplayDownloadableCheckbox": False, "EnableWysiwyg": False, "SortOrder": 0, "EnableCodeEditor": False, "Notes": "string", "EditorAlias": "string", "PreValues": ["string"] } )
$client = new GuzzleHttp\Client(); $response = $client->request('PUT', 'https://your-site.webinone.com/api/v2/admin/modules/1/properties', [ 'headers' => [ 'Authorization' => 'Bearer <token>', 'Content-Type' => 'application/json' ], 'json' => [ 'Alias' => 'string', 'Name' => 'Example', 'Mandatory' => false, 'IsMultiple' => false, 'DisplayNotesInline' => false, 'DisplayDownloadableCheckbox' => false, 'EnableWysiwyg' => false, 'SortOrder' => 0, 'EnableCodeEditor' => false, 'Notes' => 'string', 'EditorAlias' => 'string', 'PreValues' => ['string'] ] ]);
using var client = new HttpClient(); var request = new HttpRequestMessage(HttpMethod.Put, "https://your-site.webinone.com/api/v2/admin/modules/1/properties"); request.Headers.Add("Authorization", "Bearer <token>"); request.Content = new StringContent( "{\"Alias\":\"string\",\"Name\":\"Example\",\"Mandatory\":false,\"IsMultiple\":false,\"DisplayNotesInline\":false,\"DisplayDownloadableCheckbox\":false,\"EnableWysiwyg\":false,\"SortOrder\":0,\"EnableCodeEditor\":false,\"Notes\":\"string\",\"EditorAlias\":\"string\",\"PreValues\":[\"string\"]}", Encoding.UTF8, "application/json"); var response = await client.SendAsync(request);
Response · 200
{
"Id": "string",
"Name": "Example",
"Alias": "string",
"Mandatory": false,
"SortOrder": 0,
"IsMultiple": false,
"DisplayValue": "string",
"Notes": "string",
"EnableWysiwyg": false,
"PreValues": [
"string"
],
"EditorAlias": "string",
"Value": "string"
}Changes properties sort order
Parameters
idinteger · pathrequired
Resource identifier.
Body parameters
Response
Idstring
Unique identifier. Technical record number in the database. Read-only.
Namestring · nullable
Name of the module properties.
Aliasstring · nullable
The technical name (alias) used in code to refer to this property. Identical to the name.
Mandatoryboolean
Determines whether a field is required.
SortOrderinteger
A numeric value that determines the order in which the property is displayed among others in the edit form.
IsMultipleboolean
Indicates whether the property can take multiple values.
DisplayValuestring · nullable
Display value.
Notesstring · nullable
Text instructions or description for the content manager explaining the purpose of the Umbraco Forms field.
DisplayNotesInlineboolean
Determines whether notes/tooltips will be displayed directly next to the input field.
DisplayDownloadableCheckboxboolean
Adds an option (checkbox) that allows you to mark the content of a property as downloadable.
EnableWysiwygboolean
Includes a visual editor (WYSIWYG) for this property, allowing you to format the text.
EnableCodeEditorboolean · nullable
Activates the code editor (with syntax highlighting) instead of plain text.
PreValuesarray of strings
Array (string) - array of preset values.
EditorAliasstring · nullable
Technical identifier (alias) of a specific property editor.
Valueobject · nullable
Whether this permission is granted for the role.
Indexerstring · nullable
Technical indexer key used to reference this property's value in Liquid templates and internally.
Uniqueboolean
When enabled, values entered for this property must be unique across all items in the module.
curl -X PUT "https://your-site.webinone.com/api/v2/admin/modules/1/properties-order" \ -H "Authorization: Bearer <token>" \ -H "Content-Type: application/json" \ -d '["string"]'
await fetch("https://your-site.webinone.com/api/v2/admin/modules/1/properties-order", { method: "PUT", headers: { "Authorization": "Bearer <token>", "Content-Type": "application/json" }, body: JSON.stringify([ "string" ]) });
import requests requests.put( "https://your-site.webinone.com/api/v2/admin/modules/1/properties-order", headers={"Authorization": "Bearer <token>"}, json=["string"] )
$client = new GuzzleHttp\Client(); $response = $client->request('PUT', 'https://your-site.webinone.com/api/v2/admin/modules/1/properties-order', [ 'headers' => [ 'Authorization' => 'Bearer <token>', 'Content-Type' => 'application/json' ], 'json' => ['string'] ]);
using var client = new HttpClient(); var request = new HttpRequestMessage(HttpMethod.Put, "https://your-site.webinone.com/api/v2/admin/modules/1/properties-order"); request.Headers.Add("Authorization", "Bearer <token>"); request.Content = new StringContent( "[\"string\"]", Encoding.UTF8, "application/json"); var response = await client.SendAsync(request);
Response · 200
[
{
"Id": "string",
"Name": "Example",
"Alias": "string",
"Mandatory": false,
"SortOrder": 0,
"IsMultiple": false,
"DisplayValue": "string",
"Notes": "string",
"DisplayNotesInline": false,
"DisplayDownloadableCheckbox": false,
"EnableWysiwyg": false,
"EnableCodeEditor": false,
"PreValues": [
"string"
],
"EditorAlias": "string",
"Value": "string",
"Indexer": "string",
"Unique": false
}
]Deletes an existing module properties
Parameters
idinteger · pathrequired
Resource identifier.
aliasstring · pathrequired
Resource identifier.
curl -X DELETE "https://your-site.webinone.com/api/v2/admin/modules/1/properties/1" \ -H "Authorization: Bearer <token>"
await fetch("https://your-site.webinone.com/api/v2/admin/modules/1/properties/1", { method: "DELETE", headers: { "Authorization": "Bearer <token>" } });
import requests requests.delete( "https://your-site.webinone.com/api/v2/admin/modules/1/properties/1", headers={"Authorization": "Bearer <token>"} )
$client = new GuzzleHttp\Client(); $response = $client->request('DELETE', 'https://your-site.webinone.com/api/v2/admin/modules/1/properties/1', [ 'headers' => [ 'Authorization' => 'Bearer <token>' ] ]);
using var client = new HttpClient(); var request = new HttpRequestMessage(HttpMethod.Delete, "https://your-site.webinone.com/api/v2/admin/modules/1/properties/1"); request.Headers.Add("Authorization", "Bearer <token>"); var response = await client.SendAsync(request);
Retrieves a module property settings
Parameters
idinteger · pathrequired
Module properties defaults id.
Response
CategoriesRootIdstring · nullable
Identifier of the related categories root.
DefaultTemplatestring · nullable
Identifier or name of the template applied by default to new items in the module.
DisableItemsForSiteSearchboolean
Whether disable items for site search is on.
EnableAuthorboolean
Whether enable author is on.
EnableCategoriesboolean
Whether enable categories is on.
EnableExpirationDateboolean
Whether enable expiration date is on.
EnableMultipleDetailLayoutboolean
Whether enable multiple detail layout is on.
EnableReleaseDateboolean
Whether enable release date is on.
EnableTagsboolean
Whether enable tags is on.
EnableWeightingboolean
Whether enable weighting is on.
ItemExpiryinteger
Default number of days after which new items in the module expire.
SeoPrioritynumber
Default sitemap priority assigned to new items in the module.
ShowNewItemsForSearchEnginesboolean
Show new items for search engines.
curl "https://your-site.webinone.com/api/v2/admin/modules/1/property-settings" \ -H "Authorization: Bearer <token>"
await fetch("https://your-site.webinone.com/api/v2/admin/modules/1/property-settings", { method: "GET", headers: { "Authorization": "Bearer <token>" } });
import requests requests.get( "https://your-site.webinone.com/api/v2/admin/modules/1/property-settings", headers={"Authorization": "Bearer <token>"} )
$client = new GuzzleHttp\Client(); $response = $client->request('GET', 'https://your-site.webinone.com/api/v2/admin/modules/1/property-settings', [ 'headers' => [ 'Authorization' => 'Bearer <token>' ] ]);
using var client = new HttpClient(); var request = new HttpRequestMessage(HttpMethod.Get, "https://your-site.webinone.com/api/v2/admin/modules/1/property-settings"); request.Headers.Add("Authorization", "Bearer <token>"); var response = await client.SendAsync(request);
Response · 200
{
"CategoriesRootId": "string",
"DefaultTemplate": "string",
"DisableItemsForSiteSearch": false,
"EnableAuthor": false,
"EnableCategories": false,
"EnableExpirationDate": false,
"EnableMultipleDetailLayout": false,
"EnableReleaseDate": false,
"EnableTags": false,
"EnableWeighting": false,
"ItemExpiry": 0,
"SeoPriority": 0,
"ShowNewItemsForSearchEngines": false
}Updates an existing module property settings
Parameters
idinteger · pathrequired
Resource identifier.
Body parameters
CategoriesRootIdstring · nullable
Identifier of the related categories root.
DefaultTemplatestring · nullable
Identifier or name of the template applied by default to new items in the module.
DisableItemsForSiteSearchboolean
Whether disable items for site search is on.
EnableAuthorboolean
Whether enable author is on.
EnableCategoriesboolean
Whether enable categories is on.
EnableExpirationDateboolean
Whether enable expiration date is on.
EnableMultipleDetailLayoutboolean
Whether enable multiple detail layout is on.
EnableReleaseDateboolean
Whether enable release date is on.
EnableTagsboolean
Whether enable tags is on.
EnableWeightingboolean
Whether enable weighting is on.
ItemExpiryinteger
Default number of days after which new items in the module expire.
SeoPrioritynumber
Default sitemap priority assigned to new items in the module.
ShowNewItemsForSearchEnginesboolean
Show new items for search engines.
Response
CategoriesRootIdstring · nullable
Identifier of the related categories root.
DefaultTemplatestring · nullable
Identifier or name of the template applied by default to new items in the module.
DisableItemsForSiteSearchboolean
Whether disable items for site search is on.
EnableAuthorboolean
Whether enable author is on.
EnableCategoriesboolean
Whether enable categories is on.
EnableExpirationDateboolean
Whether enable expiration date is on.
EnableMultipleDetailLayoutboolean
Whether enable multiple detail layout is on.
EnableReleaseDateboolean
Whether enable release date is on.
EnableTagsboolean
Whether enable tags is on.
EnableWeightingboolean
Whether enable weighting is on.
ItemExpiryinteger
Default number of days after which new items in the module expire.
SeoPrioritynumber
Default sitemap priority assigned to new items in the module.
ShowNewItemsForSearchEnginesboolean
Show new items for search engines.
curl -X PUT "https://your-site.webinone.com/api/v2/admin/modules/1/property-settings" \ -H "Authorization: Bearer <token>" \ -H "Content-Type: application/json" \ -d '{"CategoriesRootId":"string","DefaultTemplate":"string","DisableItemsForSiteSearch":false,"EnableAuthor":false,"EnableCategories":false,"EnableExpirationDate":false,"EnableMultipleDetailLayout":false,"EnableReleaseDate":false,"EnableTags":false,"EnableWeighting":false,"ItemExpiry":0,"SeoPriority":0,"ShowNewItemsForSearchEngines":false}'
await fetch("https://your-site.webinone.com/api/v2/admin/modules/1/property-settings", { method: "PUT", headers: { "Authorization": "Bearer <token>", "Content-Type": "application/json" }, body: JSON.stringify({ "CategoriesRootId": "string", "DefaultTemplate": "string", "DisableItemsForSiteSearch": false, "EnableAuthor": false, "EnableCategories": false, "EnableExpirationDate": false, "EnableMultipleDetailLayout": false, "EnableReleaseDate": false, "EnableTags": false, "EnableWeighting": false, "ItemExpiry": 0, "SeoPriority": 0, "ShowNewItemsForSearchEngines": false }) });
import requests requests.put( "https://your-site.webinone.com/api/v2/admin/modules/1/property-settings", headers={"Authorization": "Bearer <token>"}, json={ "CategoriesRootId": "string", "DefaultTemplate": "string", "DisableItemsForSiteSearch": False, "EnableAuthor": False, "EnableCategories": False, "EnableExpirationDate": False, "EnableMultipleDetailLayout": False, "EnableReleaseDate": False, "EnableTags": False, "EnableWeighting": False, "ItemExpiry": 0, "SeoPriority": 0, "ShowNewItemsForSearchEngines": False } )
$client = new GuzzleHttp\Client(); $response = $client->request('PUT', 'https://your-site.webinone.com/api/v2/admin/modules/1/property-settings', [ 'headers' => [ 'Authorization' => 'Bearer <token>', 'Content-Type' => 'application/json' ], 'json' => [ 'CategoriesRootId' => 'string', 'DefaultTemplate' => 'string', 'DisableItemsForSiteSearch' => false, 'EnableAuthor' => false, 'EnableCategories' => false, 'EnableExpirationDate' => false, 'EnableMultipleDetailLayout' => false, 'EnableReleaseDate' => false, 'EnableTags' => false, 'EnableWeighting' => false, 'ItemExpiry' => 0, 'SeoPriority' => 0, 'ShowNewItemsForSearchEngines' => false ] ]);
using var client = new HttpClient(); var request = new HttpRequestMessage(HttpMethod.Put, "https://your-site.webinone.com/api/v2/admin/modules/1/property-settings"); request.Headers.Add("Authorization", "Bearer <token>"); request.Content = new StringContent( "{\"CategoriesRootId\":\"string\",\"DefaultTemplate\":\"string\",\"DisableItemsForSiteSearch\":false,\"EnableAuthor\":false,\"EnableCategories\":false,\"EnableExpirationDate\":false,\"EnableMultipleDetailLayout\":false,\"EnableReleaseDate\":false,\"EnableTags\":false,\"EnableWeighting\":false,\"ItemExpiry\":0,\"SeoPriority\":0,\"ShowNewItemsForSearchEngines\":false}", Encoding.UTF8, "application/json"); var response = await client.SendAsync(request);
Response · 200
{
"CategoriesRootId": "string",
"DefaultTemplate": "string",
"DisableItemsForSiteSearch": false,
"EnableAuthor": false,
"EnableCategories": false,
"EnableExpirationDate": false,
"EnableMultipleDetailLayout": false,
"EnableReleaseDate": false,
"EnableTags": false,
"EnableWeighting": false,
"ItemExpiry": 0,
"SeoPriority": 0,
"ShowNewItemsForSearchEngines": false
}