Last modified by Дмитрий Семёнов on 2024/01/11 12:31
Change comment:
There is no comment for this version
Summary
-
Page properties (1 modified, 0 added, 0 removed)
Details
- Page properties
-
- Content
-
... ... @@ -59,13 +59,13 @@ 59 59 1. Настройка по примеру шаблонов АНРП/АТО с указанием текста или "кода поля" для каждого поля и его названия (чтобы можно было самостоятельно добавлять форму на разных языках) 60 60 1. Сделать шаблон по аналогии как давноо делали генерацию договоров по шаблону в RTF, если не ошибаюсь. 61 61 62 -= 4. Описаниеперечняработ=62 += 4. API desdcription = 63 63 64 -== 4.1. Автоматизациясозданияремонта из системы информационного центра==64 +== 4.1. GetTicket == 65 65 66 -= API method //CreateTrackingCallCentr// = 66 +== 4.2. API method //CreateTrackingCallCentr// == 67 67 68 -Input parameters: 68 +=== Input parameters: === 69 69 70 70 |Name|(% style="width:116px" %)Тype|(% style="width:60px" %)Mandatory.|Parameter description 71 71 |ticket|(% style="width:116px" %)**string**|(% style="width:60px" %)Yes|Authentication session key ... ... @@ -80,7 +80,7 @@ 80 80 ))) 81 81 |BrandUid|(% style="width:116px" %)**guid**|(% style="width:60px" %)Да|Brand GUID. Could be get from method [[GetBrands>>path:#_heading=h.1s4cna7gwqf1]]. For "Philips TV" it is "//ac8c0cf9-8f56-4349-9c2f-cfebdc60abad//" 82 82 |CountryServiceCenter|(% style="width:116px" %)**string (2)**|(% style="width:60px" %)Нет|Service center country in ALFA-2 notation. RU for Russia. If not found, then call center user countru would be iused. 83 -|CityServiceCenter|(% style="width:116px" %)**string (255)**|(% style="width:60px" %)Нет|City of the service center to be assigned for repair. System will try to find city by country and it's name in Russian. If city was found, try to assign service center by brand. If it's unique in the city, then this ASC would be assigned. If not found, then service center remains empty and agent would need to manually select it. 83 +|CityServiceCenter|(% style="width:116px" %)**string (255)**|(% style="width:60px" %)Нет|City of the service center to be assigned for repair. System will try to find city by country and it's name in Russian. If city was found, try to assign service center by brand. If it's unique in the city, then this ASC would be assigned. If not found, then service center remains empty and agent would need to manually select it. 84 84 |CName|(% style="width:116px" %)**string (255)**|(% style="width:60px" %)Нет|Client's first name 85 85 |CSurname|(% style="width:116px" %)**string (255)**|(% style="width:60px" %)Нет|Client's last name 86 86 |CPatronymic|(% style="width:116px" %)**string (255)**|(% style="width:60px" %)Нет|Client's middle name ... ... @@ -93,6 +93,39 @@ 93 93 |Cemail|(% style="width:116px" %)**string (255)**|(% style="width:60px" %)Нет|Client's e-mail 94 94 |UrlQuestionnaire|(% style="width:116px" %)**string**|(% style="width:60px" %)Нет|URL to NPS survey which would be provided to the client after it has been finished 95 95 96 +=== Output parameters:: === 97 + 98 +|Name|Type|Description|Example 99 +|TrackingUid|**guid**|Unique claim identifer. Could be used to update data by using method [[SaveTracking>>url:http://wiki.cc.tpvrussia.ru:8080/bin/view/Sandbox/%D0%94%D0%BE%D0%BA%D1%83%D0%BC%D0%B5%D0%BD%D1%82%20%D1%81%20%D0%B7%D0%B0%D0%BA%D0%BB%D1%8E%D1%87%D0%B5%D0%BD%D0%B8%D0%B5%D0%BC%20%D0%BF%D0%BE%20%D0%B2%D1%8B%D0%BF%D0%BE%D0%BB%D0%BD%D0%B5%D0%BD%D0%BD%D0%BE%D0%BC%D1%83%20%D1%80%D0%B5%D0%BC%D0%BE%D0%BD%D1%82%D1%83%20%D0%B8%20%D0%B8%D0%BD%D1%82%D0%B5%D0%B3%D1%80%D0%B0%D1%86%D0%B8%D0%B5%D0%B9%20%D1%81%20%D1%81%D0%B8%D1%81%D1%82%D0%B5%D0%BC%D0%BE%D0%B9%20%D0%98%D0%A6/#_heading=h.l7e46hz5zu9z]].| 100 +|SysNum|**string**|Tracking identifer|ET0123456 101 +|StatusName|**string**|Tracking status| 102 +|StatusUid|**guid**|Tracking status GUID. Value could be obtained by using method [[GetStatuses>>url:http://wiki.cc.tpvrussia.ru:8080/bin/view/Sandbox/%D0%94%D0%BE%D0%BA%D1%83%D0%BC%D0%B5%D0%BD%D1%82%20%D1%81%20%D0%B7%D0%B0%D0%BA%D0%BB%D1%8E%D1%87%D0%B5%D0%BD%D0%B8%D0%B5%D0%BC%20%D0%BF%D0%BE%20%D0%B2%D1%8B%D0%BF%D0%BE%D0%BB%D0%BD%D0%B5%D0%BD%D0%BD%D0%BE%D0%BC%D1%83%20%D1%80%D0%B5%D0%BC%D0%BE%D0%BD%D1%82%D1%83%20%D0%B8%20%D0%B8%D0%BD%D1%82%D0%B5%D0%B3%D1%80%D0%B0%D1%86%D0%B8%D0%B5%D0%B9%20%D1%81%20%D1%81%D0%B8%D1%81%D1%82%D0%B5%D0%BC%D0%BE%D0%B9%20%D0%98%D0%A6/#_heading=h.h5onyu1z1pfy]].| 103 +|Result|**Added** or **Changed** or **NotFound** or **Error** or **Unknown**|((( 104 +Operation result: 105 + 106 +Added – claim added in the database 107 + 108 +Changed – claim changed 109 + 110 +NotFound – Claim no found by GUID 111 + 112 +Error – Method fault 113 + 114 +Unknown – Unknown error 115 +)))|Added 116 +|TrackingUri|**string**|URL to the claim which could be opened in browser| 117 +|Errors|list of string|List of errors with error description| 118 +|ValidationErrors| | | 119 + 120 +=== Validation errors === 121 + 122 +|Name|Type|Description|Example 123 +|ErrorCode|**string**|Error code| 124 +|ErrorLevel|**int**|Error level: 1 — crytical, 3 — notification.| 125 +|Status|**string**|Claim status| 126 +|Descriptilon|**string**|Error description 127 +))) 128 + 96 96 (% class="col-xs-12 col-sm-4" %) 97 97 ((( 98 98 {{box title="**Содержание**"}}