Delete a Sub Sub Item

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

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

  • listItemName

  • subItemName

  • subSubItemName

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

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

Parameters

DeleteSubSubItem endpoint parameters
Variable Name Type Description Required
listName String Name of the list in WebEOC Nexus that contains the sub sub item you want to delete. True (URL)
listitemname String Name of the list item in WebEOC Nexus that contains the sub sub item you want to delete True (URL)
subItemName String Name of the sub item that contains the sub sub item you want to delete True (URL)
subSubItemName String Name of the sub sub item you want to delete True (URL)

Examples

JavaScript Call

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

C# Call

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