Skip to main content

Customer Occupation Type

GET

Go To Customer Registration(Individual)

GEThttp://host/ewallet/api/v1/customerOccupationType/getByCustomerTypeCode/{customerTypeCode}

The Customer Occupation Type API is used to fetch the occupation of the customer.

Request Parameter of Customer Occupation

ParametersInput TypeLengthRequirementDescription
customerTypeCodeNumeric06MThe unique code of the customer type, for Individual customer : 100001

Requirement legend: M = Mandatory · O = Optional · C = Conditional

Request Details of Customer Occupation

GET /services HTTP/1.0
HOST: XXX.XXX.XXX.XXX:Port
Content-Type: application/json; charset=utf-8
GET - http://host/ewallet/api/v1/customerOccupationType/getByCustomerTypeCode/100001

Response Parameter

ParametersData TypeRequirementDescription
transactionIdStringM
requestTimeStringMThis is the requested date and time in the Day Mmm DD HH:MM:SS TIMEZONE YYYY.
responseTimeStringMThis is the response date and time in the Day Mmm DD HH:MM:SS TIMEZONE YYYY.
resultCodeStringMUnique code of the status of the transaction.
resultDescriptionStringMDescription of the status of the transaction.
Customer Occupation Type List
idStringMThe serial number of the record.
codeStringMThe unique code of the customer's occupation, which needs to be passed while customer registration process.
customerTypeCodeStringMThe unique code of the following. • Individual • Business
nameStringMThe occupation of the customer.
statusStringMThe status of the record. note: Only records with status "Active" needs to be used
creationDateStringMThe creation date of the customer in the YYYY-MM-DD <Delimiter> HH:MM:SS.MS TIMEZONE

Requirement legend: M = Mandatory · O = Optional · C = Conditional

Note: The response may include records with "status": "Inactive". These should be ignored. Only the data with "status": "Active" must be filtered and used.

Response Details

{
"transactionId": "8306125",
"requestTime": "Wed Apr 17 21:06:35 IST 2024",
"responseTime": "Wed Apr 17 21:06:36 IST 2024",
"resultCode": "0",
"resultDescription": "Transaction successful",
"customerOccupationTypeList": [
{
"id": 77,
"code": "RHO011",
"customerTypeCode": "100001",
"name": "Cashier",
"status": "Active",
"creationDate": "2025-03-19T17:23:54.415+0530"
},
{
"id": 79,
"code": "RHO013",
"customerTypeCode": "100001",
"name": "Chef",
"status": "Active",
"creationDate": "2025-03-19T17:23:54.415+0530"
},
{
"id": 80,
"code": "RHO014",
"customerTypeCode": "100001",
"name": "Clerk",
"status": "Active",
"creationDate": "2025-03-19T17:23:54.415+0530"
},
{
"id": 81,
"code": "RHO015",
"customerTypeCode": "100001",
"name": "Consultant",
"status": "Active",
"creationDate": "2025-03-19T17:23:54.415+0530"
},
{
"id": 82,
"code": "RHO016",
"customerTypeCode": "100001",
"name": "Cook",
"status": "Active",
"creationDate": "2025-03-19T17:23:54.415+0530"
},
{
"id": 83,
"code": "RHO017",
"customerTypeCode": "100001",
"name": "Customer Service Executive",
"status": "Active",
"creationDate": "2025-03-19T17:23:54.415+0530"
},
{
"id": 84,
"code": "RHO018",
"customerTypeCode": "100001",
"name": "Dentist",
"status": "Active",
"creationDate": "2025-03-19T17:23:54.415+0530"
},
{
"id": 85,
"code": "RHO019",
"customerTypeCode": "100001",
"name": "Designer",
"status": "Active",
"creationDate": "2025-03-19T17:23:54.415+0530"
},
{
"id": 86,
"code": "RHO020",
"customerTypeCode": "100001",
"name": "Doctor",
"status": "Active",
"creationDate": "2025-03-19T17:23:54.415+0530"
},........
..........etc
]
}