· 7 years ago · Feb 14, 2018, 10:56 AM
1{
2 "operationDescription": {
3 "operationType": "AGREEMENT",
4 "customerId": 8398,
5 "doFullBisCheck": true,
6 "omsOrderId": 10000640,
7 "executionDateTime": "1970-03-21T04:04:05.794664355+03:00"
8 },
9 "bisResponse": {
10 "customers": [
11 {
12 "customerId": "90",
13 "customerAddParamsId": "1",
14 "accountNumber": "accountnumber",
15 "contractId": "90",
16 "contractNumber": "uuu-xxx-vvv",
17 "subscribers": [
18 {
19 "subscriberId": "31",
20 "statusId": 1,
21 "MSISDN": "83tQfj3Jgs"
22 }
23 ]
24 }
25 ]
26 },
27 "provisioningRequests": {
28 "createHierarchyRequest": {
29 "linkedParties" : [ {
30 "party" : {
31 "type" : "PARTY_NONSPECIFIC",
32 "nameInfo" : {
33 "fullName" : "Обезличенный контакт - звонить +79292945252"
34 }
35 },
36 "linkedPartyRoles" : [ {
37 "roleInfo" : {
38 "type" : "CONTACT_PERSON",
39 "note" : "test refactoring",
40 "specializationTypes" : [ {
41 "specializationTypeId" : 1
42 } ],
43 "mainEmailContact" : {
44 "email" : "someEmail@billing.ru"
45 },
46 "mainPhoneContact" : {
47 "number" : {
48 "base" : "+799613877939",
49 "additional" : "01",
50 "types" : [ {
51 "phoneTypeId" : 1
52 } ]
53 }
54 }
55 },
56 "linkDescriptor" : {
57 "generatedId" : "00000000-0000-0000-0000-000000000000"
58 }
59 } ]
60 } ],
61 "agreementsHierarchy" : [ {
62 "agreementAndLinkedPartyRoles" : {
63 "agreement" : {
64 "type" : "ORGANIZATION",
65 "agreementNumber" : "GF0002",
66 "signingDate" : "2017-12-27",
67 "expireDate" : "2018-12-27",
68 "isPermanent" : false,
69 "secretKey" : "Тупик",
70 "note" : "Договор подпиÑан в Ñрок",
71 "delivery" : {
72 "isDeliverable" : true,
73 "zone" : 7867,
74 "addressStatus" : {
75 "addressStatusId" : 3060
76 },
77 "ways" : [ {
78 "deliveryWayId" : 1
79 } ],
80 "contactPersonName" : "Такойтов такой-то такойтович",
81 "email" : "Takoyto.Takoytov@billing.ru",
82 "phoneNumber" : "+7 927 294 52 52",
83 "note" : "договор",
84 "address" : {
85 "airAddress" : {
86 "addressId" : 7035
87 }
88 },
89 "country" : {
90 "airAddress" : {
91 "addressId" : 9487
92 }
93 },
94 "consigneeName" : "Грузополучатель ЗÐО Ðвтоваз",
95 "consigneeAddress" : "ÐÐ´Ñ€ÐµÑ - ТольÑтти, а дальше по указателÑм"
96 },
97 "customerSigner" : {
98 "name" : "Иван",
99 "surname" : "Иванов",
100 "patronymic" : "Иванович",
101 "proxyNumber" : "55-66Б",
102 "proxyStartDate" : "2017-12-27"
103 },
104 "seller" : {
105 "agent" : {
106 "agentId" : 666
107 },
108 "agentSigner" : {
109 "agentSignerId" : 777
110 },
111 "salePoint" : {
112 "salePointId" : 1234
113 }
114 },
115 "customerConsent" : {
116 "advertSending" : true,
117 "personalDataProcessing" : true,
118 "personalBudget" : false
119 },
120 "marketSegment" : {
121 "marketSegmentId" : 2
122 },
123 "innerSegment" : {
124 "innerSegmentId" : 1
125 },
126 "salesDirection" : {
127 "salesDirectionId" : 3
128 },
129 "category" : {
130 "agreementCategoryId" : 1
131 },
132 "authorizedEmailContacts" : [ {
133 "email" : "someEmail@billing.ru"
134 } ],
135 "nonStandardName" : "Ðаименование неÑтандартного договора",
136 "nonStandardSubject" : "Предмет неÑтандартного договора"
137 },
138 "contactPersonLinkReference" : {
139 "generatedId" : "00000000-0000-0000-0000-000000000000"
140 }
141 },
142 "accountGroups" : [ {
143 "account": {
144 "region": {
145 "regionId": 1
146 },
147 "thresholds": {
148 "thresholdWarning": 10
149 },
150 "delivery": {
151 "isDeliverable": true,
152 "zone": 51,
153 "addressStatus": {
154 "addressStatusId": 8564
155 },
156 "ways": [
157 {
158 "deliveryWayId": 1
159 }
160 ],
161 "contactPersonName": "Такойтов такой-то такойтович",
162 "email": "Takoyto.Takoytov@billing.ru",
163 "phoneNumber": "+7 927 294 52 52",
164 "note": "ЛС",
165 "address": {
166 "airAddress": {
167 "addressId": 6233
168 }
169 },
170 "country": {
171 "airAddress": {
172 "addressId": 1668
173 }
174 }
175 },
176 "isSecretKeyOverriden": true,
177 "secretKey": "Тукан",
178 "note": "Ðто очень Ñтранный лицевой Ñчет",
179 "seller": {
180 "agent": {
181 "agentId": 4203
182 },
183 "agentSigner": {
184 "agentSignerId": 2966
185 },
186 "salePoint": {
187 "salePointId": 1478
188 }
189 },
190 "isDeliveryOverriden": true,
191 "financialInfo": {
192 "paymentProfile": {
193 "daysForPay": 3,
194 "isCashPaymentEnabled": true
195 },
196 "taxes": [
197 {
198 "taxId": 764,
199 "startDate": "2017-11-16T10:12:30.028+03:00",
200 "endDate": "2017-11-16T10:12:30.028+03:00"
201 }
202 ]
203 },
204 "customAttributes": [
205 {
206 "customAttributeId": 456,
207 "values": [
208 {
209 "valueId": 321,
210 "value": "value"
211 }
212 ]
213 }
214 ],
215 "category": {
216 "customerCategoryId": 1
217 }
218 },
219 "groupInfo": {
220 "customerAddParamsId": "1",
221 "numberOfInstances": 1
222 }
223 }]
224 } ]
225}
226 }
227}