Delete a Sub Sub Sub Item
To delete a sub sub sub item from a list, use the DeleteSubSubSubItem endpoint.
| Description | Removes a sub sub sub item from a list in WebEOC Nexus |
|---|---|
| URL | /lists/[listname]/[listItemName]/[subItemName]/[subsubItemName]/[subsubsubItemName] |
| Method | DELETE |
| Parameters |
|
| Return Type | None |
| Sample JSON Response | Empty string or an error message |
Review the parameter definitions and examples of how to use the DeleteSubSubSubItem endpoint in JavaScript and C# calls.
Parameters
| Variable Name | Type | Description | Required |
|---|---|---|---|
| listName | String | Name of the list in WebEOC Nexus that contains the sub sub sub item you want to delete | True (URL) |
| listitemname | String | Name of the list item in WebEOC Nexus that contains the sub sub sub item you want to delete | True (URL) |
| subItemName | String | Name of the sub item that contains the sub sub sub item you want to delete | True (URL) |
| subSubItemName | String | Name of the sub sub item that contains the sub sub sub item you want to delete | True (URL) |
| subSubSubItemName | String | Name of the sub sub sub item you want to delete | True (URL) |
Examples
JavaScript Call
Copy Code
await fetch(`${baseUrl}/lists/list01/listitem01/subitem01/subsubitem01/subsubsubitem01`, { method: 'DELETE' })
C# Call
Copy Code
public async Task DeleteSubSubSubItem()
{
using (var httpClient = new HttpClient(httpClientHandler))
{
await httpClient.DeleteAsync($"{baseUrl}/lists/list01/listitem01/subitem01/subsubitem01/subsubsubitem01");
}
}
Related Concepts
Related Tasks