Create new numbers (e.g. OEN, batteryID, etc.) corresponding to BPN endpoints as single entry.
Create new numbers (e.g. OEN, batteryID, etc.) corresponding to BPN endpoints as single entry.
- application/json
Request Body required
the request body is expecting a key (type, e.g. OEN, batteryID, etc.) - value (explicit number) pair, where this service will respond with success/error message on persistance of this key-value-pair. The BPN is hand-over by the authentication/authorization (→ token). Only the owner of a BPN can link any number (e.g. OEN, batteryID, etc.) to his BPN.
- type string required
Possible values:
non-empty
and<= 200 characters
- key string required
Possible values:
non-empty
and<= 200 characters
Responses
- 201
key value for BPN created successfully
- application/json
- Schema
- Example (from schema)
- Complete
Schema
- type string
- key string
- value string
- resourceId string
{
"type": "string",
"key": "string",
"value": "string",
"resourceId": "string"
}
{
"type": "oen",
"key": "oen-1243",
"value": "bpn-123",
"resourceId": "1ca6f9b5-8e1d-422a-8541-9bb2cf5fe485"
}
Loading...