Get entity from TextExpressions by key
GEThttps://api.elfsquad.io/data/1/TextExpressions(:id)
Get entity from TextExpressions by key
Request
Path Parameters
id uuidrequired
Possible values: Value must match regular expression ^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$
key: id of TextExpression
Query Parameters
$select string[]
Possible values: [expressionString
, expressionType
, id
, createdDate
, updatedDate
, organizationId
, reference
, creatorId
, customField1
, customField2
, customField3
, customField4
, customField5
, organization
]
Select properties to be returned
$expand string[]
Possible values: [*
, organization
]
Expand related entities
Responses
- 200
- default
Retrieved entity
- application/json
- Schema
- Example (auto)
Schema
expressionStringstring
expressionType
iduuid
createdDatedate-time
updatedDatedate-time
organizationIduuid
referencestring
creatorIduuid
customField1string
customField2string
customField3string
customField4string
customField5string
organization
{
"expressionString": "string",
"expressionType": {},
"id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"createdDate": "2024-07-29T15:51:28.071Z",
"updatedDate": "2024-07-29T15:51:28.071Z",
"organizationId": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"reference": "string",
"creatorId": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"customField1": "string",
"customField2": "string",
"customField3": "string",
"customField4": "string",
"customField5": "string",
"organization": {}
}
error
- application/json
- Schema
- Example (auto)
Schema
error objectrequired
{
"error": {
"code": "string",
"message": "string",
"target": "string",
"details": [
{
"code": "string",
"message": "string",
"target": "string"
}
],
"innererror": {}
}
}
- csharp
- curl
- dart
- go
- http
- java
- javascript
- kotlin
- c
- nodejs
- objective-c
- ocaml
- php
- powershell
- python
- r
- ruby
- rust
- shell
- swift
- HTTPCLIENT
- RESTSHARP
var client = new HttpClient();
var request = new HttpRequestMessage(HttpMethod.Get, "https://api.elfsquad.io/data/1");
request.Headers.Add("Accept", "application/json");
var response = await client.SendAsync(request);
response.EnsureSuccessStatusCode();
Console.WriteLine(await response.Content.ReadAsStringAsync());
ResponseClear