patch: tags: - Account summary: Update Account description: Returns Id and Sfid of updated account record. operationId: update requestBody: content: application/json: # Media type schema: # Request body contents $ref: '#/components/request/update' responses: 200: $ref: "#/components/responses/200" 422: $ref: "#/components/responses/422" components: request: update: properties: Name: type: string example: Test Name AccountManager: type: string example: 0030H00004r4cgTQAQ CentralSalesRep: type: string example: 0030H00004r4cgTQAQ required: - Id - Name - AccountManager - CentralSalesRep - Phone - InActive - BillingStreet - BillingCity - BillingState - BillingCountry - BillingPostalCode - LastmMdifiedById - LastModifiedByUser example: { "Sfid": "mXSRtcPEcpBYmDfbFy", "Id": 3904, "Name": "Update Test Name", "AccountManager": "0030H00004r4cgTQAQ", "CentralSalesRep": "0030H00004r4cgTQAQ", "Phone": "1234567890", "InActive": false, "BillingStreet": "Update Test Street", "BillingCity": "Update Test City", "BillingState": "Update Test State", "BillingCountry": "Update Test Country", "BillingPostalCode": "411050", "Type": "Update Management Company", "ShowingEmail": "joshana.patil@gmail.com", "LastModifiedById": "0030H00004r4cgTQAQ", "LastModifiedByUser": "0030H00004r4cgTQAQ" } responses: 200: description: Record updated successfully or update ignored. content: application/json: examples: success: summary: Record updated successfully. value: { "data": [ { "Id": 3904, "Sfid": "mXSRtcPEcpBYmDfbFy" } ] } ignored: summary: Update Ignored. value: { "message": "Update Ignored.", "data": { "Id": 3904, "Sfid": "mXSRtcPEcpBYmDfbFy" } } 422: description: Required data not provided. e.g Validation errors, record not present in the system etc. content: application/json: examples: validations: summary: Validation Errors. value: { "errors": { "Sfid": "The Sfid or Id is required" } } record-not-exists: summary: Record not present in the System. value: { "errors": { "Sfid": "Sfid or Id is not found." } }