Mobile

This API manages mobile device provisioning requests.


Parameters

Name In Type Required Description
Request-Correlation-Id header string(uuid) true Unique request identifier
org_id path string true Organization name
body body MobileActivateRequest true ‘none’

Request body - instance of MobileActivateRequest

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
{
  "externalReference": "process-01",
  "segment": "B2C",
  "billingType": "POSTPAID",
  "msisdn": {
    "countryCode": "34",
    "number": "675588933"
  },
  "sim": {
    "iccid": "8934333324100119000",
    "imsi": "214111128354000",
    "ki": "X11352C34E2881C51CDB15FA7CD64ASD"
  },
  "network": {
    "dataplan": "INFINITA2",
    "serviceClass": "0",
    "profileId": "51"
  },
  "portability": {
    "contractCode": "00523826771",
    "cutOverWindow": "2025-04-29",
    "donor": {
      "documentType": "DNI",
      "documentNumber": "70011111X",
      "nationality": "Spanish",
      "name": "Eduardo",
      "middleName": "Invent",
      "lastName": "Total",
      "enterprise": "MASORANGE S.L.",
      "operator": "0031",
      "iccid": "8934011119120320000"
    }
  }
}
Name Type Required Description
externalReference string true External reference assigned to process
segment string true Client segment
billingType string true Billing type
msisdn object true none
» countryCode string true Country code
» number string true Msisdn
sim object false Sim characteristics
» iccid string false Integrated Circuit Card Identifier
» imsi string false International Mobile Subscriber Identity
» ki string¦null false Authentication key
network object false Network characteristics
» dataplan string false none
» serviceClass string false none
» profileId string false none
portability object false Portability characteristics
» contractCode string true none
» cutOverWindow string true none
» donor object true Portability donor characteristics
»» documentType string true Portability donor document type
»» documentNumber string true Portability donor document number
»» nationality string false Portability donor nationality
»» name string false Portability donor name
»» middleName string false Portability donor middle name
»» lastName string false Portability donor last name
»» enterprise string false Portability donor enterprise
»» operator string true Portability donor operator
»» iccid string false Portability donor Integrated Circuit Card Identifier
Name Type Required Description
»» anonymous object false none
Name Type Required Description
»» anonymous object false none
Property Values
segment one of [B2C, B2B, B2B2C]
billingType one of [POSTPAID, PREPAID]

Request example

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40

curl -X POST https://provision-master.private.dev.k8s.masmovil.com/v1/orgs/masmovil/mobile/activate \
  -H "Content-Type: application/json" \
  -H "Accept: application/json" \
  -H "Request-Correlation-Id: 01968069-ad7b-7cef-8cd0-7dddaecbf813" \
 --data-raw "{
  'externalReference': 'process-01',
  'segment': 'B2C',
  'billingType': 'POSTPAID',
  'msisdn': {
    'countryCode': '34',
    'number': '675588933'
  },
  'sim': {
    'iccid': '8934333324100119000',
    'imsi': '214111128354000',
    'ki': 'X11352C34E2881C51CDB15FA7CD64ASD'
  },
  'network': {
    'dataplan': 'INFINITA2',
    'serviceClass': '0',
    'profileId': '51'
  },
  'portability': {
    'contractCode': '00523826771',
    'cutOverWindow': '2025-04-29',
    'donor': {
      'documentType': 'DNI',
      'documentNumber': '70011111X',
      'nationality': 'Spanish',
      'name': 'Eduardo',
      'middleName': 'Invent',
      'lastName': 'Total',
      'enterprise': 'MASORANGE S.L.',
      'operator': '0031',
      'iccid': '8934011119120320000'
    }
  }
}" 

Responses

Code Meaning Description Schema
200 OK The operation request was successfully accepted, returned the request external reference identifier MobileProcessResponse
400 Bad Request Bad Request MobileErrorResponse
401 Unauthorized Unauthorized request MobileErrorResponse
403 Forbidden Forbidden resource MobileErrorResponse
404 Not Found Data not found MobileErrorResponse
406 Not Acceptable Not Acceptable MobileErrorResponse
500 Internal Server Error Internal Server Error MobileErrorResponse

Parameters

