Skip to content

Instantly share code, notes, and snippets.

@ArseniySavin
Last active June 4, 2019 08:28
Show Gist options
  • Save ArseniySavin/3105bf23e640c79a314cde4bda1f090d to your computer and use it in GitHub Desktop.
Save ArseniySavin/3105bf23e640c79a314cde4bda1f090d to your computer and use it in GitHub Desktop.
{
"RouteInfo": {
"InstanceId": "GUID",
"ParentInstanceId": "GUID",
"RouteType": "String",
"RouteCode": "String"
},
"Correlation": [ // Какието ID запесей в очереди базы, которые нужно ожидать пока они исполнятся
{
"Id": "1",
"System": "A",
"Processed": true
},
{
"Id": "2",
"System": "B",
"Processed": false
}
],
"Call": {
"Status": "DONE", // Системные статусы: DONE, RTRY (Повтор в случае ошибки), WAIT (Этот статус говорит что ожидаеется исполнение CorrelationId)
"NextCallDateTime": "2017-06-24T12:00:00+06:00",
"IsWaitNextCall": false,
"RetryCount": 0 // Будет увеличен при каждом повторном вызове
},
"Error": {
"Code": "TEST",
"HelpLink": "http://localhost/helpdoc/TEST",
"UserMessage": "User Error MSG",
"TechnicalMessage": "Tech Error MSG"
},
"Document": {
"Reference": "",
"Type": "",
"System": {
"Source": "A",
"Destination": "B"
},
"Amount": 1000.00,
"AmountByCourse": 100000.00,
"DocumentDateTime": "2017-06-24T12:00:00+06:00",
"ExtensionModels": [
{
"SenderAccount": {
"Fild1": "Value1",
"fild2": "Value1"
}
},
{
"SenderPerson": {
"Fild1": "Value1",
"fild2": "Value1"
}
},
{
"ReceiverAccount": {
"Fild1": "Value1",
"fild2": "Value1"
}
},
{
"ReceiverPerson": {
"Fild1": "Value2",
"fild2": "Value2"
}
},
{
"Limits": {
"Fild1": "Value2",
"fild2": "Value2"
}
}
]
},
"ServiceModels": [ // Сервисные объекты накапливаемые в процессе сбора модели
{
"ServiceModels1": {
"Fild1": "Value1",
"fild2": "Value1"
}
},
{
"ServiceModels2": {
"Fild1": "Value1",
"fild2": "Value2"
}
},
{
"ServiceModels3": {
"Fild1": "Value1",
"fild2": "Value3"
}
}
]
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment