User Tools

Site Tools


api:internet:account:confirm

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 ADMIN.
Params ACCOUNT_ID Id of the Internet account.
Body providerOrderId String Providers order id for the circuit.
providerName String Name of provider.
startDate Date The date the account will be delivered/go live.
circuit String Id of the circuit.
installTime String Time of delivery.
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.

Query examples

{
  providerOrderId: '5637575637',
  providerName: 'TDC',
  startDate: '2016-02-01T00:00:00Z',
  circuitId: 'EM23867',
  installTime: '12_00_TO_16_00',
  net: {
    ipAddress: '1.2.3.4',
    subnet: '255.255.255.0',
    gateway: '1.2.3.1',
    failover: true,
    failoverNumber: '71919998'
  }
}

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: 2018/10/02 06:39 by Per Møller

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki