Invoke action BulkUpdate
POSThttps://api.elfsquad.io/data/1/LinkedFeatureModelConstraints/Default.BulkUpdate
Invoke action BulkUpdate
Request
- application/json
Bodyrequired
Action parameters
entities object[]
Responses
- 204
- default
Success
error
- */*
- 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.Post, "https://api.elfsquad.io/data/1/LinkedFeatureModelConstraints/Default.BulkUpdate");
var content = new StringContent("{\n \"entities\": [\n {\n \"linkedFeatureModelId\": \"3fa85f64-5717-4562-b3fc-2c963f66afa6\",\n \"type\": {},\n \"fromNodeId\": \"3fa85f64-5717-4562-b3fc-2c963f66afa6\",\n \"fromNodeProperty\": {},\n \"toNodeId\": \"3fa85f64-5717-4562-b3fc-2c963f66afa6\",\n \"id\": \"3fa85f64-5717-4562-b3fc-2c963f66afa6\",\n \"createdDate\": \"2024-07-29T15:51:28.071Z\",\n \"updatedDate\": \"2024-07-29T15:51:28.071Z\",\n \"organizationId\": \"3fa85f64-5717-4562-b3fc-2c963f66afa6\",\n \"reference\": \"string\",\n \"creatorId\": \"3fa85f64-5717-4562-b3fc-2c963f66afa6\",\n \"customField1\": \"string\",\n \"customField2\": \"string\",\n \"customField3\": \"string\",\n \"customField4\": \"string\",\n \"customField5\": \"string\",\n \"organization\": {}\n }\n ]\n}", null, "application/json");
request.Content = content;
var response = await client.SendAsync(request);
response.EnsureSuccessStatusCode();
Console.WriteLine(await response.Content.ReadAsStringAsync());
ResponseClear