· 7 years ago · May 08, 2018, 11:18 AM
1{
2 "correlationId": "1955781",
3 "customer": {
4 "linkedParties": [
5 {
6 "party": {
7 "type": "PARTY_INDIVIDUAL",
8 "birthDate": "2000-04-01",
9 "gender": {
10 "genderId": 1
11 },
12 "speakingLanguage": {
13 "languageId": 3
14 },
15 "nameInfo": {
16 "name": "Волк",
17 "surname": "Волков",
18 "patronymic": "Волкович"
19 }
20 },
21 "linkedPartyRoles": [
22 {
23 "roleInfo": {
24 "type": "CONTACT_PERSON",
25 "specializationTypes": [
26 {
27 "specializationTypeId": 1,
28 "name": "ВопроÑÑ‹ оплаты"
29 },
30 {
31 "specializationTypeId": 2,
32 "name": "Договорные вопроÑÑ‹"
33 },
34 {
35 "specializationTypeId": 4,
36 "name": "Обработка обращений"
37 },
38 {
39 "specializationTypeId": 3,
40 "name": "ТехничеÑкие вопроÑÑ‹"
41 }
42 ],
43 "mainPhoneContact": {
44 "number": {
45 "base": "89184490633",
46 "types": [
47 {
48 "phoneTypeId": 2,
49 "name": "Сотовый"
50 }
51 ]
52 }
53 },
54 "mainEmailContact": {
55 "email": "gmail@gmail.ru"
56 }
57 },
58 "linkDescriptor": {
59 "generatedId": "1"
60 }
61 }
62 ]
63 }
64 ],
65 "customerHierarchy": {
66 "customerAndLinkedPartyRoles": {
67 "customer": {
68 "type": "ORGANIZATION",
69 "party": {
70 "nationalityInfo": {
71 "airAddress": {
72 "addressId": 41260
73 }
74 },
75 "speakingLanguage": {
76 "languageId": 3
77 },
78 "isIllegal": false,
79 "isNonResident": false,
80 "riskDegree": {
81 "riskDegreeId": 2
82 },
83 "nameInfo": {
84 "name": "Рога и копыта",
85 "proprietaryForm": {
86 "proprietaryFormId": 1
87 }
88 },
89 "taxRegistrationCertificate": {
90 "taxIdentificationNumber": "4023538610",
91 "registrationReasonCode": "123101123",
92 "PSRNInfo": "1234567890",
93 "RNNBO": "12345678",
94 "PSRN": "6066467391710"
95 },
96 "ARCPS": "1234567890",
97 "economicActivities": "12"
98 },
99 "bank": {
100 "account": "30101810300000000222",
101 "baseInfo": {
102 "bankId": 8,
103 "name": "ÐО КБ Ситибанк",
104 "correspondentAccount": "30101810300000000202",
105 "isClosed": false,
106 "BIK": "044525202",
107 "INN": "7812014560"
108 }
109 },
110 "registrationAddress": {
111 "airAddress": {
112 "addressId": 534767
113 }
114 }
115 }
116 },
117 "agreementsHierarchy": [
118 {
119 "agreementAndLinkedPartyRoles": {
120 "agreement": {
121 "type": "ORGANIZATION",
122 "innerSegment": {
123 "innerSegmentId": 4
124 },
125 "marketSegment": {
126 "marketSegmentId": 2
127 },
128 "salesDirection": {
129 "salesDirectionId": 6
130 },
131 "category": {
132 "agreementCategoryId": 1
133 },
134 "signingDate": "2018-04-12T00:00:00",
135 "isPermanent": true,
136 "secretKey": "кекÑ",
137 "delivery": {
138 "isDeliverable": false,
139 "ways": [
140
141 ]
142 },
143 "customerConsent": {
144 "advertSending": true,
145 "personalDataProcessing": true,
146 "personalBudget": false
147 },
148 "customerSigner": {
149 "name": "Медведь",
150 "surname": "Медведев",
151 "patronymic": "Медведович",
152 "proxyNumber": "1234567890",
153 "proxyStartDate": "2018-04-01T00:00:00"
154 },
155 "seller": {
156 "agentSigner": {
157 "agentSignerId": 910000000673
158 },
159 "salePoint": {
160 "salePointId": 23
161 },
162 "agent": {
163 "agentId": 63
164 }
165 }
166 },
167 "contactPersonLinkReference": {
168 "generatedId": "1"
169 }
170 },
171 "accountGroups": [
172 {
173 "account": {
174 "region": {
175 "regionId": 82
176 },
177 "isDeliveryOverriden": false,
178 "category": {
179 "customerCategoryId": 1
180 },
181 "financialInfo": {
182 "paymentProfile": {
183 "isCashPaymentEnabled": true
184 },
185 "taxes": [
186 {
187 "taxId": 1,
188 "name": "ÐДС",
189 "startDate": "2018-04-12T17:05:44"
190 }
191 ]
192 },
193 "thresholds": {
194 "thresholdWarning": -300
195 }
196 },
197 "groupInfo": {
198 "numberOfInstances": 1
199 }
200 }
201 ]
202 }
203 ]
204 }
205 },
206 "customerId": "1094110",
207 "description": "RANDOM DESCRIPTION",
208 "omsId": "231244341",
209 "operationType": "CUSTOMER",
210 "type": "ORGANIZATION"
211}