• user sso1
  • NEWBIE
  • 10 Points
  • Member since 2023

  • Chatter
    Feed
  • 0
    Best Answers
  • 0
    Likes Received
  • 0
    Likes Given
  • 1
    Questions
  • 1
    Replies

I am unable to update [patch] standardvalueset through tooling api and here's request body but receiving bad id 4 and malformed id

 

Request Body:

{
 
"Metadata" : {
      "sorted" : false,
      "standardValue" : [ {
        "allowEmail" : null,
        "closed" : null,
        "color" : null,
        "converted" : null,
        "cssExposed" : null,
        "default" : false,
        "description" : null,
        "forecastCategory" : null,
        "groupingString" : null,
        "highPriority" : null,
        "isActive" : null,
        "label" : "Agriculture",
        "probability" : null,
        "reverseRole" : null,
        "reviewed" : null,
        "urls" : null,
        "valueName" : "Agriculture",
        "won" : null
      }, {
        "allowEmail" : null,
        "closed" : null,
        "color" : null,
        "converted" : null,
        "cssExposed" : null,
        "default" : false,
        "description" : null,
        "forecastCategory" : null,
        "groupingString" : null,
        "highPriority" : null,
        "isActive" : null,
        "label" : "Chemicals1",
        "probability" : null,
        "reverseRole" : null,
        "reviewed" : null,
        "urls" : null,
        "valueName" : "Chemicals1",
        "won" : null
      } ],
      "urls" : null
    },
     "FullName" : "Test",
    "MasterLabel" : "Test"
  } 
 

I am unable to update [patch] standardvalueset through tooling api and here's request body but receiving bad id 4 and malformed id

 

Request Body:

{
 
"Metadata" : {
      "sorted" : false,
      "standardValue" : [ {
        "allowEmail" : null,
        "closed" : null,
        "color" : null,
        "converted" : null,
        "cssExposed" : null,
        "default" : false,
        "description" : null,
        "forecastCategory" : null,
        "groupingString" : null,
        "highPriority" : null,
        "isActive" : null,
        "label" : "Agriculture",
        "probability" : null,
        "reverseRole" : null,
        "reviewed" : null,
        "urls" : null,
        "valueName" : "Agriculture",
        "won" : null
      }, {
        "allowEmail" : null,
        "closed" : null,
        "color" : null,
        "converted" : null,
        "cssExposed" : null,
        "default" : false,
        "description" : null,
        "forecastCategory" : null,
        "groupingString" : null,
        "highPriority" : null,
        "isActive" : null,
        "label" : "Chemicals1",
        "probability" : null,
        "reverseRole" : null,
        "reviewed" : null,
        "urls" : null,
        "valueName" : "Chemicals1",
        "won" : null
      } ],
      "urls" : null
    },
     "FullName" : "Test",
    "MasterLabel" : "Test"
  }