Get an Arqia service policy.
GEThttps://api.iot.telenor.com/iot-connect/service-policies/v1/arqia/:arqiaInstance/:id
Fetches an Arqia plano. The plano is represented through a service policy (separate endpoint).
Request
Path Parameters
arqiaInstance stringrequired
Possible values: [arqia_br
]
Arqia instance where the service policy is configured.
id stringrequired
Service policy in Arqia (i.e. plano) to perform request on.
Responses
- 200
- 400
- 401
- 403
- 404
- 500
Contains the requested service policy (Arqia plano).
- application/json
- Schema
- Example (auto)
Schema
attributes objectrequired
{
"attributes": {
"id": "9.25.2.986.1.5.2.6.1.1.1.30.100.100.20480.1.10.953",
"description": "Telenor Connexion | CST | CTRL LIM | Movel | IND | ARQIA | 20480 Mbytes | 100 Msgs | 100 Minutos"
}
}
BadRequest
Response Headers
- application/json
- Schema
- Example (auto)
Schema
namestring
messagestringrequired
errors object[]
{
"name": "string",
"message": "string",
"errors": [
{
"message": "string",
"errorCode": "string",
"path": "string"
}
]
}
Unauthorized. Your token is not valid.
Response Headers
- application/json
- Schema
- Example (auto)
Schema
namestring
messagestringrequired
errors object[]
{
"name": "string",
"message": "string",
"errors": [
{
"message": "string",
"errorCode": "string",
"path": "string"
}
]
}
Forbidden. You are not allowed to access the requested resource.
Response Headers
- application/json
- Schema
- Example (auto)
Schema
namestring
messagestringrequired
errors object[]
{
"name": "string",
"message": "string",
"errors": [
{
"message": "string",
"errorCode": "string",
"path": "string"
}
]
}
The specified resource was not found
Response Headers
- application/json
- Schema
- Example (auto)
Schema
namestring
messagestringrequired
errors object[]
{
"name": "string",
"message": "string",
"errors": [
{
"message": "string",
"errorCode": "string",
"path": "string"
}
]
}
Internal Server Error
Response Headers
- application/json
- Schema
- Example (auto)
Schema
namestring
messagestringrequired
errors object[]
{
"name": "string",
"message": "string",
"errors": [
{
"message": "string",
"errorCode": "string",
"path": "string"
}
]
}
- csharp
- curl
- dart
- go
- http
- java
- javascript
- kotlin
- c
- nodejs
- objective-c
- ocaml
- php
- powershell
- python
- r
- ruby
- rust
- shell
- swift
- HTTPCLIENT
- RESTSHARP
var client = new HttpClient();
var request = new HttpRequestMessage(HttpMethod.Get, "https://api.iot.telenor.com/iot-connect/service-policies/v1/arqia/:arqiaInstance/:id");
request.Headers.Add("Accept", "application/json");
var response = await client.SendAsync(request);
response.EnsureSuccessStatusCode();
Console.WriteLine(await response.Content.ReadAsStringAsync());
ResponseClear