Custom field update API

I am working in a sandbox, and using the Tooling API. I need to update the metadata of the custom field in Salesforce, but I am unable to do so. For this I am trying to work on the PATCH method. Below is the postman request i have used to update the custom field metadata:
Method:
PATCH
URL:
https://cs21.salesforce.com/services/data/v34.0/tooling/sobjects/CustomField/customfieldid
HEADERS:
Authorization : Bearer TOken
Content-Type : application/json
Body:
{

"FullName":"Contact.AFMO_Account__c",
"Metadata":
{
"description": "test"
}
}

Комментарии

Популярные сообщения из этого блога

Как преобразовать вертикальную запись в горизонтальную?

Skipping acquire of configured file 'contrib/binary-i386/Packages' as repository … doesn't support architecture 'i386'

How to delete a folder in remote Windows from Linux