Subversion Repositories SmartDukaan

Rev

Rev 22215 | Rev 22521 | 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
21543 ashik.ali 9
 
10
OK_1000=Migration has been done
22124 ashik.ali 11
OK_1001=Mongo Migration has been done
21543 ashik.ali 12
 
13
#Validation
14
VE_1000=Empty Json request check syntex
15
VE_1001=Invalid json request check syntex
16
VE_1002=userId is required
17
VE_1003=userId can not be blank
18
VE_1004=emailId is required
19
VE_1005=emailId can not be blank
20
VE_1006=roleId is required
21
VE_1007=roleId can not be blank
22
VE_1008=roleName is required
23
VE_1009=roleName can not be blank
22470 ashik.ali 24
VE_1010=interval is empty
25
VE_1011=interval should be in assending order
21543 ashik.ali 26
VE_1014=privilegeId is required
27
VE_1015=privilegeId can not be blank
28
VE_1069=mobileNumber is required
29
VE_1070=mobileNumber can not be blank
30
VE_1071=mobileNumber is not valid
31
 
32
VE_1087=errorCode is required
33
VE_1088=errorCode can not be blank
34
VE_1089=errorCode should contain 7 characters
35
VE_1090=errorCode should be of 2 alphabets characters then underscore then 4 digit numeric code
36
VE_1091=errorMessage is required
37
VE_1092=errorMessage can not be blank
38
 
39
 
40
# User related errors
41
USR_1000=user not found
42
USR_1003=role is already added with given user
43
USR_1004=role is not mapped with given user
44
USR_1005=token is invalid
45
USR_1006=unable to verify token from google servers
46
USR_1007=user is already exist
47
USR_1008=user not found with the given token
48
USR_1009=roleTypes not found with given token
49
USR_1010=unable to parse given token
50
USR_1011=Unable to create JWT Token, or problem in signing the token
51
USR_1012=Token has been expired
52
# User related validation errors
53
USR_VE_1000=firstName is required
54
USR_VE_1001=firstName can not be blank
55
USR_VE_1002=lastName is required
56
USR_VE_1003=lastName can not be blank
57
USR_VE_1004=emailId is required
58
USR_VE_1005=emailId can not be blank
59
USR_VE_1006=mobileNumber is required
60
USR_VE_1007=mobileNumber can not be blank
61
USR_VE_1008=gender is invalid, Please choose any one [MALE, FEMALE, OTHER]
62
USR_VE_1009=token is required
63
USR_VE_1010=token can not be blank
64
USR_VE_1011=type is required
65
USR_VE_1012=type can not be blank
66
USR_VE_1013=type is invalid, Please choose any one [GOOGLE]
67
USR_VE_1014=city is required
68
USR_VE_1015=city can not be blank
69
USR_VE_1016=pinCode is required
70
USR_VE_1017=pinCode can not be blank
71
USR_VE_1018=mobileNumber is invalid length should be 10 digit
72
 
73
# User related response
74
USR_OK_1000=User has registered
75
 
76
# Role related errors
77
ROL_1000=role not found with given id
78
ROL_1001=role not found with given name
79
ROL_1002=role is already exist with given name and type
80
ROL_1003=api is already added with given role
81
ROL_1004=api is not mapped with given role
82
ROL_1005=role not found with given api
83
# Role validation errors
84
ROL_VE_1000=roleName is required
85
ROL_VE_1001=roleName can not be blank
86
ROL_VE_1002=roleType is required
87
ROL_VE_1003=roleType can not be blank
88
ROL_VE_1004=roleType is invalid, Please choose any one [USER, RETAILER, CUSTOM]
89
ROL_VE_1005=pricePermission is required
90
ROL_VE_1006=pricePermission can not be blank
91
ROL_VE_1007=pricePermission is invalid, Please choose any one [WITHOUT_PRICE, WITH_PRICE]
92
 
93
# Role related ok response
94
ROL_OK_1000=Role has been created
95
ROL_OK_1001=Api has been added with given role
96
ROL_OK_1002=Api has been removed from given role
97
 
98
# Privilege related errors
99
PRVLG_1000=privilege not found with given id
100
 
101
# Privilege related OK response
102
PRVLG_OK_1000=privilege has been created
103
PRVLG_OK_1000=privilege has been deleted
104
 
105
# Api related errors
106
API_1000=api not found with given id
107
API_1001=api not found with given name
108
API_1002=api not found with given uri
109
API_1003=api is already exist with given uri and method
110
 
111
# Api validation errors
112
API_VE_1000=apiName is required
113
API_VE_1001=apiName can not be blank
114
API_VE_1002=apiUri is required
115
API_VE_1003=apiUri can not be blank
116
API_VE_1004=apiMethod is required
117
API_VE_1005=apiMethod can not be blank
118
API_VE_1006=apiMethod is invalid, Please choose any one [GET, POST, PUT, DELETE]
119
API_VE_1007=apiId is required
120
API_VE_1008=apiId must be positive integer
121
# Api related OK response
122
API_OK_1000=Api has been created
123
API_OK_1001=Api has been deleted
124
API_OK_1002=Api has been updated
125
 
126
 
127
# Address related errors
128
ADRS_1000=Address not found
129
ADRS_1001=Address is duplicate
130
 
131
# Address related validation errors
132
ADRS_VE_1000=name is required
133
ADRS_VE_1001=name can not be blank
134
ADRS_VE_1002=line1 is required
135
ADRS_VE_1003=line1 can not be blank
136
ADRS_VE_1004=line2 is required
137
ADRS_VE_1005=line2 can not be blank
138
ADRS_VE_1006=landmark is required
139
ADRS_VE_1007=landmark can not be blank
140
ADRS_VE_1008=city is required
141
ADRS_VE_1009=city can not be blank
142
ADRS_VE_1010=state is required
143
ADRS_VE_1011=state can not be blank
144
ADRS_VE_1012=pinCode is required
145
ADRS_VE_1013=pinCode can not be blank
146
ADRS_VE_1014=country is required
147
ADRS_VE_1015=country can not be blank
148
ADRS_VE_1016=phoneNumber is required
149
ADRS_VE_1017=phoneNumber can not be blank
150
 
151
#Document related errors
152
DCMNT_1000=Document not found
153
 
154
# Shop related errors
155
SHP_1000=Shop not found
156
SHP_1001=This is existing document of another shop
157
SHP_1002=Shop Address is duplicate
158
SHP_1003=Shop is duplicate
159
SHP_1004=Shop not found with the given retailer
160
 
161
# Shop related validation errors
162
SHP_VE_1000=name is required
163
SHP_VE_1001=name can not be blank
164
SHP_VE_1002=retailerId is required
165
SHP_VE_1003=retailerId can not be blank
166
SHP_VE_1004=documentId is required
167
SHP_VE_1005=documentId can not be blank
168
SHP_VE_1006=address is requred
169
 
170
#Retailer related errors
171
RTLR_1000=Retailer not found
172
RTLR_1001=Retailer is already exist with given number and type
173
RTLR_1002=Retailer address is duplicate
174
RTLR_1003=Retailer is already mapped with the given brand
175
RTLR_1004=Retailer registered address is already exist
176
RTLR_1005=Retailer not found with the given brand
177
RTLR_1006=Retailer not found with the given address
178
RTLR_1007=Retailer does not exist with given document
21558 ashik.ali 179
RTLR_1008=Fofo Retailer does not exist with given email id
21571 ashik.ali 180
RTLR_1009=Fofo Retailer session is not valid
21786 ashik.ali 181
RTLR_1010=Retailer is not fofo
21571 ashik.ali 182
 
21543 ashik.ali 183
#Retailer related validation errors
184
RTLR_VE_1000=name is required
185
RTLR_VE_1001=name can not be blank
186
RTLR_VE_1002=number is required
187
RTLR_VE_1003=number can not be blank
188
RTLR_VE_1004=type is required
189
RTLR_VE_1005=type can not be blank, possible values are [TIN, ESTABLISHMENT]
190
RTLR_VE_1006=monthlySaleValue is required
191
RTLR_VE_1007=monthlySaleValue can not be blank
192
RTLR_VE_1008=smartphoneSaleValue is required
193
RTLR_VE_1009=smartphoneSaleValue can not be blank
194
RTLR_VE_1010=brandNames are required
195
RTLR_VE_1011=brandNames must be array
196
RTLR_VE_1012=recharge is required
197
RTLR_VE_1013=mobile is required
198
RTLR_VE_1014=accessories is required
199
RTLR_VE_1015=other1 is required
200
RTLR_VE_1016=other2 is required
201
RTLR_VE_1017=address is required
202
RTLR_VE_1018=documentId is required
203
RTLR_VE_1019=documentId can not be blank
204
RTLR_VE_1020=shop is required
21571 ashik.ali 205
RTLR_VE_1021=Given types are not valid
21543 ashik.ali 206
 
