Skip to main content
POST
/
diamond
/
areStonesRegistered
Check if stones are registered
curl --request POST \
  --url https://api.diadna.cloud/diamond/areStonesRegistered \
  --header 'Content-Type: application/json' \
  --header 'secret-key: <api-key>' \
  --data '
{
  "stones": [
    {
      "id": "<string>",
      "type": "POLISH"
    }
  ],
  "companyName": "<string>"
}
'
{
  "Table": [
    {
      "id": "<string>",
      "type": "<string>",
      "result": true
    }
  ]
}

Authorizations

secret-key
string
header
required

Body

application/json
stones
object[]
required
companyName
string
required

Response

200 - application/json

Registration result

Table
object[]