Name In Type Required Description
Request-Correlation-Id header string(uuid) true Unique request identifier
org_id path string true Organization name
process_id path string true Process id of the activation to be cancelled

Request example

1
2
3
4
5

curl -X PUT https://provision-master.private.dev.k8s.masmovil.com/v1/orgs/masmovil/mobile/activate/process-01/cancel \
  -H "Accept: application/json" \
  -H "Request-Correlation-Id: 01968069-ad7b-7cef-8cd0-7dddaecbf813"

Responses

Code Meaning Description Schema
200 OK The operation request was successfully accepted, returned the request external reference identifier MobileSuccessResponse
400 Bad Request Bad Request MobileErrorResponse
401 Unauthorized Unauthorized request MobileErrorResponse
403 Forbidden Forbidden resource MobileErrorResponse
404 Not Found Data not found MobileErrorResponse
406 Not Acceptable Not Acceptable MobileErrorResponse
500 Internal Server Error Internal Server Error MobileErrorResponse

Parameters

Name In Type Required Description
Request-Correlation-Id header string(uuid) true Unique request identifier
org_id path string true Organization name
body body MobileTerminateRequest false ‘none’

Request body - instance of MobileTerminateRequest

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
{
  "externalReference": "process-01",
  "segment": "B2C",
  "billingType": "POSTPAID",
  "msisdn": {
    "countryCode": "34",
    "number": "675588933"
  },
  "sim": {
    "iccid": "8934333324100119000",
    "imsi": "214111128354000",
    "ki": "X11352C34E2881C51CDB15FA7CD64ASD"
  },
  "portability": {
    "portabilityDate": "12/17/24/02/00",
    "receptorOperator": 1,
    "donor": {
      "operator": "0031"
    }
  }
}
Name Type Required Description
externalReference string true External reference assigned to process
segment string true Client segment
billingType string true Billing type
msisdn object true none
» countryCode string true Country code
» number string true Msisdn
sim object false Sim characteristics
» iccid string false Integrated Circuit Card Identifier
» imsi string false International Mobile Subscriber Identity
» ki string¦null false Authentication key
portability object false Portability characteristics
» portabilityDate string true The requested date and time for the portability (e.g., DD/MM/YY/HH/mm).
» receptorOperator string true none
» donor object true Portability donor characteristics
»» operator string true Portability donor operator
Property Values
segment one of [B2C, B2B, B2B2C]
billingType one of [POSTPAID, PREPAID]

Request example

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27

curl -X POST https://provision-master.private.dev.k8s.masmovil.com/v1/orgs/masmovil/mobile/terminate \
  -H "Content-Type: application/json" \
  -H "Accept: application/json" \
  -H "Request-Correlation-Id: 01968069-ad7b-7cef-8cd0-7dddaecbf813" \
 --data-raw "{
  'externalReference': 'process-01',
  'segment': 'B2C',
  'billingType': 'POSTPAID',
  'msisdn': {
    'countryCode': '34',
    'number': '675588933'
  },
  'sim': {
    'iccid': '8934333324100119000',
    'imsi': '214111128354000',
    'ki': 'X11352C34E2881C51CDB15FA7CD64ASD'
  },
  'portability': {
    'portabilityDate': '12/17/24/02/00',
    'receptorOperator': 1,
    'donor': {
      'operator': '0031'
    }
  }
}" 

Responses

Code Meaning Description Schema
200 OK The operation request was successfully accepted, returned the request external reference identifier MobileProcessResponse
400 Bad Request Bad Request MobileErrorResponse
401 Unauthorized Unauthorized request MobileErrorResponse
403 Forbidden Forbidden resource MobileErrorResponse
404 Not Found Data not found MobileErrorResponse
406 Not Acceptable Not Acceptable MobileErrorResponse
500 Internal Server Error Internal Server Error MobileErrorResponse

Parameters

Name In Type Required Description
Request-Correlation-Id header string(uuid) true Unique request identifier
org_id path string true Organization name
msisdn path string true Msisdn
body body MobileChangeTariffRequest true ‘none’

