· 8 years ago · Feb 05, 2018, 01:02 PM
1{
2 "orderParamsType": "CREATE_HIERARCHY",
3 "bisProvisionRequest": {
4 "operationDate": "2018-02-05T15:38:33",
5 "userFlags": {
6 "allowUseAgentFromResource": false,
7 "allowNotPAC": true,
8 "allowUseResourceAnyAgents": false,
9 "predicateNames": ["OAPIAgents",
10 "OAPIKits",
11 "OAPIZones",
12 "OAPIRatePlans",
13 "OAPICustomerCheck",
14 "OAPIIdentityDocTypes",
15 "OAPIPhoneNumbersBlocks"],
16 "predicateValues": ["((1=1))",
17 "((1=1))",
18 "((1=1))",
19 "((1=1))",
20 "((1=1))",
21 "((1=1))",
22 "((1=1))"]
23 },
24 "partialCheck": true,
25 "customerCreateItems": [{
26 "customerAddParamsId": "0",
27 "customerAddParameters": {
28 "name": "Клиент 773000005790, clnt_id=5902, macr_id=200",
29 "juralTypeId": 2,
30 "statusId": 2,
31 "categoryId": 2,
32 "internalSegmentId": 1,
33 "salesDirectionSegmentId": 17,
34 "customerTypeId": 1,
35 "customerClassId": 3,
36 "languageId": 7,
37 "branchId": 28,
38 "registrationCategoryId": 3,
39 "marketSegmentId": 31,
40 "financialInfo": {
41 "taxes": [{
42 "taxId": 3,
43 "startDate": "2018-02-02T15:08:16"
44 },
45 {
46 "taxId": 1,
47 "startDate": "2018-02-02T15:08:16"
48 }],
49 "paymentProfile": {
50 "isCashPaymentEnabled": true
51 }
52 },
53 "personalData": {
54 "secretWord": "кекÑ",
55 "deliveryInfo": {
56 "email": {
57
58 },
59 "deliveryTypeId": 3,
60 "deliveryZone": {
61
62 }
63 },
64 "mainContactPerson": {
65 "phone": "89187780878",
66 "email": "gmail@gmail.com",
67 "name": "Тушканчик Мы ХомÑкович"
68 },
69 "residentTypeId": 1,
70 "factAddress": {
71
72 },
73 "juralAddress": {
74 "addressId": 24840857
75 },
76 "legalFormId": 21,
77 "bankInfo": {
78 "account": "98765432109876543210",
79 "bankInfo": {
80 "bankFromDictionaryId": 3
81 }
82 },
83 "taxInvoiceData": {
84
85 },
86 "INN": "5902005902",
87 "OKPO": "98765432",
88 "KPP": "123213213",
89 "OKVED": "9876543210",
90 "OGRN": "рег1027700280937",
91 "OGRNNumber": "1027700280937"
92 }
93 },
94 "contractAddParameters": {
95 "signingDate": "2018-02-01T00:00:00",
96 "statusId": 1,
97 "categoryId": 1,
98 "agentId": 1000,
99 "customerSigning": {
100 "signingName": "ЯÑтреб Орёл Кондорович",
101 "authorizationDocument": {
102 "issueDate": "2018-02-01T00:00:00",
103 "number": "номер555-666"
104 }
105 },
106 "assents": {
107 "isGetAdvertisementsAllowed": true,
108 "isPersonalInfoForServicesAllowed": true,
109 "isPersonalBudgetOnAllMSISDNsAllowed": false
110 },
111 "daysForPay": 10,
112 "debitingParameters": {
113 "debitingTypeId": 1,
114 "schemeId": 1
115 }
116 },
117 "customerRiskDegreeId": 2,
118 "amountOfAccounts": 3,
119 "customerCreditThresholds": {
120 "thresholdWarning": 2,
121 "thresholdBreak": 10,
122 "thresholdActivate": 10
123 }
124 }]
125 },
126 "operationDescription": {
127 "operationType": "SUBDIVISION",
128 "customerId": 83539,
129 "doFullBisCheck": false,
130 "psAuthApplType": "CC"
131 },
132 "provisioningRequests": {
133 "createHierarchyRequest": {
134 "linkedParties": [{
135 "party": {
136 "type": "PARTY_INDIVIDUAL",
137 "nameInfo": {
138 "name": "Мы",
139 "surname": "Тушканчик",
140 "patronymic": "ХомÑкович"
141 },
142 "speakingLanguage": {
143 "languageId": 3
144 },
145 "birthDate": "2000-01-31",
146 "gender": {
147 "genderId": 1
148 },
149 "identificationDocument": {
150 "type": {
151 "identificationTypeId": 1
152 }
153 }
154 },
155 "emailContacts": [],
156 "phoneContacts": [],
157 "socialNetworkProfiles": [],
158 "linkedPartyRoles": [{
159 "roleInfo": {
160 "type": "CONTACT_PERSON",
161 "specializationTypes": [{
162 "specializationTypeId": 1
163 },
164 {
165 "specializationTypeId": 2
166 },
167 {
168 "specializationTypeId": 4
169 },
170 {
171 "specializationTypeId": 3
172 }],
173 "mainEmailContact": {
174 "email": "gmail@gmail.com"
175 },
176 "mainPhoneContact": {
177 "number": {
178 "base": "89187780878",
179 "additional": "566",
180 "types": [{
181 "phoneTypeId": 1
182 }]
183 }
184 }
185 },
186 "linkDescriptor": {
187 "generatedId": "1"
188 }
189 }]
190 },
191 {
192 "party": {
193 "type": "PARTY_INDIVIDUAL",
194 "nameInfo": {
195 "name": "Мыь",
196 "surname": "Тушканчик",
197 "patronymic": "ХомÑкович"
198 },
199 "speakingLanguage": {
200 "languageId": 3
201 },
202 "birthDate": "2000-01-31",
203 "gender": {
204 "genderId": 1
205 },
206 "identificationDocument": {
207 "type": {
208 "identificationTypeId": 1
209 }
210 }
211 },
212 "emailContacts": [],
213 "phoneContacts": [],
214 "socialNetworkProfiles": [],
215 "linkedPartyRoles": [{
216 "roleInfo": {
217 "type": "SUBDIVISION_LEADER",
218 "proxies": [{
219 "type": {
220 "proxyTypeId": 2
221 },
222 "number": "номер9876543210",
223 "startDate": "2018-02-01",
224 "endDate": "2021-02-02",
225 "isTransference": true
226 }]
227 },
228 "linkDescriptor": {
229 "generatedId": "2"
230 }
231 }]
232 }],
233 "subdivisionHierarchy": {
234 "agreementsHierarchy": [{
235 "agreementAndLinkedPartyRoles": {
236 "agreement": {
237 "type": "ORGANIZATION",
238 "signingDate": "2018-02-01",
239 "isPermanent": true,
240 "secretKey": "кекÑ",
241 "delivery": {
242 "isDeliverable": false,
243 "ways": []
244 },
245 "customerSigner": {
246 "name": "Орёл",
247 "surname": "ЯÑтреб",
248 "patronymic": "Кондорович",
249 "proxyNumber": "номер555-666",
250 "proxyStartDate": "2018-02-01"
251 },
252 "seller": {
253 "agent": {
254 "agentId": 1000
255 },
256 "agentSigner": {
257 "agentSignerId": 100910000019409
258 },
259 "salePoint": {
260 "salePointId": 82
261 }
262 },
263 "customerConsent": {
264 "advertSending": true,
265 "personalDataProcessing": true,
266 "personalBudget": false
267 },
268 "category": {
269 "agreementCategoryId": 1
270 },
271 "authorizedEmailContacts": [],
272 "marketSegment": {
273 "marketSegmentId": 2
274 },
275 "innerSegment": {
276 "innerSegmentId": 1
277 },
278 "salesDirection": {
279 "salesDirectionId": 4
280 }
281 },
282 "contactPersonLinkReference": {
283 "generatedId": "1"
284 }
285 },
286 "accountGroups": [{
287 "account": {
288 "region": {
289 "regionId": 28
290 },
291 "isSecretKeyOverriden": false,
292 "seller": {
293 "agent": {
294 "agentId": 1000
295 },
296 "salePoint": {
297 "salePointId": 82
298 }
299 },
300 "isDeliveryOverriden": false,
301 "financialInfo": {
302 "paymentProfile": {
303 "daysForPay": 10,
304 "isCashPaymentEnabled": true
305 },
306 "taxes": [{
307 "taxId": 3,
308 "startDate": "2018-02-02T15:08:16"
309 },
310 {
311 "taxId": 1,
312 "startDate": "2018-02-02T15:08:16"
313 }]
314 },
315 "thresholds": {
316 "thresholdWarning": 2,
317 "thresholdBreak": 10,
318 "thresholdActivate": 10
319 },
320 "category": {
321 "customerCategoryId": 2
322 }
323 },
324 "groupInfo": {
325 "numberOfInstances": 3,
326 "customerAddParamsId": "0"
327 }
328 }]
329 }],
330 "subdivisionAndLinkedPartyRoles": {
331 "subdivision": {
332 "type": "SUBDIVISION",
333 "registrationAddress": {
334 "airAddress": {
335 "addressId": 24913502
336 }
337 },
338 "party": {
339 "nameInfo": {
340 "name": "Снециальное СП"
341 },
342 "taxRegistrationCertificate": {
343 "registrationReasonCode": "123213213"
344 }
345 },
346 "bank": {
347 "baseInfo": {
348 "bankId": 3
349 },
350 "account": "98765432109876543210"
351 }
352 },
353 "subdivisionLeaderLinkReference": {
354 "generatedId": "2"
355 }
356 }
357 }
358 }
359 }
360}