get_deleted_reasons

To obtain the reasons for deleting units in Wialon Local, use the unit/get_deleted_reasons method. A similar method for Wialon Hosting is unit/get_delete_reasons

Endpoint

Copied!
svc=unit/get_deleted_reasons
&params={
}

Parameters

This request contains empty parameters.

Example

Copied!
svc=unit/get_deleted_reasons&params={}

Response

If the request is completed successfully, a response with unit deletion reasons is returned.

Copied!
{
	"reasons": [
		1,
		2,
		3,
		4,
		5,
		6,
		7,
		8,
		9,
		10
	]
}

Unit deletion reasons include the following:

Value Description
1 High prices
2 Lack of functionality
3 Difficult to use
4 Transfer to competitive systems
5 Contract expiration
6 Local regulations and monopolies
7 Unstable political and economic situations
8 Tender-based units
9 Seasonal units
10 Custom reason

If the request fails, the response contains error code 6, indicating that the user ID is invalid or the user has signed out.

If you find a mistake in the text, please select it and press Ctrl+Enter.