Subversion Repositories SmartDukaan

Rev

Rev 22652 | Rev 22924 | Go to most recent revision | View as "text/plain" | Blame | Compare with Previous | Last modification | View Log | RSS feed

#Generic Errors

GE_1000=User not found
GE_1002=Role is already exist
GE_1003=Email is not verified
GE_1004=Accessed uri is forbidden
GE_1005=Unable to get ok response from server
GE_1006=Unable to connect to server

OK_1000=Migration has been done
OK_1001=Mongo Migration has been done

#Validation
VE_1000=Empty Json request check syntex
VE_1001=Invalid json request check syntex
VE_1002=userId is required
VE_1003=userId can not be blank
VE_1004=emailId is required
VE_1005=emailId can not be blank
VE_1006=roleId is required
VE_1007=roleId can not be blank
VE_1008=roleName is required
VE_1009=roleName can not be blank
VE_1010=interval is empty
VE_1011=interval should be in assending order
VE_1014=privilegeId is required
VE_1015=privilegeId can not be blank
VE_1069=mobileNumber is required
VE_1070=mobileNumber can not be blank
VE_1071=mobileNumber is not valid

VE_1087=errorCode is required
VE_1088=errorCode can not be blank
VE_1089=errorCode should contain 7 characters
VE_1090=errorCode should be of 2 alphabets characters then underscore then 4 digit numeric code
VE_1091=errorMessage is required
VE_1092=errorMessage can not be blank


# User related errors
USR_1000=user not found
USR_1003=role is already added with given user
USR_1004=role is not mapped with given user
USR_1005=token is invalid
USR_1006=unable to verify token from google servers
USR_1007=user is already exist
USR_1008=user not found with the given token
USR_1009=roleTypes not found with given token
USR_1010=unable to parse given token
USR_1011=Unable to create JWT Token, or problem in signing the token
USR_1012=Token has been expired
USR_1013=Requested user is not retailer
USR_1014=Retailer fofo Store has is already created

# User related validation errors
USR_VE_1000=firstName is required
USR_VE_1001=firstName can not be blank
USR_VE_1002=lastName is required
USR_VE_1003=lastName can not be blank
USR_VE_1004=emailId is required
USR_VE_1005=emailId can not be blank
USR_VE_1006=mobileNumber is required
USR_VE_1007=mobileNumber can not be blank
USR_VE_1008=gender is invalid, Please choose any one [MALE, FEMALE, OTHER]
USR_VE_1009=token is required
USR_VE_1010=token can not be blank
USR_VE_1011=type is required
USR_VE_1012=type can not be blank
USR_VE_1013=type is invalid, Please choose any one [GOOGLE]
USR_VE_1014=city is required
USR_VE_1015=city can not be blank
USR_VE_1016=pinCode is required
USR_VE_1017=pinCode can not be blank
USR_VE_1018=mobileNumber is invalid length should be 10 digit

# User related response
USR_OK_1000=User has registered

# Role related errors
ROL_1000=role not found with given id
ROL_1001=role not found with given name
ROL_1002=role is already exist with given name and type
ROL_1003=api is already added with given role
ROL_1004=api is not mapped with given role
ROL_1005=role not found with given api
# Role validation errors
ROL_VE_1000=roleName is required
ROL_VE_1001=roleName can not be blank
ROL_VE_1002=roleType is required
ROL_VE_1003=roleType can not be blank
ROL_VE_1004=roleType is invalid, Please choose any one [USER, RETAILER, CUSTOM]
ROL_VE_1005=pricePermission is required
ROL_VE_1006=pricePermission can not be blank
ROL_VE_1007=pricePermission is invalid, Please choose any one [WITHOUT_PRICE, WITH_PRICE]

# Role related ok response
ROL_OK_1000=Role has been created
ROL_OK_1001=Api has been added with given role
ROL_OK_1002=Api has been removed from given role

