Get a Thingspace service policy.
Contains the requested service policy (Thingspace service plan).
Path Parameters
- thingspaceInstance string required
Possible values: [
thingspace_us
]Thingspace instance where the service policy is configured.
- id string required
Service policy in Thingspace (i.e. service plan) to perform request on.
Responses
- 200
- 400
- 404
- 500
Contains the requested service policy (Thingspace service plan).
- application/json
- Schema
- Example (from schema)
Schema
attributes object
Attributes used to describe a Thingspace service plan.
id stringIdentifies the service plan in Thingspace.
{
"attributes": {
"id": "M2MPublicstatic"
}
}
BadRequest
Response Headers
Access-Control-Allow-Origin string
Access-Control-Allow-Methods string
Access-Control-Allow-Headers string
- application/json
- Schema
- Example (from schema)
Schema
- name string
- message string
errors object[]
message stringerrorCode stringpath stringOptional path, usually used to describe which incoming parameters are not valid.
{
"name": "string",
"message": "string",
"errors": [
{
"message": "string",
"errorCode": "string",
"path": "string"
}
]
}
The specified resource was not found
Response Headers
Access-Control-Allow-Origin string
Access-Control-Allow-Methods string
Access-Control-Allow-Headers string
- application/json
- Schema
- Example (from schema)
Schema
- name string
- message string
errors object[]
message stringerrorCode stringpath stringOptional path, usually used to describe which incoming parameters are not valid.
{
"name": "string",
"message": "string",
"errors": [
{
"message": "string",
"errorCode": "string",
"path": "string"
}
]
}
Internal Server Error
Response Headers
Access-Control-Allow-Origin string
Access-Control-Allow-Methods string
Access-Control-Allow-Headers string
- application/json
- Schema
- Example (from schema)
Schema
- name string
- message string
errors object[]
message stringerrorCode stringpath stringOptional path, usually used to describe which incoming parameters are not valid.
{
"name": "string",
"message": "string",
"errors": [
{
"message": "string",
"errorCode": "string",
"path": "string"
}
]
}
Loading...