Skip to content

RE12 - List of reasons with type: incident close
⚠️ No Integration Allowed ⚠️
deprecated

Request

Deprecated endpoint

This API is going to be removed in future update, use RE02 with parameter reason_type='INCIDENT_CLOSE'

Description

Note: Result returns only reasons where the user's role have the right
Note: Reasons are sorted by sort index, set in the back-office

Call Frequency
Maximum usage: Once on incident closing page view
Security
Operator-Bearer-Token or OAuth-2
curl -i -X GET \
  https://your-instance.mirakl.net/api/reasons/incident_close \
  -H 'Authorization: Bearer <YOUR_JWT_HERE>'

Responses

OK

Bodyapplication/json
reasonsArray of objectsrequired

List of reasons

total_countinteger, (int32)requireddeprecated

Total count of elements returned by the query (No pagination)

Response
{ "reasons": [ { … }, { … }, { … }, { … } ] }