Marker manipulations

Moving nodes

patch
Authorizations
Path parameters
markerIndexstringRequired
nodeIndexstringRequired
Body
ordernumberRequired
nodeIndexstringRequired
Responses
202Success
application/json
Responseobject
patch
PATCH /api/markers/{markerIndex}/nodes/{nodeIndex} HTTP/1.1
Host: 
Authorization: Bearer JWT
Content-Type: application/json
Accept: */*
Content-Length: 61

{
  "location": {
    "x": 1,
    "y": 1,
    "z": 1
  },
  "order": 1,
  "nodeIndex": "text"
}
202Success
{}

Update record

patch
Authorizations
Path parameters
recordIndexstringRequired
Body
valuestringRequired
valuesstring[]Required
namestringRequired
titlestringRequired
attachmentsstring[]Required
Responses
202Success
application/json
patch
PATCH /api/records/{recordIndex} HTTP/1.1
Host: 
Authorization: Bearer JWT
Content-Type: application/json
Accept: */*
Content-Length: 86

{
  "value": "text",
  "values": [
    "text"
  ],
  "name": "text",
  "title": "text",
  "attachments": [
    "text"
  ]
}
202Success
{
  "values": [
    "text"
  ],
  "value": "text",
  "routineId": "text",
  "name": "text",
  "title": "text",
  "defaultValue": "text",
  "recordIndex": "text",
  "enabled": true,
  "routineIndex": "text",
  "type": "text",
  "attachments": [
    "text"
  ]
}

Attach snapshot

1. Upload file to storage

2. Update record attachments with uploaded file data

patch
Authorizations
Path parameters
recordIndexstringRequired
Body
valuestringRequired
valuesstring[]Required
namestringRequired
titlestringRequired
attachmentsstring[]Required
Responses
202Success
application/json
patch
PATCH /api/records/{recordIndex} HTTP/1.1
Host: 
Authorization: Bearer JWT
Content-Type: application/json
Accept: */*
Content-Length: 86

{
  "value": "text",
  "values": [
    "text"
  ],
  "name": "text",
  "title": "text",
  "attachments": [
    "text"
  ]
}
202Success
{
  "values": [
    "text"
  ],
  "value": "text",
  "routineId": "text",
  "name": "text",
  "title": "text",
  "defaultValue": "text",
  "recordIndex": "text",
  "enabled": true,
  "routineIndex": "text",
  "type": "text",
  "attachments": [
    "text"
  ]
}

Last updated

Was this helpful?