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 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.

Query examples

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

Response

Property Type Description
changeRequest.state String State of change request: NONE, REQUESTED, CONFIRMED.
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 CONFIRMED - 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: 'CONFIRMED',
  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: 2018/10/01 13:48 by Per Møller

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki