api:internet:account:confirm
Table of Contents
API : Internet Account Confirm
Introduction
This request will confirm an ordered Internet account, setting delivery date and other information.
Request
| URL | https://api.telecomx.dk/internet/account/ACCOUNT_ID/confirm | ||
|---|---|---|---|
| Method | POST | ||
| Access level | RESELLER_ADMIN or ADMIN. | ||
| Params | ACCOUNT_ID | Id of the Internet account. | |
| Body | startDate | Date | The date the account will be delivered/go live. |
| circuit | String | Id of the circuit. | |
| installTime | String | Time of delivery. Valid values: 7_30_TO_16, 7_30_TO_12, 12_TO_16. | |
| name | String | Logical name of connection. Min 1, max 100 chars. | |
| takeoverCustomer | String | Customer number at donor operator (DSL takeover only). | |
| installCallNumber | String | Number that technician will call 30 minutes before arriving. | |
| installCallName | String | Name of person technician will call 30 minutes before arriving. | |
| notes | String | Note about the service. Max length 4096. | |
| notify | Array | ||
| notify[]._id | Id | Id of employee to notify. | |
| notify[].email | Boolean | True to notify via e-mail. | |
| notify[].sms | Boolean | True to notify via SMS. | |
| net | Object | ||
| net.ipAddress | String | Assigned IP address. | |
| net.subnet | String | Assigned subnet mask. | |
| net.gateway | String | Assigned default gateway. | |
| net.lanNet | String | If an additional network is assigned, this is the first IP address in the range. | |
| net.lanSubnet | String | If an additional network is assigned, this is the subnet mask of the range. | |
| net.failover | Boolean | True if this line has 3G/4G failover. | |
| net.failoverNumber | String | Phone number of failover SIM, if net.failover is true. | |
| fiber | Object | ||
| fiber.initiationCost | Number | Installation cost (FIBER only). | |
| fiber.initiationWholesale | Number | Reseller installation price (FIBER only). | |
| fiber.initiationCustomer | Number | Customer installation price (FIBER only). | |
| fiber.monthlyCost | Number | Monthly fee cost (FIBER only). | |
| fiber.monthlyWholesale | Number | Monthly fee reseller (FIBER only). | |
| fiber.monthlyCustomer | Number | Monthly fee customer (FIBER only). | |
| provider | Object | ||
| provider.orderId | String | Providers order id for the circuit. | |
| provider.name | String | Name of provider. | |
Query examples
{ startDate: '2016-02-01T00:00:00Z', circuit: 'EM23867', installTime: '12_TO_16', name: 'Office connection', installCallNumber: '71919998', installCallName: 'Mads Madsen', notes: 'Customer requires installation in basement.', notify: [ { _id: '57b0ef10c1b8e040b3000031', email: true, sms: false } ], provider: { orderId: '5637575637', name: 'TDC' }, net: { ipAddress: '1.2.3.4', subnet: '255.255.255.0', gateway: '1.2.3.1', failover: true, failoverNumber: '71919998' }, fiber: { initiationCost: 5000, initiationWholesale: 6000, initiationCustomer: 7500, monthlyCost: 300, monthlyWholesale: 400, monthlyCustomer: 499 } }
Response
| JSON object | ||
|---|---|---|
| success | Boolean | True on success |
Example
{ success: true }
Errors
| Error code | Message | Description |
|---|---|---|
| 404 | not_found | Internet account not found |
| 422 | state | Account must be in ORDERED state |
| 409 | net.ipAddress | IP address is already in use by another Internet account |
| 403 | access_denied | Insufficient access level |
| 500 | internal_error | <Unspecified> |
api/internet/account/confirm.txt · Last modified: 2026/05/13 11:54 by Mikkel Meerwaldt Jørgensen