Delete Bportal task

bportalTaskDelete(p_companyID, p_code)


You can use this endpoint to delete a task from our software.


Name Type Required Description
p_companyID string Yes The security code you have been provided with, string (32)
p_code string Yes We will look to delete the Task which has it's code value equal to the supplied value.

Return values

DELETED – the Task was successfully deleted.

ERROR_NO_SECURITY_HASH - user did not supply p_companyId security code.

ERROR_UNKNOWN_SECURITY_HASH - supplied security code p_companyId is invalid.

TASK_NOT_FOUND – no Task was found with the given p_code

CAN_NOT_DELETE_HAS_CHILDREN_TASK – no Task can be deleted if it is linked to childrens (projects to activities or activities to subactivities).

CAN_NOT_DELETE_HAS_PARENT_TASK – no Task can be deleted if it is linked to parents (activities to projects or subactivities to activities).


<soapenv:Envelope xmlns:xsi="" xmlns:xsd="" xmlns:soapenv="" xmlns:uen="uen:esws">
<uen:Esws.bportalTaskDelete soapenv:encodingStyle="">
<p_companyID xsi:type="xsd:string">^4p;tU0Q+#dEIhTWkuj5FnLD^aOLqVu0</p_companyID>
<p_code xsi:type="xsd:string">2222</p_code>


<SOAP-ENV:Envelope SOAP-ENV:encodingStyle="" xmlns:SOAP-ENV="" xmlns:xsd="" xmlns:xsi="" xmlns:SOAP-ENC="" xmlns:tns="uen:esws">
<ns1:Esws.bportalTaskDeleteResponse xmlns:ns1="uen:esws">
<return xsi:type="xsd:string">DELETED</return>