Delete a Sub Sub Sub Sub Item

To delete a sub sub sub sub item from a list, use the DeleteSubSubSubSubItem endpoint.

DeleteSubSubSubSubItem endpoint description
Description Removes a sub sub sub sub item from a list in WebEOC Nexus
URL /lists/[listname]/[listItemName]/[subItemName]/[subsubItemName]/[subsubsubItemName]/[subsubsubsubItemName]
Method DELETE
Parameters
  • listName

  • listItemName

  • subItemName

  • subSubItemName

  • subSubSubItemName

  • subSubSubSubItemName

Return Type None
Sample JSON Response Empty string or an error message

Review the parameter definitions and examples of how to use the DeleteSubSubSubSubItem endpoint in JavaScript and C# calls.

Parameters

DeleteSubSubSubSubItem endpoint parameters
Variable Name Type Description Required
listName String Name of the list in WebEOC Nexus that contains the sub 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 sub item you want to delete True (URL)
subItemName String Name of the sub item that contains the sub sub sub sub item you want to delete True (URL)
subSubItemName String Name of the sub sub item that contains the sub sub sub sub item you want to delete True (URL)
subSubSubItemName String Name of the sub sub sub item that contains the sub sub sub sub item you want to delete True (URL)
subSubSubSubItemName String Name of the sub sub sub sub item you want to delete True (URL)

Examples

JavaScript Call

Copy Code
await 
fetch(`${baseUrl}/lists/list01/listitem01/subitem01/subsubitem01/subsubsubitem01/subsubsubsubitem01`, { method: 'DELETE' })

C# Call

Copy Code
public async Task DeleteSubSubSubSubItem()
{
using (var httpClient = new HttpClient(httpClientHandler))
{
await httpClient.DeleteAsync($"{baseUrl}/lists/list01/listitem01/subitem01/subsubitem01/subsubsubitem01/subSubSubsubItem01");
}
}