Subversion Repositories SmartDukaan

Rev

Rev 23430 | Rev 23526 | Go to most recent revision | Details | Compare with Previous | Last modification | View Log | RSS feed

Rev Author Line No. Line
21543 ashik.ali 1
#Generic Errors
2
 
3
GE_1000=User not found
4
GE_1002=Role is already exist
5
GE_1003=Email is not verified
22106 ashik.ali 6
GE_1004=Accessed uri is forbidden
22215 ashik.ali 7
GE_1005=Unable to get ok response from server
8
GE_1006=Unable to connect to server
22924 ashik.ali 9
GE_1007=Internal server error
21543 ashik.ali 10
 
11
OK_1000=Migration has been done
22124 ashik.ali 12
OK_1001=Mongo Migration has been done
21543 ashik.ali 13
 
14
#Validation
15
VE_1000=Empty Json request check syntex
16
VE_1001=Invalid json request check syntex
17
VE_1002=userId is required
18
VE_1003=userId can not be blank
19
VE_1004=emailId is required
20
VE_1005=emailId can not be blank
21
VE_1006=roleId is required
22
VE_1007=roleId can not be blank
23
VE_1008=roleName is required
24
VE_1009=roleName can not be blank
22470 ashik.ali 25
VE_1010=interval is empty
26
VE_1011=interval should be in assending order
21543 ashik.ali 27
VE_1014=privilegeId is required
28
VE_1015=privilegeId can not be blank
22924 ashik.ali 29
VE_1016=emailId is not valid
21543 ashik.ali 30
VE_1069=mobileNumber is required
31
VE_1070=mobileNumber can not be blank
32
VE_1071=mobileNumber is not valid
23369 ashik.ali 33
VE_1072=gstNumber is not valid
21543 ashik.ali 34
 
35
VE_1087=errorCode is required
36
VE_1088=errorCode can not be blank
37
VE_1089=errorCode should contain 7 characters
38
VE_1090=errorCode should be of 2 alphabets characters then underscore then 4 digit numeric code
39
VE_1091=errorMessage is required
40
VE_1092=errorMessage can not be blank
41
 
42
 
43
# User related errors
44
USR_1000=user not found
45
USR_1003=role is already added with given user
46
USR_1004=role is not mapped with given user
47
USR_1005=token is invalid
48
USR_1006=unable to verify token from google servers
49
USR_1007=user is already exist
50
USR_1008=user not found with the given token
51
USR_1009=roleTypes not found with given token
52
USR_1010=unable to parse given token
53
USR_1011=Unable to create JWT Token, or problem in signing the token
54
USR_1012=Token has been expired
22521 ashik.ali 55
USR_1013=Requested user is not retailer
56
USR_1014=Retailer fofo Store has is already created
22924 ashik.ali 57
USR_1015=Saholic user not found
22521 ashik.ali 58
 
21543 ashik.ali 59
# User related validation errors
60
USR_VE_1000=firstName is required
61
USR_VE_1001=firstName can not be blank
62
USR_VE_1002=lastName is required
63
USR_VE_1003=lastName can not be blank
64
USR_VE_1004=emailId is required
65
USR_VE_1005=emailId can not be blank
66
USR_VE_1006=mobileNumber is required
67
USR_VE_1007=mobileNumber can not be blank
68
USR_VE_1008=gender is invalid, Please choose any one [MALE, FEMALE, OTHER]
69
USR_VE_1009=token is required
70
USR_VE_1010=token can not be blank
71
USR_VE_1011=type is required
72
USR_VE_1012=type can not be blank
73
USR_VE_1013=type is invalid, Please choose any one [GOOGLE]
74
USR_VE_1014=city is required
75
USR_VE_1015=city can not be blank
76
USR_VE_1016=pinCode is required
77
USR_VE_1017=pinCode can not be blank
78
USR_VE_1018=mobileNumber is invalid length should be 10 digit
79
 