# Privilege related errors
PRVLG_1000=privilege not found with given id

# Privilege related OK response
PRVLG_OK_1000=privilege has been created
PRVLG_OK_1000=privilege has been deleted

# Api related errors
API_1000=api not found with given id
API_1001=api not found with given name
API_1002=api not found with given uri
API_1003=api is already exist with given uri and method

# Api validation errors
API_VE_1000=apiName is required
API_VE_1001=apiName can not be blank
API_VE_1002=apiUri is required
API_VE_1003=apiUri can not be blank
API_VE_1004=apiMethod is required
API_VE_1005=apiMethod can not be blank
API_VE_1006=apiMethod is invalid, Please choose any one [GET, POST, PUT, DELETE]
API_VE_1007=apiId is required
API_VE_1008=apiId must be positive integer
# Api related OK response
API_OK_1000=Api has been created
API_OK_1001=Api has been deleted
API_OK_1002=Api has been updated


# Address related errors
ADRS_1000=Address not found
ADRS_1001=Address is duplicate

# Address related validation errors
ADRS_VE_1000=name is required
ADRS_VE_1001=name can not be blank
ADRS_VE_1002=line1 is required
ADRS_VE_1003=line1 can not be blank
ADRS_VE_1004=line2 is required
ADRS_VE_1005=line2 can not be blank
ADRS_VE_1006=landmark is required
ADRS_VE_1007=landmark can not be blank
ADRS_VE_1008=city is required
ADRS_VE_1009=city can not be blank
ADRS_VE_1010=state is required
ADRS_VE_1011=state can not be blank
ADRS_VE_1012=pinCode is required
ADRS_VE_1013=pinCode can not be blank
ADRS_VE_1014=country is required
ADRS_VE_1015=country can not be blank
ADRS_VE_1016=phoneNumber is required
ADRS_VE_1017=phoneNumber can not be blank

#Document related errors
DCMNT_1000=Document not found

# Shop related errors
SHP_1000=Shop not found
SHP_1001=This is existing document of another shop
SHP_1002=Shop Address is duplicate
SHP_1003=Shop is duplicate
SHP_1004=Shop not found with the given retailer

# Shop related validation errors
SHP_VE_1000=name is required
SHP_VE_1001=name can not be blank
SHP_VE_1002=retailerId is required
SHP_VE_1003=retailerId can not be blank
SHP_VE_1004=documentId is required
SHP_VE_1005=documentId can not be blank
SHP_VE_1006=address is requred

#Retailer related errors
RTLR_1000=Retailer not found
RTLR_1001=Retailer is already exist with given number and type
RTLR_1002=Retailer address is duplicate
RTLR_1003=Retailer is already mapped with the given brand
RTLR_1004=Retailer registered address is already exist
RTLR_1005=Retailer not found with the given brand
RTLR_1006=Retailer not found with the given address
RTLR_1007=Retailer does not exist with given document
RTLR_1008=Fofo Retailer does not exist with given email id
RTLR_1009=Fofo Retailer session is not valid
RTLR_1010=Retailer is not fofo

#Retailer related validation errors
RTLR_VE_1000=name is required
RTLR_VE_1001=name can not be blank
RTLR_VE_1002=number is required
RTLR_VE_1003=number can not be blank
RTLR_VE_1004=type is required
RTLR_VE_1005=type can not be blank, possible values are [TIN, ESTABLISHMENT]
RTLR_VE_1006=monthlySaleValue is required
RTLR_VE_1007=monthlySaleValue can not be blank
RTLR_VE_1008=smartphoneSaleValue is required
RTLR_VE_1009=smartphoneSaleValue can not be blank
RTLR_VE_1010=brandNames are required
RTLR_VE_1011=brandNames must be array
RTLR_VE_1012=recharge is required
RTLR_VE_1013=mobile is required
RTLR_VE_1014=accessories is required
RTLR_VE_1015=other1 is required
RTLR_VE_1016=other2 is required
RTLR_VE_1017=address is required
RTLR_VE_1018=documentId is required
RTLR_VE_1019=documentId can not be blank
RTLR_VE_1020=shop is required
RTLR_VE_1021=Given types are not valid

