Billing

Activate a specific managed account

POST
/loc/v1/managedaccounts/actions/provision

Activates a managed billing service relationship between a managed account and the primary account.

Authorization

thingspace_oauth VZ-M2M-Token
AuthorizationBearer <token>

This is the ThingSpace token, from Credentials and Tokens is used

In: header

VZ-M2M-Token<token>

M2M Session Token (How to generate an M2M session token?)

In: header

Request Body

application/json

Service name and list of accounts to add

Service name and list of accounts to add

accountName*string

Managed account identifier

paccountName*string

Primary Account identifier

serviceName*serviceName

Service name

Value in

  • "Location"
  • "fota"
type*string

SKU name

txid*string

Transaction identifier returned by add request

Response Body

application/json

application/json

curl -X POST "https://example.com/loc/v1/managedaccounts/actions/provision" \  -H "Content-Type: application/json" \  -d '{    "accountName": "1223334444-00001",    "paccountName": "1234567890-00001",    "serviceName": "Location",    "type": "TS-LOC-COARSE-CellID-5K",    "txid": "d4fbff33-eeee-ffff-gggg-2c90bd287e3b"  }'
{  "txid": "4fbff332-eeee-ffff-gggg-7e3bdc90bd28",  "accountName": "1223334444-00001",  "paccountName": "1234567890-00001",  "serviceName": "Location",  "status": "Success",  "reason": "Success"}