Objects
Update
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
Response
200
application/json
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>"
}