For the complete documentation index, see llms.txt. This page is also available as Markdown.

Managing Providers

Operations related to Providers, the commercial entities offering Services through Offers on the marketplace.

Search organisations locale

get
/organisations/{organisation_id}/organisations_locale
Path parameters
organisation_idinteger · int64Required
Query parameters
idinteger · int64Optional
localestring · enumOptional

locale

Possible values:
first_resultinteger · int32Optional

Offset from which the search must be performed

max_resultsinteger · int32Optional

Number of maximum items that shall be return by this search

order_bystring[]Optional

Fields used to order the result

keywordsstringOptional

The keywords to match with organisations locale names

archivedbooleanOptional

Whether to filter with archived or not

Responses
200

Success !

application/json
max_resultsintegerRequired
totalintegerRequired
first_resultintegerRequired
statusstring · enumRequiredPossible values:
countintegerRequired
get/organisations/{organisation_id}/organisations_locale
GET /v1/organisations/{organisation_id}/organisations_locale HTTP/1.1
Host: api.mediarithmics.local
Accept: */*
{
  "max_results": 1,
  "total": 1,
  "first_result": 1,
  "status": "ok",
  "data": [
    {
      "id": "text",
      "locale": "fr-FR",
      "name": "text",
      "organisation_id": "text",
      "description": "text",
      "archived": false
    }
  ],
  "count": 1
}

Create organisation locale

post
/organisations/{organisation_id}/organisations_locale
Path parameters
organisation_idinteger · int64Required
Body
idstringRead-onlyRequired
localestring · enumRequiredPossible values:
namestringRequired
organisation_idstringRead-onlyRequired
descriptionstringOptional
archivedbooleanRequiredDefault: false
Responses
200

Success !

application/json
statusstring · enumRequiredPossible values:
post/organisations/{organisation_id}/organisations_locale
POST /v1/organisations/{organisation_id}/organisations_locale HTTP/1.1
Host: api.mediarithmics.local
Content-Type: application/json
Accept: */*
Content-Length: 70

{
  "locale": "fr-FR",
  "name": "text",
  "description": "text",
  "archived": false
}
{
  "status": "ok",
  "data": {
    "id": "text",
    "locale": "fr-FR",
    "name": "text",
    "organisation_id": "text",
    "description": "text",
    "archived": false
  }
}

Get organisation locale by id

get
/organisations/{organisation_id}/organisations_locale/{id}
Path parameters
organisation_idinteger · int64Required
idinteger · int64Required
Responses
200

Success !

application/json
statusstring · enumRequiredPossible values:
get/organisations/{organisation_id}/organisations_locale/{id}
GET /v1/organisations/{organisation_id}/organisations_locale/{id} HTTP/1.1
Host: api.mediarithmics.local
Accept: */*
{
  "status": "ok",
  "data": {
    "id": "text",
    "locale": "fr-FR",
    "name": "text",
    "organisation_id": "text",
    "description": "text",
    "archived": false
  }
}

Update organisation locale by id

put
/organisations/{organisation_id}/organisations_locale/{id}
Path parameters
organisation_idinteger · int64Required
idinteger · int64Required
Body
idstringRead-onlyRequired
localestring · enumRequiredPossible values:
namestringRequired
organisation_idstringRead-onlyRequired
descriptionstringOptional
archivedbooleanRequiredDefault: false
Responses
200

Success !

application/json
statusstring · enumRequiredPossible values:
put/organisations/{organisation_id}/organisations_locale/{id}
PUT /v1/organisations/{organisation_id}/organisations_locale/{id} HTTP/1.1
Host: api.mediarithmics.local
Content-Type: application/json
Accept: */*
Content-Length: 70

{
  "locale": "fr-FR",
  "name": "text",
  "description": "text",
  "archived": false
}
{
  "status": "ok",
  "data": {
    "id": "text",
    "locale": "fr-FR",
    "name": "text",
    "organisation_id": "text",
    "description": "text",
    "archived": false
  }
}

Delete organisation locale

delete
/organisations/{organisation_id}/organisations_locale/{id}
Path parameters
organisation_idinteger · int64Required
idinteger · int64Required
Responses
200

Success response

application/json
statusstring · enumRequiredPossible values:
delete/organisations/{organisation_id}/organisations_locale/{id}
DELETE /v1/organisations/{organisation_id}/organisations_locale/{id} HTTP/1.1
Host: api.mediarithmics.local
Accept: */*
{
  "status": "ok"
}

Last updated

Was this helpful?