80
# User related response
81
USR_OK_1000=User has registered
23201 ashik.ali 82
USR_OK_1001=User secondry email has been updated
21543 ashik.ali 83
 
84
# Role related errors
85
ROL_1000=role not found with given id
86
ROL_1001=role not found with given name
87
ROL_1002=role is already exist with given name and type
88
ROL_1003=api is already added with given role
89
ROL_1004=api is not mapped with given role
90
ROL_1005=role not found with given api
91
# Role validation errors
92
ROL_VE_1000=roleName is required
93
ROL_VE_1001=roleName can not be blank
94
ROL_VE_1002=roleType is required
95
ROL_VE_1003=roleType can not be blank
96
ROL_VE_1004=roleType is invalid, Please choose any one [USER, RETAILER, CUSTOM]
97
ROL_VE_1005=pricePermission is required
98
ROL_VE_1006=pricePermission can not be blank
99
ROL_VE_1007=pricePermission is invalid, Please choose any one [WITHOUT_PRICE, WITH_PRICE]
100
 
101
# Role related ok response
102
ROL_OK_1000=Role has been created
103
ROL_OK_1001=Api has been added with given role
104
ROL_OK_1002=Api has been removed from given role
105
 
106
# Privilege related errors
107
PRVLG_1000=privilege not found with given id
108
 
109
# Privilege related OK response
110
PRVLG_OK_1000=privilege has been created
111
PRVLG_OK_1000=privilege has been deleted
112
 
113
# Api related errors
114
API_1000=api not found with given id
115
API_1001=api not found with given name
116
API_1002=api not found with given uri
117
API_1003=api is already exist with given uri and method
118
 
119
# Api validation errors
120
API_VE_1000=apiName is required
121
API_VE_1001=apiName can not be blank
122
API_VE_1002=apiUri is required
123
API_VE_1003=apiUri can not be blank
124
API_VE_1004=apiMethod is required
125
API_VE_1005=apiMethod can not be blank
126
API_VE_1006=apiMethod is invalid, Please choose any one [GET, POST, PUT, DELETE]
127
API_VE_1007=apiId is required
128
API_VE_1008=apiId must be positive integer
129
# Api related OK response
130
API_OK_1000=Api has been created
131
API_OK_1001=Api has been deleted
132
API_OK_1002=Api has been updated
133
 
134
 
135
# Address related errors
136
ADRS_1000=Address not found
137
ADRS_1001=Address is duplicate
138
 
139
# Address related validation errors
140
ADRS_VE_1000=name is required
141
ADRS_VE_1001=name can not be blank
142
ADRS_VE_1002=line1 is required
143
ADRS_VE_1003=line1 can not be blank
144
ADRS_VE_1004=line2 is required
145
ADRS_VE_1005=line2 can not be blank
146
ADRS_VE_1006=landmark is required
147
ADRS_VE_1007=landmark can not be blank
148
ADRS_VE_1008=city is required
149
ADRS_VE_1009=city can not be blank
150
ADRS_VE_1010=state is required
151
ADRS_VE_1011=state can not be blank
152
ADRS_VE_1012=pinCode is required
153
ADRS_VE_1013=pinCode can not be blank
154
ADRS_VE_1014=country is required
155
ADRS_VE_1015=country can not be blank
156
ADRS_VE_1016=phoneNumber is required
157
ADRS_VE_1017=phoneNumber can not be blank
158
 
159
#Document related errors
160
DCMNT_1000=Document not found
161
 
162
# Shop related errors
163
SHP_1000=Shop not found
164
SHP_1001=This is existing document of another shop
165
SHP_1002=Shop Address is duplicate
166
SHP_1003=Shop is duplicate
167
SHP_1004=Shop not found with the given retailer
23498 ashik.ali 168
SHP_1005=Shop document not found
169
SHP_1006=Shop document file not found
21543 ashik.ali 170
 
