User Tools

Site Tools


api:sim:assign

API : SIM Assign

Introduction

This request will register the SIM card as being in storage at the customer or reseller specified.

Request

URL https://api.telecomx.dk/sim/SIM_ID/assign
Method GET
Access level ADMIN.
Param SIM_ID SIM card number (ICC)
Query customer Id of the customer the SIM card should be registered as being in storage at
autoAssign True to mark as auto-assign SIM, false to not.

Query example

GET https://api.telecomx.dk/sim/1234567890123456789/assign?customer=1234567890ABCDEF12345678
GET https://api.telecomx.dk/sim/1234567890123456789/assign?customer=1234567890ABCDEF12345678&autoAssign=true

Response

Json object
success Boolean True on success

Example

{
  success: true
}

Errors

Error code Message Description
400 bad_request SIM number not found in request URI
422 customer Customer not found
404 not_found SIM not found
403 access_denied Insufficient access level
500 internal_error <Unspecified>
api/sim/assign.txt · Last modified: 2026/05/13 11:03 by Per Møller

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki