Create metadata

POST /public/v1/project-metadata

Headers

  • X-COMPANY-ID string Required
application/json

Body Required

  • projectMetadatas array[object]
    One of:

Responses

  • 500 */*

    Internal Server Error

  • 200 */*

    OK

    Hide response attribute Show response attribute object
    • projectMetadatas array[object]
      One of:
POST /public/v1/project-metadata
curl \
 --request POST 'https://live.smartpmtech.com/public/v1/project-metadata' \
 --header "X-API-KEY: $API_KEY" \
 --header "Content-Type: application/json" \
 --header "X-COMPANY-ID: string" \
 --data '{"projectMetadatas":[{"id":42,"required":true,"companyId":"string","displayOrder":42,"defaultValue":"string","uniqueKey":"string","apiName":"string","name":"string","type":"string"}]}'
Request examples
# Headers
X-COMPANY-ID: string

# Payload
{
  "projectMetadatas": [
    {
      "id": 42,
      "required": true,
      "companyId": "string",
      "displayOrder": 42,
      "defaultValue": "string",
      "uniqueKey": "string",
      "apiName": "string",
      "name": "string",
      "type": "string"
    }
  ]
}
Response examples (500)
{}
Response examples (200)
{
  "projectMetadatas": [
    {
      "id": 42,
      "required": true,
      "companyId": "string",
      "displayOrder": 42,
      "defaultValue": "string",
      "uniqueKey": "string",
      "apiName": "string",
      "name": "string",
      "type": "string"
    }
  ]
}