23430 ashik.ali 171
# Recharge Provider related errors
172
RCHRG_PRVDR_1000=Recharge Provider not found
173
 
174
# Recharge Transaction related errors
175
RCHRG_TXN_1000=Recharge Transaction not found
176
 
23498 ashik.ali 177
# Recharge Operator related errors
178
RCHRG_OPRTR_1000=Recharge Operator not found
179
 
23417 ashik.ali 180
# Item related errors
181
ITM_1000=Item not found
182
 
183
# Retailer brand errors
184
RTLR_BRND_1000=Retailer Brand not found
185
 
186
# Fofo partner payment option related errors
187
FF_PRTNR_PMNT_OPT_1000=Fofo Partner payment option related errors
188
 
21543 ashik.ali 189
# Shop related validation errors
190
SHP_VE_1000=name is required
191
SHP_VE_1001=name can not be blank
192
SHP_VE_1002=retailerId is required
193
SHP_VE_1003=retailerId can not be blank
194
SHP_VE_1004=documentId is required
195
SHP_VE_1005=documentId can not be blank
196
SHP_VE_1006=address is requred
197
 
198
#Retailer related errors
199
RTLR_1000=Retailer not found
200
RTLR_1001=Retailer is already exist with given number and type
201
RTLR_1002=Retailer address is duplicate
202
RTLR_1003=Retailer is already mapped with the given brand
203
RTLR_1004=Retailer registered address is already exist
204
RTLR_1005=Retailer not found with the given brand
205
RTLR_1006=Retailer not found with the given address
206
RTLR_1007=Retailer does not exist with given document
21558 ashik.ali 207
RTLR_1008=Fofo Retailer does not exist with given email id
21571 ashik.ali 208
RTLR_1009=Fofo Retailer session is not valid
21786 ashik.ali 209
RTLR_1010=Retailer is not fofo
23040 ashik.ali 210
RTLR_1011=Retailer is already registered with given email
23498 ashik.ali 211
RTLR_1012=Retailer document not found
212
RTLR_1013=Retailer document file not found
213
RTLR_1014=Requested retailer is not the owner of the requested document
21571 ashik.ali 214
 
21543 ashik.ali 215
#Retailer related validation errors
216
RTLR_VE_1000=name is required
217
RTLR_VE_1001=name can not be blank
218
RTLR_VE_1002=number is required
219
RTLR_VE_1003=number can not be blank
220
RTLR_VE_1004=type is required
221
RTLR_VE_1005=type can not be blank, possible values are [TIN, ESTABLISHMENT]
222
RTLR_VE_1006=monthlySaleValue is required
223
RTLR_VE_1007=monthlySaleValue can not be blank
224
RTLR_VE_1008=smartphoneSaleValue is required
225
RTLR_VE_1009=smartphoneSaleValue can not be blank
226
RTLR_VE_1010=brandNames are required
227
RTLR_VE_1011=brandNames must be array
228
RTLR_VE_1012=recharge is required
229
RTLR_VE_1013=mobile is required
230
RTLR_VE_1014=accessories is required
231
RTLR_VE_1015=other1 is required
232
RTLR_VE_1016=other2 is required
233
RTLR_VE_1017=address is required
234
RTLR_VE_1018=documentId is required
235
RTLR_VE_1019=documentId can not be blank
236
RTLR_VE_1020=shop is required
21571 ashik.ali 237
RTLR_VE_1021=Given types are not valid
21543 ashik.ali 238
 
239
#Retailer OK response
240
RTLR_OK_1000=Retailer has been created
21571 ashik.ali 241
RTLR_OK_1001=Retailer is already login
242
RTLR_OK_1002=Retailer has been login successfully.
22521 ashik.ali 243
RTLR_OK_1003=Retailer fofo Store has been created
21543 ashik.ali 244
 
22521 ashik.ali 245
 