Request body - instance of MobileChangeTariffRequest

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
{
  "externalReference": "process-01",
  "segment": "B2C",
  "billingType": "POSTPAID",
  "msisdn": {
    "countryCode": "34"
  },
  "sim": {
    "iccid": "8934333324100119000",
    "imsi": "214111128354000",
    "ki": "X11352C34E2881C51CDB15FA7CD64ASD"
  },
  "client": {
    "email": "invent@masorange.lol",
    "documentNumber": "70002222X",
    "firstName": "Eduardo",
    "lastName": "Invent",
    "phoneNumber": "675588933"
  },
  "oldCommercialProductId": "YG_TARIFF_30GB_3",
  "newCommercialProductId": "YG_TARIFF_35GB_3"
}
Name Type Required Description
externalReference string true External reference assigned to process
segment string true Client segment
billingType string true Billing type
msisdn object true none
» countryCode string false Country code
sim object true Sim characteristics
» iccid string false Integrated Circuit Card Identifier
» imsi string false International Mobile Subscriber Identity
» ki string false Authentication key
client object false none
» email string false Client email
» documentNumber string false Client document number
» firstName string false Client first name
» lastName string false Client last name
» phoneNumber string false Client phone number
oldCommercialProductId string true Old commercial tariff
newCommercialProductId string true New commercial tariff
Property Values
segment one of [B2C, B2B, B2B2C]
billingType one of [POSTPAID, PREPAID]

Request example

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28

curl -X PUT https://provision-master.private.dev.k8s.masmovil.com/v1/orgs/masmovil/mobile/675588933/tariff \
  -H "Content-Type: application/json" \
  -H "Accept: application/json" \
  -H "Request-Correlation-Id: 01968069-ad7b-7cef-8cd0-7dddaecbf813" \
 --data-raw "{
  'externalReference': 'process-01',
  'segment': 'B2C',
  'billingType': 'POSTPAID',
  'msisdn': {
    'countryCode': '34'
  },
  'sim': {
    'iccid': '8934333324100119000',
    'imsi': '214111128354000',
    'ki': 'X11352C34E2881C51CDB15FA7CD64ASD'
  },
  'client': {
    'email': 'invent@masorange.lol',
    'documentNumber': '70002222X',
    'firstName': 'Eduardo',
    'lastName': 'Invent',
    'phoneNumber': '675588933'
  },
  'oldCommercialProductId': 'YG_TARIFF_30GB_3',
  'newCommercialProductId': 'YG_TARIFF_35GB_3'
}" 

Responses

Code Meaning Description Schema
200 OK The operation request was successfully accepted, returned the request external reference identifier MobileProcessResponse
400 Bad Request Bad Request MobileErrorResponse
401 Unauthorized Unauthorized request MobileErrorResponse
403 Forbidden Forbidden resource MobileErrorResponse
404 Not Found Data not found MobileErrorResponse
406 Not Acceptable Not Acceptable MobileErrorResponse
500 Internal Server Error Internal Server Error MobileErrorResponse

Parameters

Name In Type Required Description
Request-Correlation-Id header string(uuid) true Unique request identifier
org_id path string true Organization name
msisdn path string true Msisdn
body body MobileChangeSimRequest true Contains an request to change sim card.

Request body - instance of MobileChangeSimRequest

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
{
  "externalReference": "process-01",
  "segment": "B2C",
  "billingType": "POSTPAID",
  "msisdn": {
    "countryCode": "34"
  },
  "sim": {
    "in": {
      "iccid": "8934333324100119000",
      "imsi": "214111128354000",
      "ki": "X11352C34E2881C51CDB15FA7CD64ASD"
    },
    "out": {
      "iccid": "8934333324100119001",
      "imsi": "214111128354001",
      "ki": "X11352C34E2881C51CDB15FA7CD64ASX"
    }
  }
}
Name Type Required Description
externalReference string true External reference assigned to process
segment string true Client segment
billingType string true Billing type
msisdn object true none
» countryCode string false Country code
sim object true none
» in object false none
»» iccid string false Integrated Circuit Card Identifier
»» imsi string false International Mobile Subscriber Identity
»» ki string false Authentication key
» out object false none
»» iccid string false Integrated Circuit Card Identifier
»» imsi string false International Mobile Subscriber Identity
»» ki string false Authentication key
Property Values
segment one of [B2C, B2B, B2B2C]
billingType one of [POSTPAID, PREPAID]

