Status Model
The Status Model – is a model for show platform status parameters. Model fields are presented in the table (Table 4.11), with an example below (Listing 4.8). There are the following types of this model (Table 4.12).
Table 4.11 – Fields of Status Model
№
Key
Type
Exists
Description
1
id
id, integer
required
Status identifier
2
title
string
required
Status title
Listing 4.8 – Example of Status Model (JSON)
Table 4.12 – Status Types
№
Title
Description
1
Pending
Waiting for activation
2
Invalid
Broken
3
Active
In use
4
Suspended
I pause for some reason. Waiting for reactivation.
5
Not Available
Some problems with SIM
6
Blank
Need to assign one of the Plans
7
Activation
Ready Active, wait for first usage
8
Archived
Deleted or SIM Swaped
Last updated