21543 ashik.ali 246
#Order Related Codes
247
CART_CHANGED=cart has changed
21572 ashik.ali 248
SELF_PICKUP_NOT_ALLOWED=self pickup not allowed
21666 amit.gupta 249
INVALID_TR_ID=invalid transaction id
21572 ashik.ali 250
 
251
#Scan Record and InventoryItem related codes
252
SCNSR_II_1000=Scan serialized record has been created
253
 
21575 ashik.ali 254
SCNNSR_II_1000=Scan non serialized record has been created
255
 
21601 ashik.ali 256
# FofoLineItemImei related errors
257
FFLINITMIMEI_1000=FofoLineItemImei not found
258
 
22924 ashik.ali 259
#Fofo Order Item related errors
260
FFORDRITM_1000=Fofo Order Item not found
21601 ashik.ali 261
 
22924 ashik.ali 262
#Fofo Order related errors
263
FFORDR_1000=Fofo Order not found
264
FFORDR_1001=Given Item Ids quantity does not match the size of given serial numbers
265
FFORDR_1002=Given item ids selling price must be greater than zero
266
FFORDR_1003=Given item ids are not completly found in database
267
FFORDR_1004=Given item ids's serialNumbers are not completly found in database
268
FFORDR_1005=Given item ids quantity are not sufficient for non serialized items
269
FFORDR_1006=Unable to prepare cart for placing order.
270
FFORDR_1007=insurance margin should be greater than equal to item profit margin
271
FFORDR_1008=insurance sale amount can not be lesser than insurance purchase amount
272
FFORDR_1009=insurance sale amount can not be greater than than insurance max amount
273
FFORDR_1010=Given item Ids selling prices should be greater than mop prices
274
FFORDR_1011=Given item Ids discount amounts should be lesser than discount max prices
275
FFORDR_1012=Given date of birth is invalid
276
FFORDR_1013=Given item Id's serialNumbers are invalid for serialized case
277
FFORDR_1014=Given item Id's serialNumbers are invalid for non serialized case
278
FFORDR_1015=Given item ids quantity are greater than the available quantities.
279
FFORDR_1016=Payment options amount is not equal to total amount
23364 ashik.ali 280
FFORDR_1017=Given payment options ids are invalid
281
FFORDR_1018=Given payment options amount should be greater than zero
23417 ashik.ali 282
FFORDR_1019=Maximum limit reached for the day
283
FFORDR_1020=Invalid OTP
284
FFORDR_1021=OTP expired
285
FFORDR_1022=Maximum try count reached
22924 ashik.ali 286
 
23417 ashik.ali 287
# Fofo Order ok responses
288
FFORDR_OK_1000=OTP generated less than 2 minutes ago
289
FFORDR_OK_1001=OTP generated successfully
290
FFORDR_OK_1002=OTP validated successfully
291
 
292
 
21601 ashik.ali 293
# ImeiLot related errors
294
IMEILT_1000=ImeiLot not found
295
 
296
# Imei related erros
297
IMEI_1000=Imei not found
298
 
299
# InventoryItem related errors
300
INVNTRITM_1000=InventoryItem not found
301
 
302
# InvoiceNumberGenerationSequence related erros
22924 ashik.ali 303
INVCNMBRGNRTNSQNC_1000=Invoice Number Generation Sequence not found
21601 ashik.ali 304
 
305
# Order related errors
306
ORDR_1000=Order not found
307
 
308
# PaymentOption related errors
21752 ashik.ali 309
PMNTOPT_1000=PaymentOption not found
310
 
23417 ashik.ali 311
# Prebooking Customer amount related errors
312
PRBKNG_CSTMR_AMNT_1000=Prebooking customer amount not found
313
 
314
# Prebooking related errors
315
PRBKNG_1000=Given item id not found in active prebooking listing
316
PRBKNG_1001=Given item id is alrady booked with given customer mobile number
317
 
22924 ashik.ali 318
# Purchase related errors
319
PRCHS_1000=Purchase not found
320
PRCHS_1001=Found serial numbers are less in size than given serial numbers
321
PRCHS_1002=Given serial numbers are invalid
23414 amit.gupta 322
PRCHS_1003=Mentioned Quantity is not same as total invoiced quantity
22924 ashik.ali 323
 
21752 ashik.ali 324
# Tag related errors
325
TG_1000=Tag not found
22924 ashik.ali 326
TG_1001=Tag ids not found
327
TG_1002=Tag item ids not found
21752 ashik.ali 328
 
329
# Tag Ok responses
21756 ashik.ali 330
TG_OK_1000=Tag has been created
331
TG_OK_1001=Tag has been activated
332
TG_OK_1001=Tag has been deactivated
333
 
334
# PinCodeTag related Errors
335
PNCDTG_1000=PinCodeTag not found
336
 
337
# PinCodeTag validation errors
338
PNCD_VE_1000=PinCode is invalid
339
 
340
# PinCodeTag Ok responses
341
PNCDTG_OK_1000=PinCodeTag has been created
342
PNCDTG_OK_1001=PinCodeTag has been activated
21786 ashik.ali 343
PNCDTG_OK_1002=PinCodeTag has been deactivated
344
 
345
# Tag Listing related errors
346
TGLSTNG_1000=Tag Listing not found
22924 ashik.ali 347
TGLSTNG_1001=Tag Listing list is empty
21786 ashik.ali 348
 
349
# Tag Listing Ok responses
350
TGLSTNG_OK_1000=Tag Listing has been created
351
TGLSTNG_OK_1001=Tag Listing has been activated
352
TGLSTNG_OK_1002=Tag Listing has been deactivated
353
TGLSTNG_OK_1003=Tag Listing has updated
354
 
355
# Tag Listing bulk upload validation errors
356
TGLSTNG_VE_1000=Tag Id header is invalid
357
TGLSTNG_VE_1001=Tag Label header is invalid
358
TGLSTNG_VE_1002=Item Id header is invalid
359
TGLSTNG_VE_1003=Brand header is invalid
360
TGLSTNG_VE_1004=Model Name is header is invalid
361
TGLSTNG_VE_1005=Model Number is header is invalid
362
TGLSTNG_VE_1006=Color header is invalid
363
TGLSTNG_VE_1007=Selling Price header is invalid
364
TGLSTNG_VE_1008=Support Price header is invalid
365
TGLSTNG_VE_1009=Start Date header is invalid
366
TGLSTNG_VE_1010=Given Cell is invalid
22207 amit.gupta 367
TGLSTNG_VE_1011=Invalid columns expected 11 columns
21786 ashik.ali 368
TGLSTNG_VE_1012=Header is missing in first row
369
 
370
# Excel file validation errors
22470 ashik.ali 371
EXL_VE_1000=Excel File unable to parse
372
 
22607 ashik.ali 373
ITM_AGNG_OK_1000=Item Aging report successfully generated
374
 
375
# Retailer Scheme tag errors
376
RTLR_SCHM_TG_1000=Retailer Scheme tag not found
377
 
22652 ashik.ali 378
# Inventory Item tag errors
379
INVNTRY_ITM_1000=InventoryItem not found
380
 
381
 
22607 ashik.ali 382
# Scheme tag errors
22858 ashik.ali 383
SCHM_1000=Scheme not found
22924 ashik.ali 384
SCHM_1001=Scheme retailer Ids can not be null or empty
385
SCHM_1002=Scheme retailer Ids are invalid
386
SCHM_1003=Scheme item Ids can not be null or empty
387
SCHM_1004=Scheme item Ids are invalid
388
SCHM_1005=Scheme is already activated
389
SCHM_1006=Expired scheme can not be activated
390
SCHM_1007=Scheme must be activated for expiring
391
SCHM_1008=Scheme is already expired
22858 ashik.ali 392
 