Request example

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26

curl -X PUT https://provision-master.private.dev.k8s.masmovil.com/v1/orgs/masmovil/mobile/675588933/sim \
  -H "Content-Type: application/json" \
  -H "Accept: application/json" \
  -H "Request-Correlation-Id: 01968069-ad7b-7cef-8cd0-7dddaecbf813" \
 --data-raw "{
  'externalReference': 'process-01',
  'segment': 'B2C',
  'billingType': 'POSTPAID',
  'msisdn': {
    'countryCode': '34'
  },
  'sim': {
    'in': {
      'iccid': '8934333324100119000',
      'imsi': '214111128354000',
      'ki': 'X11352C34E2881C51CDB15FA7CD64ASD'
    },
    'out': {
      'iccid': '8934333324100119001',
      'imsi': '214111128354001',
      'ki': 'X11352C34E2881C51CDB15FA7CD64ASX'
    }
  }
}" 

Responses

Code Meaning Description Schema
200 OK Process created MobileProcessResponse
400 Bad Request Bad Request MobileErrorResponse
401 Unauthorized Unauthorized request MobileErrorResponse
403 Forbidden Forbidden resource MobileErrorResponse
404 Not Found Data not found MobileErrorResponse
406 Not Acceptable Not Acceptable MobileErrorResponse
500 Internal Server Error Internal Server Error MobileErrorResponse

Parameters

Name In Type Required Description
Request-Correlation-Id header string(uuid) true Unique request identifier
org_id path string true Organization name
msisdn path string true Msisdn
body body MobileChangeMultiSimRequest true ‘none’

Request body - instance of MobileChangeMultiSimRequest

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
{
  "externalReference": "process-01",
  "segment": "B2C",
  "billingType": "POSTPAID",
  "msisdn": {
    "countryCode": "34"
  },
  "sim": {
    "in": {
      "iccid": "8934333324100119000",
      "imsi": "214111128354000",
      "ki": "X11352C34E2881C51CDB15FA7CD64ASD"
    },
    "out": {
      "iccid": "8934333324100119001",
      "imsi": "214111128354001",
      "ki": "X11352C34E2881C51CDB15FA7CD64ASX"
    }
  },
  "multiSimInfo": {
    "primaryImsi": "214111128354002",
    "primaryMsisdn": {
      "countryCode": "34",
      "number": "675588933"
    }
  }
}
Name Type Required Description
externalReference string true External reference assigned to process
segment string true Client segment
billingType string true Billing type
msisdn object true none
» countryCode string false Country code
sim object true none
» in object false none
»» iccid string false Integrated Circuit Card Identifier
»» imsi string false International Mobile Subscriber Identity
»» ki string false Authentication key
» out object false none
»» iccid string false Integrated Circuit Card Identifier
»» imsi string false International Mobile Subscriber Identity
»» ki string false Authentication key
multiSimInfo object¦null true none
» primaryImsi string false Primary IMSI associated with the multi-sim
» primaryMsisdn object false Primary MSISDN associated with the multi-sim
»» countryCode string true Country code
»» number string true Msisdn
Property Values
segment one of [B2C, B2B, B2B2C]
billingType one of [POSTPAID, PREPAID]

Request example

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33

curl -X PUT https://provision-master.private.dev.k8s.masmovil.com/v1/orgs/masmovil/mobile/675588933/multi_sim \
  -H "Content-Type: application/json" \
  -H "Accept: application/json" \
  -H "Request-Correlation-Id: 01968069-ad7b-7cef-8cd0-7dddaecbf813" \
 --data-raw "{
  'externalReference': 'process-01',
  'segment': 'B2C',
  'billingType': 'POSTPAID',
  'msisdn': {
    'countryCode': '34'
  },
  'sim': {
    'in': {
      'iccid': '8934333324100119000',
      'imsi': '214111128354000',
      'ki': 'X11352C34E2881C51CDB15FA7CD64ASD'
    },
    'out': {
      'iccid': '8934333324100119001',
      'imsi': '214111128354001',
      'ki': 'X11352C34E2881C51CDB15FA7CD64ASX'
    }
  },
  'multiSimInfo': {
    'primaryImsi': '214111128354002',
    'primaryMsisdn': {
      'countryCode': '34',
      'number': '675588933'
    }
  }
}" 