207
#Retailer OK response
208
RTLR_OK_1000=Retailer has been created
21571 ashik.ali 209
RTLR_OK_1001=Retailer is already login
210
RTLR_OK_1002=Retailer has been login successfully.
21543 ashik.ali 211
 
212
#Order Related Codes
213
CART_CHANGED=cart has changed
21572 ashik.ali 214
SELF_PICKUP_NOT_ALLOWED=self pickup not allowed
21666 amit.gupta 215
INVALID_TR_ID=invalid transaction id
21572 ashik.ali 216
 
217
#Scan Record and InventoryItem related codes
218
SCNSR_II_1000=Scan serialized record has been created
219
 
21575 ashik.ali 220
SCNNSR_II_1000=Scan non serialized record has been created
221
 
222
#Inventory Snapshot related erros
21601 ashik.ali 223
INVNTRY_SNPSHT=Inventory snapshot not found
224
 
225
# FofoLineItemImei related errors
226
FFLINITMIMEI_1000=FofoLineItemImei not found
227
 
228
#FofoLineItem related errors
229
FFORDR_1000=FofoLineItem not found
230
 
231
# ImeiLot related errors
232
IMEILT_1000=ImeiLot not found
233
 
234
# Imei related erros
235
IMEI_1000=Imei not found
236
 
237
# InventoryItem related errors
238
INVNTRITM_1000=InventoryItem not found
239
 
240
# InvoiceNumberGenerationSequence related erros
241
INVCNMBRGNRTNSQNC_1000=InvoiceNumberGenerationSequence not found
242
 
243
# Order related errors
244
ORDR_1000=Order not found
245
 
246
# PaymentOption related errors
21752 ashik.ali 247
PMNTOPT_1000=PaymentOption not found
248
 
249
# Tag related errors
250
TG_1000=Tag not found
251
 
252
# Tag Ok responses
21756 ashik.ali 253
TG_OK_1000=Tag has been created
254
TG_OK_1001=Tag has been activated
255
TG_OK_1001=Tag has been deactivated
256
 
257
# PinCodeTag related Errors
258
PNCDTG_1000=PinCodeTag not found
259
 
260
# PinCodeTag validation errors
261
PNCD_VE_1000=PinCode is invalid
262
 
263
# PinCodeTag Ok responses
264
PNCDTG_OK_1000=PinCodeTag has been created
265
PNCDTG_OK_1001=PinCodeTag has been activated
21786 ashik.ali 266
PNCDTG_OK_1002=PinCodeTag has been deactivated
267
 
268
# Tag Listing related errors
269
TGLSTNG_1000=Tag Listing not found
270
 
271
# Tag Listing Ok responses
272
TGLSTNG_OK_1000=Tag Listing has been created
273
TGLSTNG_OK_1001=Tag Listing has been activated
274
TGLSTNG_OK_1002=Tag Listing has been deactivated
275
TGLSTNG_OK_1003=Tag Listing has updated
276
 
277
# Tag Listing bulk upload validation errors
278
TGLSTNG_VE_1000=Tag Id header is invalid
279
TGLSTNG_VE_1001=Tag Label header is invalid
280
TGLSTNG_VE_1002=Item Id header is invalid
281
TGLSTNG_VE_1003=Brand header is invalid
282
TGLSTNG_VE_1004=Model Name is header is invalid
283
TGLSTNG_VE_1005=Model Number is header is invalid
284
TGLSTNG_VE_1006=Color header is invalid
285
TGLSTNG_VE_1007=Selling Price header is invalid
286
TGLSTNG_VE_1008=Support Price header is invalid
287
TGLSTNG_VE_1009=Start Date header is invalid
288
TGLSTNG_VE_1010=Given Cell is invalid
22207 amit.gupta 289
TGLSTNG_VE_1011=Invalid columns expected 11 columns
21786 ashik.ali 290
TGLSTNG_VE_1012=Header is missing in first row
291
 
292
# Excel file validation errors
22470 ashik.ali 293
EXL_VE_1000=Excel File unable to parse
294
 
295
ITM_AGNG_OK_1000=Item Aging report successfully generated