BokaMera.API.Host

<back to all web services

DeleteCustomerSuperAdminUser

Requires Authentication
Required role:superadmin
The following routes are available for this service:
DELETE/superadmin/company/{Id}Deletes a customer and everything realted to customer, including administrators and bookings etc.
DeleteCustomerSuperAdminUser Parameters:
NameParameterData TypeRequiredDescription
CompanyIdqueryGuid?NoEnter the companyId for the customer
IdpathGuidYesId (guid) of company you wish to delete.
GotApprovedByAdminqueryboolNo
DeletedCustomerInfoResponse Parameters:
NameParameterData TypeRequiredDescription
CompanyIdformGuid?No
ActiveLicensesformList<License>No
CommentformstringNo
License Parameters:
NameParameterData TypeRequiredDescription
TypeformLicenseTypeNo
CompanyIdformGuidYes
IdformintNo
TypeIdformintYes
ValidFromformDateTimeYes
ValidToformDateTimeYes
ActiveformboolYes
UpdatedformDateTimeYes
CreatedformDateTimeYes
ModifiedDateformDateTimeOffset?No
MetaDataformstringNo
LicenseType Parameters:
NameParameterData TypeRequiredDescription
LicenseItemsformIList<LicenseTypeItem>No
PricesformIList<LicensePrice>No
PeriodOfNoticeDaysformintNo
NextLicenseOptionformLicenseTypeNo
NameformstringYes
DescriptionformstringYes
ExtraLicenseOptionformboolYes
ModifiedDateformDateTimeOffset?No
ActiveformboolNo
IdformintNo
LicenseTypeItem Parameters:
NameParameterData TypeRequiredDescription
NameformstringNo
LicenseTypeformLicenseTypeNo
LicenseTypesIdformintYes
LicenseItemsIdformintYes
NumberOfItemsformintYes
IdformintNo
ModifiedDateformDateTimeOffset?No
LicensePrice Parameters:
NameParameterData TypeRequiredDescription
CountryformCountryNo
MonthlyPaymentformboolNo
LicenseTypeIdformintYes
CountryIdformstringYes
PriceformintYes
ModifiedDateformDateTimeOffset?No
Country Parameters:
NameParameterData TypeRequiredDescription
CurrencyIdformstringNo
CurrencyInfoformCurrencyNo
NameformstringYes
CultureformstringNo
TimeZoneformstringNo
ModifiedDateformDateTimeOffset?No
IdformstringYes
Currency Parameters:
NameParameterData TypeRequiredDescription
NameformstringYes
CurrencySignformstringYes
ActiveformboolYes
ModifiedDateformDateTimeOffset?No
IdformstringYes

To override the Content-type in your clients, use the HTTP Accept Header, append the .other suffix or ?format=other

HTTP + OTHER

The following are sample HTTP requests and responses. The placeholders shown need to be replaced with actual values.

DELETE /superadmin/company/{Id} HTTP/1.1 
Host: api.bokamera.se 
Accept: text/jsonl
HTTP/1.1 200 OK
Content-Type: text/jsonl
Content-Length: length

{Unable to show example output for type 'DeletedCustomerInfoResponse' using the custom 'other' filter}One or more errors occurred. (License type not handled in NextLicenseOption)