Responses

Code Meaning Description Schema
200 OK Process created MobileProcessResponse
400 Bad Request Bad Request MobileErrorResponse
401 Unauthorized Unauthorized request MobileErrorResponse
403 Forbidden Forbidden resource MobileErrorResponse
404 Not Found Data not found MobileErrorResponse
406 Not Acceptable Not Acceptable MobileErrorResponse
500 Internal Server Error Internal Server Error MobileErrorResponse

Parameters

Name In Type Required Description
Request-Correlation-Id header string(uuid) true Unique request identifier
org_id path string true Organization name
msisdn path string true Msisdn
body body MobileChangeCallWaitingRequest true ‘none’

Request body - instance of MobileChangeCallWaitingRequest

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
{
  "externalReference": "process-01",
  "segment": "B2C",
  "billingType": "POSTPAID",
  "msisdn": {
    "countryCode": "34"
  },
  "sim": {
    "iccid": "8934333324100119000",
    "imsi": "214111128354000",
    "ki": "X11352C34E2881C51CDB15FA7CD64ASD"
  },
  "callWaitingService": true
}
Name Type Required Description
externalReference string true External reference assigned to process
segment string true Client segment
billingType string true Billing type
msisdn object true none
» countryCode string false Country code
sim object true none
» iccid string false Integrated Circuit Card Identifier
» imsi string false International Mobile Subscriber Identity
» ki string¦null false Authentication key
callWaitingService boolean true Indicates if the call waiting service is active
Property Values
segment one of [B2C, B2B, B2B2C]
billingType one of [POSTPAID, PREPAID]

Request example

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20

curl -X PUT https://provision-master.private.dev.k8s.masmovil.com/v1/orgs/masmovil/mobile/675588933/call/waiting \
  -H "Content-Type: application/json" \
  -H "Accept: application/json" \
  -H "Request-Correlation-Id: 01968069-ad7b-7cef-8cd0-7dddaecbf813" \
 --data-raw "{
  'externalReference': 'process-01',
  'segment': 'B2C',
  'billingType': 'POSTPAID',
  'msisdn': {
    'countryCode': '34'
  },
  'sim': {
    'iccid': '8934333324100119000',
    'imsi': '214111128354000',
    'ki': 'X11352C34E2881C51CDB15FA7CD64ASD'
  },
  'callWaitingService': true
}" 

Responses

Code Meaning Description Schema
200 OK Process created MobileProcessResponse
400 Bad Request Bad Request MobileErrorResponse
401 Unauthorized Unauthorized request MobileErrorResponse
403 Forbidden Forbidden resource MobileErrorResponse
404 Not Found Data not found MobileErrorResponse
406 Not Acceptable Not Acceptable MobileErrorResponse
500 Internal Server Error Internal Server Error MobileErrorResponse

Parameters

Name In Type Required Description
Request-Correlation-Id header string(uuid) true Unique request identifier
org_id path string true Organization name
msisdn path string true Msisdn
body body MobileChangeCallForwardingRequest true ‘none’

Request body - instance of MobileChangeCallForwardingRequest

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
{
  "externalReference": "process-01",
  "segment": "B2C",
  "billingType": "POSTPAID",
  "msisdn": {
    "countryCode": "34"
  },
  "sim": {
    "imsi": "214111128354000",
    "ki": "X11352C34E2881C51CDB15FA7CD64ASD"
  },
  "callForwardServices": [
    {
      "type": "callForwardBusy",
      "value": "34633633556"
    }
  ]
}
Name Type Required Description
externalReference string true External reference assigned to process
segment string true Client segment
billingType string true Billing type
msisdn object true none
» countryCode string false Country code
sim object true none
» imsi string false International Mobile Subscriber Identity
» ki string¦null false Authentication key
callForwardServices [object] false List of call forwarding services configured
» type string false Type of call forwarding
» value string false Value of service
Property Values
segment one of [B2C, B2B, B2B2C]
billingType one of [POSTPAID, PREPAID]

