patch: tags: - Account Setting summary: Update Account Setting description: Returns Id and Sfid of updated account setting 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: Sfid: type: string example: R4FS3sKmnnHpkBAHct Account: type: string example: AXsEWTt4o4Pnl2josP LastModifiedByUser: type: string example: 0030H00004r4cgTQAJ required: - Sfid - Account - LastModifiedByUser example: { "Sfid": "R4FS3sKmnnHpkBAHct", "Account": "AXsEWTt4o4Pnl2josP", "AllowOtherReasonClosing": true, "AllowOtherReasonMoving": false, "MeeteLiseAgentName": "Test Agent", "LastModifiedByuUser": "0030H00004r4cgTQAJ 0030H00004r4cgTQAJ" } responses: 200: description: Record updated successfully or update ignored. content: application/json: examples: success: summary: Record updated successfully. value: { "data": { "Id": 3540, "Sfid": "R4FS3sKmnnHpkBAHct" } } ignored: summary: Update Ignored. value: { "message": "Update Ignored.", "data": { "Id": 3540, "Sfid": "R4FS3sKmnnHpkBAHct" } } 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 Account is required" } } record-not-exists: summary: Record not present in the System. value: { "errors": { "Sfid": "Sfid or Id is not found." } }