Get Employee Corporate
Description: Retrieve all corporate an employee works for.
- Sample Request
- Sample Response
Request Parameters
Parameter | Type | Description | Required |
---|---|---|---|
accountNo | Integer | Employee account no | Yes |
queryRef | String | Client specific unique transaction reference | Yes |
GET {base_url}/corporate/employee?accountNo=1110002939&queryRef=POLARIS1234
curl `${base_url}/corporate/employee?accountNo=1110002939&queryRef=POLARIS1234`
-H "Content-type: application/json"
-H "Authorization: Bearer YOUR_SECRET_KEY"
-X GET
Response Parameters
Parameter | Type | Description | Required |
---|---|---|---|
message | String | Description of performed requested action | Yes |
accountNo | String | Employee salary Account No | Yes |
status | Integer | HTTP status code | Yes |
error | String | Specific errors when request does not return a HTTP status of 200. | No |
queryRef | String | Client specific unique transaction reference | Yes |
data | Array of object | Response data. Contains details of corporate. | Yes |
businessName | String | Name of the business | Yes |
businessEmail | String | Email of the business | No |
businessPhone | String | Phone number associated to the business | No |
businessWebsite | String | Website of the business | No |
businessId | String | eTranzact corporate identifier | Yes |
GET {base_url}/corporate/employee?accountNo=1110002939&queryRef=POLARIS1234
{
"status": 200,
"accountNo": "1110002939",
"message": "Employee Corporates",
"queryRef ": "POLARIS1234",
"error": "",
"data": [
{
"businessName": "etz business",
"rcNumber": "82742",
"businessEmail": "biz@etz.com",
"businessPhone": "+2349087878787",
"businessWebsite": "www.etzbusiness.com",
"businessId": 363737834
}
]
}