Request example

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24

curl -X PUT https://provision-master.private.dev.k8s.masmovil.com/v1/orgs/masmovil/mobile/675588933/call/forward \
  -H "Content-Type: application/json" \
  -H "Accept: application/json" \
  -H "Request-Correlation-Id: 01968069-ad7b-7cef-8cd0-7dddaecbf813" \
 --data-raw "{
  'externalReference': 'process-01',
  'segment': 'B2C',
  'billingType': 'POSTPAID',
  'msisdn': {
    'countryCode': '34'
  },
  'sim': {
    'imsi': '214111128354000',
    'ki': 'X11352C34E2881C51CDB15FA7CD64ASD'
  },
  'callForwardServices': [
    {
      'type': 'callForwardBusy',
      'value': '34633633556'
    }
  ]
}" 

Responses

Code Meaning Description Schema
200 OK Process created MobileProcessResponse
400 Bad Request Bad Request MobileErrorResponse
401 Unauthorized Unauthorized request MobileErrorResponse
403 Forbidden Forbidden resource MobileErrorResponse
404 Not Found Data not found MobileErrorResponse
406 Not Acceptable Not Acceptable MobileErrorResponse
500 Internal Server Error Internal Server Error MobileErrorResponse

Parameters

Name In Type Required Description
Request-Correlation-Id header string(uuid) true ‘none’
org_id path string true Organization name
msisdn path string true msisdn
body body MobileChangeBarringsRequest true Contains an request to change sim card.

Request body - instance of MobileChangeBarringsRequest

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
{
  "externalReference": "DISCONNECT_TEST_KENNY_406130_722608064",
  "segment": "B2C",
  "billingType": "POSTPAID",
  "msisdn": {
    "countryCode": "34"
  },
  "sim": {
    "imsi": 214040126049981,
    "ki": "48DF770F8363A0EE5FEB620B6F3ACBF3"
  },
  "changeBarringServices": [
    {
      "type": "callForwardBusy",
      "value": "+123456789"
    }
  ]
}
Name Type Required Description
externalReference string true Identificador externo de la solicitud
segment string true none
billingType string true Tipo de cliente asociado a la SIM
msisdn object true none
» countryCode string false Country code
sim object true none
» imsi string false Identidad internacional del abonado móvil (IMSI)
» ki string false (Ki)
changeBarringServices [object] false Lista de barrings configurados
» type string false Tipo del Barrings (por ejemplo, callForwardBusy o callForwardUnconditional)
» value string false Valor del servicio (por ejemplo, el número al que se desvía la llamada)
Property Values
segment one of [B2C, B2B, B2B2C]
billingType one of [POSTPAID, PREPAID]

Request example

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24

curl -X PUT https://provision-master.private.dev.k8s.masmovil.com/v1/orgs/masmovil/mobile/6998566/barrings \
  -H "Content-Type: application/json" \
  -H "Accept: application/json" \
  -H "Request-Correlation-Id: 497f6eca-6276-4993-bfeb-53cbbbba6f08" \
 --data-raw "{
  'externalReference': 'DISCONNECT_TEST_KENNY_406130_722608064',
  'segment': 'B2C',
  'billingType': 'POSTPAID',
  'msisdn': {
    'countryCode': '34'
  },
  'sim': {
    'imsi': 214040126049981,
    'ki': '48DF770F8363A0EE5FEB620B6F3ACBF3'
  },
  'changeBarringServices': [
    {
      'type': 'callForwardBusy',
      'value': '+123456789'
    }
  ]
}" 

Responses

Code Meaning Description Schema
200 OK Order created MobileProcessResponse
400 Bad Request Bad Request MobileErrorResponse
401 Unauthorized Unauthorized request MobileErrorResponse
403 Forbidden Forbidden resource MobileErrorResponse
404 Not Found Data not found MobileErrorResponse
406 Not Acceptable Not Acceptable MobileErrorResponse
500 Internal Server Error Internal Server Error MobileErrorResponse

Endpoints

Provision TV Amazon

    Provision TV Netflix

      Provision TV HBO

        Provision FTTH

          Provision Orange TV

            Tesamanager

              Mobile

                Device Insurance