User Tools

Site Tools


api:internet:account:change-confirm

API : Internet Account Change Confirm

Introduction

This request will confirms the change of product on an Internet account.

Request

URL https://api.telecomx.dk/internet/account/ACCOUNT_ID/change/confirm
Method POST
Access level RESELLER_ADMIN or ADMIN.
Params ACCOUNT_ID Id Id of the Internet Access account.
Body feeProduct Id Id of a product to invoice as a change fee.
date Date Date of change.
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.
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).

Query examples

{ 
    feeProduct: '12345678901234567890ABCD',
    date: '2018-01-01T00:00:00.000Z'
}

Response

Property Type Description
changeRequest.state String State of change request: NONE, REQUESTED, ORDERED.
changeRequest.product Id New product customer wishes to change to.
changeRequest.by Id Id of employee who requested the change and who will get an e-mail when an offer is available.
changeRequest.date Date If state is REQUESTED - the date of the request. If state is ORDERED - the date the change will happen.
changeRequest.feeProduct Id Id of product for fee for change.
changeRequest.monthlyCost Number Monthly fee cost (FIBER only).
changeRequest.monthlyWholesale Number Monthly fee reseller (FIBER only).
changeRequest.monthlyCustomer Number Monthly fee customer (FIBER only).

Example

{
  state: 'ORDERED',
  product: '1234567890123457890ABCD',
  by: '1234578901234567890FEDE',
  date: '2018-01-01T00:00:00.000Z',
  feeProduct: '12345678901234567890FFEE',
  monthlyCost: 3000.00,
  monthlyWholesale: 4000.00,
  monthlyCustomer: 5000.00
}

Errors

Error code Message Description
404 changeRequest No pending change request found
403 access_denied Insufficient access level
404 not_found Internet account not found
500 internal_error <Unspecified>
api/internet/account/change-confirm.txt · Last modified: 2026/05/13 11:31 by Mikkel Meerwaldt Jørgensen

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki