Get Historique News
GEThttps://api.orange.com/evolutionplatform/referentiel/api/v1//news
This operation allows to get a list of News
Responses
- 200
- 401
- 403
- 500
ok
- application/json
- Schema
- Example (auto)
Schema
- Array [
- ]
iduuid
news id
Possible values: Value must match regular expression [a-fA-F0-9]{8}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{12}
dateStartdate
start date of the news
Example:
2022-03-10
dateEnddate
end date of the news
Example:
2022-03-10
eventTypestring
event Type
informationstring
informations about the news
statusstring
news state
Possible values: [ACTIVE
, DESACTIVE
]
[
{
"id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"dateStart": "2022-03-10",
"dateEnd": "2022-03-10",
"eventType": "string",
"information": "string",
"status": "ACTIVE"
}
]
unauthorized access
- application/json
- Schema
- Example (auto)
Schema
codeint32
error code
messagestring
error message
descriptionstring
error description
{
"code": 0,
"message": "string",
"description": "string"
}
forbidden access
- application/json
- Schema
- Example (auto)
Schema
codeint32
error code
messagestring
error message
descriptionstring
error description
{
"code": 0,
"message": "string",
"description": "string"
}
internal error
- application/json
- Schema
- Example (auto)
Schema
codeint32
error code
messagestring
error message
descriptionstring
error description
{
"code": 0,
"message": "string",
"description": "string"
}
Authorization: oauth2
name: oauth2clientcredentialstype: oauth2flows: {
"clientCredentials": {
"tokenUrl": "https://api.orange.com/oauth/v3/token",
"scopes": {}
}
}
- curl
- python
- go
- nodejs
- php
- java
- CURL
curl -L 'https://api.orange.com/evolutionplatform/referentiel/api/v1//news' \
-H 'Accept: application/json' \
-H 'Authorization: Bearer <token>'