22924 ashik.ali 393
 
394
 
395
SCHM_VE_1000=Scheme name can not be empty
396
SCHM_VE_1001=Scheme amount must be greater than zero
397
SCHM_VE_1002=Scheme amount can not greater than 100 if scheme type is percentage
398
SCHM_VE_1003=Scheme start date can not be null or empty
399
SCHM_VE_1004=Scheme end date can not be null or empty
400
SCHM_VE_1005=Scheme start date can not greater than end date
401
 
23417 ashik.ali 402
# Prebooking related errors
403
PRBKNG_LSTNG_1000=Prebooking listing not found
404
PRBKNG_LSTNG_1001=Prebooking listing is already active
405
PRBKNG_LSTNG_1002=Expire Prebooking listing can not be active
406
PRBKNG_LSTNG_1003=Prebooking listing must be active for expiring
407
PRBKNG_LSTNG_1004=Expire Prebooking listing is already expire
408
 
22858 ashik.ali 409
# Wallet related errors
22924 ashik.ali 410
WLT_1000=Wallet has insufficient balance
411
 
412
# District Master related errors
413
DSTRCT_1000=District not found
414
 
415
# Fofo Store related errors
416
FOFOSTR_1000=Fofo store not found
417
 
418
# Fofo Store Sequence Generation related errors
419
FOFOSTRSQNCGNRTN_1000=Fofo store sequence generation not found 
420
 
421
# Gadget Cops Insurance calculation related errors
422
GDTCPSINSRNCCALC_1000=Gadget Cops insurance calucation not found
22995 amit.gupta 423
GDTCPSServerDown_1000=Could not create policy on Gadget Cop
22924 ashik.ali 424
 
425
# Not Buy Back related errors
426
NTBYBAK_1000=Not Buy back not found
427
 
428
# Otp related errors
429
OTP_1000=Otp not found
430
 
431
# Policy Number generation sequence related errors
432
PLCNMBRGNRTNSQNC_1000=Policy number generation sequence not found
433
 
434
# Inventory snapshot related errors
435
INVNTRYSNPSHT_1000=Inventory Snapshot not found\
436
 
437
# Customer address related errors
438
CSTMRADRS_1000=Customer address not found
439
 
440
# Customer related errors
441
CSTMR_1000=Customer not found
442
CSTMR_1001=Customer is already exist
443
CSTMR_1002=Customer 
444
 
445
 
446
# Transaction related errors
447
TRNSCTION_1000=Transaction not found
448
 
449
# Cart related errors
450
CART_1000=Cart not found
451
 
452
# Counter related errors
453
CNTR_1000=Counter not found
454
 
455
# Private Deal User Address related errors
456
PRVTDLUSRADRS_1000=Private deal user address not found
457
 
458
# Private Deal related errors
459
PRVTDL_1000=Private deal not found
460
 
23018 ashik.ali 461
# Operator related errors
462
OPRTR_1000=Operator not found
22924 ashik.ali 463
 
23018 ashik.ali 464
# Recharge validation related errors
465
RCHRG_VE_1000=Provider name can not be blank
466
RCHRG_VE_1001=Recharge Type must be 'MOBILE' or 'DTH'
467
RCHRG_VE_1002=Recharge amount must be greater than zero
468
RCHRG_VE_1003=Recharge operator name can not be blank
469
RCHRG_VE_1004=Recharge reference number can not blank 
23109 ashik.ali 470
 
23498 ashik.ali 471
# Recharge Service related errors
472
RCHRG_1000=Recharge can not be done due to provider is not active
473
RCHRG_1001=Recharge check status can not be check after 72 hours of transaction due to provider limitation
474
 
23109 ashik.ali 475
# price drop related errors
476
PRCDRP_1000=Price Drop not found
477
 
478
# pending recharge commission related errors
479
PNDNGRCHRGCMSN_1000=Pending recharge commission not found