API allows user to fetch all HSN Codes via a GET request and sends as a JSON object in response to the request
HTTP Method | Endpoint |
---|---|
get | https://api.itaxeasy.com/hsn/gethsnall |
Name | Type | Required | Description |
---|---|---|---|
id | Number | Yes | The id of the customer stored inside Apideck Vault. This can be a user id, account id, device id or whatever entity that can have integration within your app |
hsn_code | Number | Yes | HSN Code for the respective ID |
description | String | Yes | Description for the respective HSN Code and ID |
createdAt | String | Yes | The Date and time of HSN Code created at respective to the ID |
updatedAt | String | Yes | The Date and time of HSN Code updated at respective to the ID |
{
"status": true,
"message": "hsn code",
"data": [
{
"id": 2,
"hsn_code": 1,
"description": "Live Animals; Animal Products",
"createdAt": "2022-11-18T18:55:39.000Z",
"updatedAt": "2022-11-18T18:57:46.000Z"
},
{
"id": 3,
"hsn_code": 101,
"description": "LIVE HORSES, ASSES, MULES AND HINNIES - Horses:",
"createdAt": "2022-11-18T18:55:39.000Z",
"updatedAt": "2022-11-18T18:57:46.000Z"
},
{
"id": 4,
"hsn_code": 1011010,
"description": "LIVE HORSES, ASSES, MULES AND HINNIES PURE-BRED BREEDING ANIMALS HORSES",
"createdAt": "2022-11-18T18:55:39.000Z",
"updatedAt": "2022-11-18T18:57:46.000Z"
},
{
"id": 5,
"hsn_code": 1011020,
"description": "LIVE HORSES, ASSES, MULESANDHINNIES PURE-BRED BREEDING ANIMALS ASSES",
"createdAt": "2022-11-18T18:55:39.000Z",
"updatedAt": "2022-11-18T18:57:46.000Z"
},
....rest of the response