#Retailer OK response
RTLR_OK_1000=Retailer has been created
RTLR_OK_1001=Retailer is already login
RTLR_OK_1002=Retailer has been login successfully.
RTLR_OK_1003=Retailer fofo Store has been created


#Order Related Codes
CART_CHANGED=cart has changed
SELF_PICKUP_NOT_ALLOWED=self pickup not allowed
INVALID_TR_ID=invalid transaction id

#Scan Record and InventoryItem related codes
SCNSR_II_1000=Scan serialized record has been created

SCNNSR_II_1000=Scan non serialized record has been created

#Inventory Snapshot related erros
INVNTRY_SNPSHT=Inventory snapshot not found

# FofoLineItemImei related errors
FFLINITMIMEI_1000=FofoLineItemImei not found

#FofoLineItem related errors
FFORDR_1000=FofoLineItem not found

# ImeiLot related errors
IMEILT_1000=ImeiLot not found

# Imei related erros
IMEI_1000=Imei not found

# InventoryItem related errors
INVNTRITM_1000=InventoryItem not found

# InvoiceNumberGenerationSequence related erros
INVCNMBRGNRTNSQNC_1000=InvoiceNumberGenerationSequence not found

# Order related errors
ORDR_1000=Order not found

# PaymentOption related errors
PMNTOPT_1000=PaymentOption not found

# Tag related errors
TG_1000=Tag not found

# Tag Ok responses
TG_OK_1000=Tag has been created
TG_OK_1001=Tag has been activated
TG_OK_1001=Tag has been deactivated

# PinCodeTag related Errors
PNCDTG_1000=PinCodeTag not found

# PinCodeTag validation errors
PNCD_VE_1000=PinCode is invalid

# PinCodeTag Ok responses
PNCDTG_OK_1000=PinCodeTag has been created
PNCDTG_OK_1001=PinCodeTag has been activated
PNCDTG_OK_1002=PinCodeTag has been deactivated

# Tag Listing related errors
TGLSTNG_1000=Tag Listing not found

# Tag Listing Ok responses
TGLSTNG_OK_1000=Tag Listing has been created
TGLSTNG_OK_1001=Tag Listing has been activated
TGLSTNG_OK_1002=Tag Listing has been deactivated
TGLSTNG_OK_1003=Tag Listing has updated

# Tag Listing bulk upload validation errors
TGLSTNG_VE_1000=Tag Id header is invalid
TGLSTNG_VE_1001=Tag Label header is invalid
TGLSTNG_VE_1002=Item Id header is invalid
TGLSTNG_VE_1003=Brand header is invalid
TGLSTNG_VE_1004=Model Name is header is invalid
TGLSTNG_VE_1005=Model Number is header is invalid
TGLSTNG_VE_1006=Color header is invalid
TGLSTNG_VE_1007=Selling Price header is invalid
TGLSTNG_VE_1008=Support Price header is invalid
TGLSTNG_VE_1009=Start Date header is invalid
TGLSTNG_VE_1010=Given Cell is invalid
TGLSTNG_VE_1011=Invalid columns expected 11 columns
TGLSTNG_VE_1012=Header is missing in first row

# Excel file validation errors
EXL_VE_1000=Excel File unable to parse

ITM_AGNG_OK_1000=Item Aging report successfully generated

# Retailer Scheme tag errors
RTLR_SCHM_TG_1000=Retailer Scheme tag not found

# Inventory Item tag errors
INVNTRY_ITM_1000=InventoryItem not found


# Scheme tag errors
SCHM_1000=Scheme not found

# Wallet related errors
WLT_1000=Wallet has insufficient balance