DeleteBundleType


 

Overview

Quick Links

Deletes Bundle Types from the system based on the BundleType key. 


Resource Information



Request FormatXML
Response FormatXML

Request Header

NameTypeDescription
StringStringAuthentication Token

Request Body

NameTypeDescription
bundleTypeKey
StringThe key of the BundleType to remove.



Response

NameTypeDescription
Resultboolean
Boolean indicating success.
ResultCodeStringString indicating the result. Either "Success" or "Error".
ResultMessageStringEmpty when call successful, error message otherwise.

In the case of an internal unhandled fault, a Fault object is returned instead. Providing information on what occurred exactly.

Examples

Note that these examples use V1.3.2 of the API and the token authentication flow.

Request

<Envelope xmlns="http://schemas.xmlsoap.org/soap/envelope/">
    <Header xmlns:t="http://api.cloudbilling.nl/2018/11/auth/token"><t:ApiToken>TOKEN</t:ApiToken></Header>
    <Body>
        <DeleteBundleType xmlns="api.billing.inter8.V1_3_2">
            <bundleTypeKey>Key</bundleTypeKey>
        </DeleteBundleType>
    </Body>
</Envelope>

Response

<s:Envelope xmlns:s="http://schemas.xmlsoap.org/soap/envelope/">
    <s:Body>
        <DeleteBundleTypeResponse xmlns="api.billing.inter8.V1_3_2">
            <DeleteBundleTypeResult xmlns:a="http://schemas.datacontract.org/2004/07/Kolonel.Public.Service.API.Contracts.V1_3_2" xmlns:i="http://www.w3.org/2001/XMLSchema-instance">
                <a:Result>true</a:Result>
                <a:ResultCode>Success</a:ResultCode>
                <a:ResultMessage/>
            </DeleteBundleTypeResult>
        </DeleteBundleTypeResponse>
    </s:Body>
</s:Envelope>