Account parameter updated
Type: object
Domain: audit
Event: account_parameter_change
Version: 1
|
method required
Title: The HTTP Method of parameter change operation
Type: string
Example:
PUT
uri required
Title: The URI of address updater operation
Type: string
Example:
/v1/accounts/{accountId}/addresses/{addressId}
email required
Title: The email of operator that changes parameters
Type: string
Example:
[email protected]
roles required
Type: array
origin required
Title: The request origin of parameter change operation
Type: string
Example:
APP
CRM
object required
Type: object
account_id
Title: The account identifier
Type: integer
Example:
1
parameter_name required
Title: The parameter name
Type: string
Example:
MDR
DESCONTO ITAU
current_value required
Title: The value received in this request to update the parameter
Type: number
Example:
1.84
initial_value
Title: The previous value
Type: number
Example:
1.84
{
"$schema": "http://json-schema.org/draft-04/schema#",
"type": "object",
"title": "Account parameter updated",
"properties": {
"method": {
"type": "string",
"title": "The HTTP Method of parameter change operation",
"examples": [
"PUT"
]
},
"uri": {
"type": "string",
"title": "The URI of address updater operation",
"examples": [
"/v1/accounts/{accountId}/addresses/{addressId}"
]
},
"email": {
"type": "string",
"title": "The email of operator that changes parameters",
"examples": [
"[email protected]"
]
},
"roles": {
"type": "array",
"items": {
"type": "string"
},
"title": "The roles of operator that changes parameters",
"examples": [
"test1",
"test2"
]
},
"origin": {
"type": "string",
"title": "The request origin of parameter change operation",
"examples": [
"APP",
"CRM"
]
},
"object": {
"type": "object",
"properties": {
"account_id": {
"type": "integer",
"title": "The account identifier",
"examples": [
1
]
},
"parameter_name": {
"type": "string",
"title": "The parameter name",
"examples": [
"MDR",
"DESCONTO ITAU"
]
},
"current_value": {
"type": "number",
"title": "The value received in this request to update the parameter",
"examples": [
1.84
]
},
"initial_value": {
"type": "number",
"title": "The previous value",
"examples": [
1.84
]
}
},
"required": [
"parameter_name",
"current_value"
]
}
},
"required": [
"method",
"uri",
"email",
"roles",
"origin",
"object"
]
}
Updated 2 days ago