Ugrás a fő tartalomhoz

Ügyintéző lekérése

GET/api/v2/agents/{agent_id}

Hitelesítés: API-kulcs szükséges.

cURL példa

curl -X GET \
  'https://app.intracord.hu/api/v2/agents/{agent_id}' \
  -H "X-API-Key: $INTRACORD_API_KEY"

Paraméterek

NévHelyTípusLeírás
agent_idkötelezőpathinteger

Válaszok

200Successful Response
application/json
Séma megtekintése
{
  "properties": {
    "data": {
      "$ref": "#/components/schemas/V2_Agent"
    }
  },
  "type": "object",
  "required": [
    "data"
  ],
  "title": "Resource[Agent]"
}
401Unauthorized
application/json
Séma megtekintése
{
  "properties": {
    "error": {
      "$ref": "#/components/schemas/V2_ErrorDetail"
    }
  },
  "type": "object",
  "required": [
    "error"
  ],
  "title": "ErrorResponse"
}
403Forbidden
application/json
Séma megtekintése
{
  "properties": {
    "error": {
      "$ref": "#/components/schemas/V2_ErrorDetail"
    }
  },
  "type": "object",
  "required": [
    "error"
  ],
  "title": "ErrorResponse"
}
404Not Found
application/json
Séma megtekintése
{
  "properties": {
    "error": {
      "$ref": "#/components/schemas/V2_ErrorDetail"
    }
  },
  "type": "object",
  "required": [
    "error"
  ],
  "title": "ErrorResponse"
}
422Unprocessable Content
application/json
Séma megtekintése
{
  "properties": {
    "error": {
      "$ref": "#/components/schemas/V2_ErrorDetail"
    }
  },
  "type": "object",
  "required": [
    "error"
  ],
  "title": "ErrorResponse"
}