curl --request POST \
--url https://app.ezzydoc.com/EzzyService.svc/Rest/addLearningRule \
--header 'Content-Type: application/json' \
--data '
{
"invoiceNumber": {
"type": 0,
"keyword": "<string>",
"position": 0
},
"extractDescription": {
"type": 0,
"keyword": "<string>",
"position": 0
},
"learningSettings": {
"OverideInvoiceClassification": "<string>",
"CustomizeInvoiceRule": "<string>"
},
"supplierName": {
"type": 0,
"keyword": "<string>",
"position": 0
},
"customerName": {
"type": 0,
"keyword": "<string>",
"position": 0
},
"taxNumber": {
"type": 0,
"keyword": "<string>",
"position": 0
},
"invoiceTotal": {
"type": 0,
"keyword": "<string>",
"position": 0
},
"locale": {
"value": 123,
"specified": true
},
"aitask": {
"value": 123,
"specified": true
},
"workflow": {
"value": "<string>",
"specified": true
},
"docSubType": {
"type": 0,
"keyword": "<string>",
"position": 0
},
"Hint": "<string>",
"isSet": true,
"extra_keywords": {
"name": "<string>",
"custom_name": "<string>",
"custom_operator": "<string>",
"custom_hint": "<string>",
"keywords": "<string>",
"weight": 123,
"exclusive": true,
"position": 123,
"create": true,
"type": 123
}
}
'{
"invoice_id": 123,
"message": "<string>",
"status": 0
}curl --request POST \
--url https://app.ezzydoc.com/EzzyService.svc/Rest/addLearningRule \
--header 'Content-Type: application/json' \
--data '
{
"invoiceNumber": {
"type": 0,
"keyword": "<string>",
"position": 0
},
"extractDescription": {
"type": 0,
"keyword": "<string>",
"position": 0
},
"learningSettings": {
"OverideInvoiceClassification": "<string>",
"CustomizeInvoiceRule": "<string>"
},
"supplierName": {
"type": 0,
"keyword": "<string>",
"position": 0
},
"customerName": {
"type": 0,
"keyword": "<string>",
"position": 0
},
"taxNumber": {
"type": 0,
"keyword": "<string>",
"position": 0
},
"invoiceTotal": {
"type": 0,
"keyword": "<string>",
"position": 0
},
"locale": {
"value": 123,
"specified": true
},
"aitask": {
"value": 123,
"specified": true
},
"workflow": {
"value": "<string>",
"specified": true
},
"docSubType": {
"type": 0,
"keyword": "<string>",
"position": 0
},
"Hint": "<string>",
"isSet": true,
"extra_keywords": {
"name": "<string>",
"custom_name": "<string>",
"custom_operator": "<string>",
"custom_hint": "<string>",
"keywords": "<string>",
"weight": 123,
"exclusive": true,
"position": 123,
"create": true,
"type": 123
}
}
'{
"invoice_id": 123,
"message": "<string>",
"status": 0
}Show child attributes