POST
/
okapicrm.v1.OkapiCRMService
/
UpdateObject
curl --request POST \
  --url https://api.okapicrm.com/okapicrm.v1.OkapiCRMService/UpdateObject \
  --header 'Content-Type: application/json' \
  --data '{
  "object": {
    "apiName": "<string>",
    "archived": true,
    "displayNamePlural": "<string>",
    "displayNameSingular": "<string>",
    "fieldDefinitions": [
      {
        "allowedObjectIds": [
          "<string>"
        ],
        "apiName": "<string>",
        "archived": true,
        "displayName": "<string>",
        "enumValues": [
          {
            "apiName": "<string>",
            "displayName": "<string>"
          }
        ],
        "formula": "<string>",
        "id": "<string>",
        "unique": true
      }
    ],
    "iconDisplayFieldDefinitionApiName": "<string>",
    "id": "<string>",
    "primaryDisplayFieldDefinitionApiName": "<string>",
    "secondaryDisplayFieldDefinitionApiName": "<string>"
  }
}'
{
  "apiName": "<string>",
  "archived": true,
  "displayNamePlural": "<string>",
  "displayNameSingular": "<string>",
  "fieldDefinitions": [
    {
      "allowedObjectIds": [
        "<string>"
      ],
      "apiName": "<string>",
      "archived": true,
      "displayName": "<string>",
      "enumValues": [
        {
          "apiName": "<string>",
          "displayName": "<string>"
        }
      ],
      "formula": "<string>",
      "id": "<string>",
      "unique": true
    }
  ],
  "iconDisplayFieldDefinitionApiName": "<string>",
  "id": "<string>",
  "primaryDisplayFieldDefinitionApiName": "<string>",
  "secondaryDisplayFieldDefinitionApiName": "<string>"
}

Body

object
object

Response

200
application/json
apiName
string
archived
boolean
displayNamePlural
string
displayNameSingular
string
fieldDefinitions
object[]
iconDisplayFieldDefinitionApiName
string
id
string
primaryDisplayFieldDefinitionApiName
string
secondaryDisplayFieldDefinitionApiName
string