# Revenue Department
## BASE URL: http://smartrajshahi.gov.bd/
## 1. ট্রেড লাইসেন্স নতুন
**(i) Create Application**
```json
Request Body:
POST {{BASE_URL}}/api/v1/tl/
Response:
Status Code: 201
```
**(ii) Get List Data**
```json
Request Body:
POST {{BASE_URL}}/api/v1/tl/
Response:
Status Code: 200
```
**(iii) Get Detail Data**
```json
Request Body:
POST {{BASE_URL}}/api/v1/tl/<id>
Response:
Status Code: 200
```
## 2. ট্রেড লাইসেন্স নবায়ন
**(i) Create Application**
```json
Request Body:
POST {{BASE_URL}}/api/v1/tlr/
Response:
Status Code: 201
```
**(ii) Get List Data**
```json
Request Body:
POST {{BASE_URL}}/api/v1/tlr/
Response:
Status Code: 200
```
**(iii) Get Detail Data**
```json
Request Body:
POST {{BASE_URL}}/api/v1/tlr/<id>
Response:
Status Code: 200
```
## 3. বিজ্ঞাপনের জন্য আবেদন (নিবন্ধনকরণ)
**(i) Create Application**
```json
Request Body:
POST {{BASE_URL}}/api/v1/adv/
Response:
Status Code: 201
```
**(ii) Get List Data**
```json
Request Body:
POST {{BASE_URL}}/api/v1/adv/
Response:
Status Code: 200
```
**(iii) Get Detail Data**
```json
Request Body:
POST {{BASE_URL}}/api/v1/adv/<id>
Response:
Status Code: 200
```
## 4. বিজ্ঞাপনের জন্য আবেদন (নবায়ন)
**(i) Create Application**
```json
Request Body:
POST {{BASE_URL}}/api/v1/advr/
Response:
Status Code: 201
```
**(ii) Get List Data**
```json
Request Body:
POST {{BASE_URL}}/api/v1/advr/
Response:
Status Code: 200
```
**(iii) Get Detail Data**
```json
Request Body:
POST {{BASE_URL}}/api/v1/advr/<id>
Response:
Status Code: 200
```
## 5. বেসরকারী শিক্ষাপ্রতিষ্ঠানের/কোচিং সেন্টারের নিবন্ধনকরণ
- [Organization Type (Education Institution)](https://hackmd.io/@rcc/ByGw5gkmc#15-Organization-Type-Education-Institution)
- [Thana](https://hackmd.io/@rcc/ByGw5gkmc#1-Thana-List)
- [Ward](https://hackmd.io/@rcc/ByGw5gkmc#Rajshahi-Ward-List)
**(i) Create Application**
```json
Request Body:
POST {{BASE_URL}}/api/v1/ngr/
{
"present_holding_no": "131/A", // char
"present_ward_no": "1", // int
"present_thana": "9", // char but pass pk of Thana table
"zilla": "রাজশাহী", // char
"organization_name": "MCC Training Institution", // char
"organization_place": "Dhaka, Bangladesh", // char
"address": "Bonani, Dhaka, Bangladesh", // char
"holding_no": "131/A", // char
"organization_ward_no": "1", // int
"organization_type": "3", // foreign
"is_tax_receipt": "নিজের", // bool - (i)'নিজের', 'নিজের', (ii)'ভাড়ার', 'ভাড়ার'
"is_council": "True", // bool - radio (i)হ্যাঁ (True), (ii)না (False)
"tax_receipt": "/home/jaki/Pictures/cake.png", // file
"council": "/home/jaki/Pictures/cake.png", // file
"trade_licence_number": "345345345", // int
"student_number": "234", // int
"safe_place": "True", // bool - radio (i)হ্যাঁ (True), (ii)না (False)
"car_parking": "True", // bool - radio (i)হ্যাঁ (True), (ii)না (False)
"parents_sit_place": "True", // bool - radio (i)হ্যাঁ (True), (ii)না (False)
"safe_building": "True", // bool - radio (i)হ্যাঁ (True), (ii)না (False)
"primary_treatment": "True", // bool - radio (i)হ্যাঁ (True), (ii)না (False)
"teachers_cv": "True" // bool - radio (i)হ্যাঁ (True), (ii)না (False)
}
Response:
Status Code: 201
{
"id": 10,
"get_status_role": "PAYMENT",
"created_by": "01913065606",
"created_at": "2022-05-09T15:15:45.323473+06:00",
"updated_at": "2022-05-09T15:15:45.331191+06:00",
"applicant_name": "Mr. A",
"registration_no": "JYJK10",
"status": "0",
"status_key": "PAYMENT",
"path": null,
"is_paid": false,
"online_payment_info": {},
"payment_id": null,
"ward_no": 3,
"amount_to_paid": 2400,
"amount_to_paid_comment": null,
"payment_breakdown": null,
"amount_determined": false,
"notes": [],
"organization_name": "MCC Training Institution",
"address": "Bonani, Dhaka, Bangladesh",
"organization_place": "Dhaka, Bangladesh",
"organization_ward_no": 1,
"holding_no": "131/A",
"is_tax_receipt": "নিজের",
"tax_receipt": "http://127.0.0.1:8000/media/ngeir/2022-05-09/cake-2022-05-09-15-15-45.png",
"trade_licence_number": "345345345",
"student_number": 234,
"is_council": true,
"council": "http://127.0.0.1:8000/media/ngeir/2022-05-09/cake-2022-05-09-15-15-45_7Dn1O8O.png",
"safe_place": true,
"parents_sit_place": true,
"car_parking": true,
"primary_treatment": true,
"safe_building": true,
"teachers_cv": true,
"institution_registration_no": null,
"vat": "300.00",
"rcc_income": 2100,
"application_fee": 100,
"present_holding_no": "131/A",
"present_ward_no": 1,
"present_thana": "9",
"zilla": "রাজশাহী",
"updated_by": null,
"organization_type": 3
}
```
**(ii) Get List Data**
```json
Request Body:
POST {{BASE_URL}}/api/v1/ngr/
Response:
Status Code: 200
{
"count": 1,
"next": null,
"previous": null,
"results": [
{
"id": 10,
"get_status_role": "PAYMENT",
"created_by": "01913065606",
"organization_type": "কেজি স্কুল “বি” ক্যাটাগরী - (২০০০.০০ টাকা)",
"present_thana": [
{
"id": 9,
"name": "বোয়ালিয়া মডেল থানা"
}
],
"created_at": "2022-05-09T15:55:31.529346+06:00",
"updated_at": "2022-05-09T15:55:31.536123+06:00",
"applicant_name": "Mr. A",
"registration_no": "JYJK10",
"status": "0",
"status_key": "PAYMENT",
"path": null,
"is_paid": false,
"online_payment_info": {},
"payment_id": null,
"ward_no": 3,
"amount_to_paid": 2400,
"amount_to_paid_comment": null,
"payment_breakdown": null,
"amount_determined": false,
"notes": [],
"organization_name": "MCC Training Institution",
"address": "Bonani, Dhaka, Bangladesh",
"organization_place": "Dhaka, Bangladesh",
"organization_ward_no": 1,
"holding_no": "131/A",
"is_tax_receipt": "নিজের",
"tax_receipt": "http://127.0.0.1:8000/media/ngeir/2022-05-09/cake-2022-05-09-15-55-31.png",
"trade_licence_number": "345345345",
"student_number": 234,
"is_council": true,
"council": "http://127.0.0.1:8000/media/ngeir/2022-05-09/cake-2022-05-09-15-55-31_ev4HbCx.png",
"safe_place": true,
"parents_sit_place": true,
"car_parking": true,
"primary_treatment": true,
"safe_building": true,
"teachers_cv": true,
"institution_registration_no": null,
"vat": "300.00",
"rcc_income": 2100,
"application_fee": 100,
"present_holding_no": "131/A",
"present_ward_no": 1,
"zilla": "রাজশাহী",
"updated_by": null
}
]
}
```
**(iii) Get Detail Data**
```json
Request Body:
POST {{BASE_URL}}/api/v1/ngr/<id>
Response:
Status Code: 200
{
"id": 10,
"get_status_role": "PAYMENT",
"created_by": "01913065606",
"organization_type": "কেজি স্কুল “বি” ক্যাটাগরী - (২০০০.০০ টাকা)",
"present_thana": [
{
"id": 9,
"name": "বোয়ালিয়া মডেল থানা"
}
],
"created_at": "2022-05-09T15:55:31.529346+06:00",
"updated_at": "2022-05-09T15:55:31.536123+06:00",
"applicant_name": "Mr. A",
"registration_no": "JYJK10",
"status": "0",
"status_key": "PAYMENT",
"path": null,
"is_paid": false,
"online_payment_info": {},
"payment_id": null,
"ward_no": 3,
"amount_to_paid": 2400,
"amount_to_paid_comment": null,
"payment_breakdown": null,
"amount_determined": false,
"notes": [],
"organization_name": "MCC Training Institution",
"address": "Bonani, Dhaka, Bangladesh",
"organization_place": "Dhaka, Bangladesh",
"organization_ward_no": 1,
"holding_no": "131/A",
"is_tax_receipt": "নিজের",
"tax_receipt": "http://127.0.0.1:8000/media/ngeir/2022-05-09/cake-2022-05-09-15-55-31.png",
"trade_licence_number": "345345345",
"student_number": 234,
"is_council": true,
"council": "http://127.0.0.1:8000/media/ngeir/2022-05-09/cake-2022-05-09-15-55-31_ev4HbCx.png",
"safe_place": true,
"parents_sit_place": true,
"car_parking": true,
"primary_treatment": true,
"safe_building": true,
"teachers_cv": true,
"institution_registration_no": null,
"vat": "300.00",
"rcc_income": 2100,
"application_fee": 100,
"present_holding_no": "131/A",
"present_ward_no": 1,
"zilla": "রাজশাহী",
"updated_by": null
}
```
## 6. বেসরকারী শিক্ষাপ্রতিষ্ঠানের/কোচিং সেন্টারের নবায়ন
- [Organization Type (Education Institution)](https://hackmd.io/@rcc/ByGw5gkmc#15-Organization-Type-Education-Institution)
- [Thana](https://hackmd.io/@rcc/ByGw5gkmc#1-Thana-List)
- [Ward](https://hackmd.io/@rcc/ByGw5gkmc#Rajshahi-Ward-List)
**(i) Create Application**
```json
Request Body:
POST {{BASE_URL}}/api/v1/ngrr/
{
"present_holding_no": "হোল্ডিং নাম্বার", // char
"present_ward_no": "1", // int
"present_thana": "9", // char but pass pk of Thana table
"zilla": "রাজশাহী", // char
"organization_name": "MCC Training Institution", // char
"organization_place": "Dhaka, Bangladesh", // char
"address": "Bonani, Dhaka, Bangladesh", // char
"holding_no": "131/A", // char
"organization_ward_no": "1", // int
"organization_type": "3", // foreign
"pre_reg_no": "234234234", // char
"pre_reg_date": "02-04-2022", // date
"is_tax_receipt": "নিজের", // bool - (i)'নিজের', 'নিজের', (ii)'ভাড়ার', 'ভাড়ার'
"is_council": "True", // bool - radio (i)হ্যাঁ (True), (ii)না (False)
"tax_receipt": "/home/jaki/Pictures/cake.png", // file
"council": "/home/jaki/Pictures/cake.png", // file
"trade_licence_number": "35345345", // int
"student_number": "234", // int
"safe_place": "True", // bool - radio (i)হ্যাঁ (True), (ii)না (False)
"car_parking": "True", // bool - radio (i)হ্যাঁ (True), (ii)না (False)
"parents_sit_place": "True", // bool - radio (i)হ্যাঁ (True), (ii)না (False)
"safe_building": "True", // bool - radio (i)হ্যাঁ (True), (ii)না (False)
"primary_treatment": "True", // bool - radio (i)হ্যাঁ (True), (ii)না (False)
"teachers_cv": "True" // bool - radio (i)হ্যাঁ (True), (ii)না (False)
}
Response:
Status Code: 201
{
"id": 13,
"get_status_role": "PAYMENT",
"created_by": "01913065606",
"created_at": "2022-05-11T15:38:36.082795+06:00",
"updated_at": "2022-05-11T15:38:36.089737+06:00",
"applicant_name": "Mr. A",
"registration_no": "3GIX13",
"status": "0",
"status_key": "PAYMENT",
"path": null,
"is_paid": false,
"online_payment_info": {},
"payment_id": null,
"ward_no": 3,
"amount_to_paid": 2400,
"amount_to_paid_comment": null,
"payment_breakdown": null,
"amount_determined": false,
"notes": [],
"organization_name": "MCC Training Institution",
"address": "Bonani, Dhaka, Bangladesh",
"organization_place": "Dhaka, Bangladesh",
"organization_ward_no": 1,
"holding_no": "131/A",
"is_tax_receipt": "নিজের",
"tax_receipt": "http://127.0.0.1:8000/media/ngeirr/2022-05-11/cake-2022-05-11-15-38-36.png",
"pre_reg_no": "234234234",
"pre_reg_date": "02-04-2022",
"trade_licence_number": "35345345",
"student_number": 234,
"is_council": true,
"council": "http://127.0.0.1:8000/media/ngeirr/2022-05-11/cake-2022-05-11-15-38-36_OUVNZRm.png",
"safe_place": true,
"parents_sit_place": true,
"car_parking": true,
"primary_treatment": true,
"safe_building": true,
"teachers_cv": true,
"vat": "300.00",
"rcc_income": 2100,
"application_fee": 100,
"present_holding_no": "হোল্ডিং নাম্বার",
"present_ward_no": 1,
"present_thana": "9",
"zilla": "রাজশাহী",
"updated_by": null,
"organization_type": 3
}
```
**(ii) Get List Data**
```json
Request Body:
POST {{BASE_URL}}/api/v1/ngrr/
Response:
Status Code: 200
{
"count": 1,
"next": null,
"previous": null,
"results": [
{
"id": 13,
"get_status_role": "PAYMENT",
"created_by": "01913065606",
"organization_type": "কেজি স্কুল “বি” ক্যাটাগরী - (২০০০.০০ টাকা)",
"present_thana": [
{
"id": 9,
"name": "বোয়ালিয়া মডেল থানা"
}
],
"created_at": "2022-05-11T15:38:36.082795+06:00",
"updated_at": "2022-05-11T15:38:36.089737+06:00",
"applicant_name": "Mr. A",
"registration_no": "3GIX13",
"status": "0",
"status_key": "PAYMENT",
"path": null,
"is_paid": false,
"online_payment_info": {},
"payment_id": null,
"ward_no": 3,
"amount_to_paid": 2400,
"amount_to_paid_comment": null,
"payment_breakdown": null,
"amount_determined": false,
"notes": [],
"organization_name": "MCC Training Institution",
"address": "Bonani, Dhaka, Bangladesh",
"organization_place": "Dhaka, Bangladesh",
"organization_ward_no": 1,
"holding_no": "131/A",
"is_tax_receipt": "নিজের",
"tax_receipt": "http://127.0.0.1:8000/media/ngeirr/2022-05-11/cake-2022-05-11-15-38-36.png",
"pre_reg_no": "234234234",
"pre_reg_date": "02-04-2022",
"trade_licence_number": "35345345",
"student_number": 234,
"is_council": true,
"council": "http://127.0.0.1:8000/media/ngeirr/2022-05-11/cake-2022-05-11-15-38-36_OUVNZRm.png",
"safe_place": true,
"parents_sit_place": true,
"car_parking": true,
"primary_treatment": true,
"safe_building": true,
"teachers_cv": true,
"vat": "300.00",
"rcc_income": 2100,
"application_fee": 100,
"present_holding_no": "হোল্ডিং নাম্বার",
"present_ward_no": 1,
"zilla": "রাজশাহী",
"updated_by": null
}
]
}
```
**(iii) Get Detail Data**
```json
Request Body:
POST {{BASE_URL}}/api/v1/ngrr/<id>
Response:
Status Code: 200
{
"id": 13,
"get_status_role": "PAYMENT",
"created_by": "01913065606",
"organization_type": "কেজি স্কুল “বি” ক্যাটাগরী - (২০০০.০০ টাকা)",
"present_thana": [
{
"id": 9,
"name": "বোয়ালিয়া মডেল থানা"
}
],
"created_at": "2022-05-11T15:38:36.082795+06:00",
"updated_at": "2022-05-11T15:38:36.089737+06:00",
"applicant_name": "Mr. A",
"registration_no": "3GIX13",
"status": "0",
"status_key": "PAYMENT",
"path": null,
"is_paid": false,
"online_payment_info": {},
"payment_id": null,
"ward_no": 3,
"amount_to_paid": 2400,
"amount_to_paid_comment": null,
"payment_breakdown": null,
"amount_determined": false,
"notes": [],
"organization_name": "MCC Training Institution",
"address": "Bonani, Dhaka, Bangladesh",
"organization_place": "Dhaka, Bangladesh",
"organization_ward_no": 1,
"holding_no": "131/A",
"is_tax_receipt": "নিজের",
"tax_receipt": "http://127.0.0.1:8000/media/ngeirr/2022-05-11/cake-2022-05-11-15-38-36.png",
"pre_reg_no": "234234234",
"pre_reg_date": "02-04-2022",
"trade_licence_number": "35345345",
"student_number": 234,
"is_council": true,
"council": "http://127.0.0.1:8000/media/ngeirr/2022-05-11/cake-2022-05-11-15-38-36_OUVNZRm.png",
"safe_place": true,
"parents_sit_place": true,
"car_parking": true,
"primary_treatment": true,
"safe_building": true,
"teachers_cv": true,
"vat": "300.00",
"rcc_income": 2100,
"application_fee": 100,
"present_holding_no": "হোল্ডিং নাম্বার",
"present_ward_no": 1,
"zilla": "রাজশাহী",
"updated_by": null
}
```
## 7. দোকান সাবলেটের জন্য আবেদন
- [মার্কেটের লিস্ট]()
- [দোকান ঘর নাম্বার লিস্ট]()
**(i) Create Application**
```json
Request Body:
POST {{BASE_URL}}/api/v1/spsub/
{
"market_name": "নিউমার্কেট", // char
"market_floor": "1", // char
"market_shop_name": "0001", // char
"shop_number": "0001", // char
"shop_owner_name": "আব্দুল্লাহ আল মুয়িন জাকি", // char
"address": "ঠিকানা (বিস্তারিত লিখুন)", // int
"inconvenience": "অসুবিধার কারণ", // char
"applicant_name_form": "আব্দুল্লাহ আল মুয়িন জাকি", // char
"applicant_phone_number": "01722556789" // char
}
Response:
Status Code: 201
{
"id": 13,
"get_status_role": "PAYMENT",
"created_by": "01913065606",
"created_at": "2022-05-16T23:42:51.534070+06:00",
"updated_at": "2022-05-16T23:42:51.551270+06:00",
"applicant_name": "Mr. A",
"registration_no": "HVKD13",
"status": "0",
"status_key": "PAYMENT",
"path": null,
"is_paid": false,
"online_payment_info": {},
"payment_id": null,
"ward_no": 3,
"amount_to_paid": 200,
"amount_to_paid_comment": null,
"payment_breakdown": null,
"amount_determined": true,
"notes": [],
"applicant_name_form": "আব্দুল্লাহ আল মুয়িন জাকি",
"applicant_phone_number": "01722556789",
"shop_number": "0001",
"market_name": "নিউমার্কেট",
"market_shop_name": "0001",
"market_floor": "1",
"shop_owner_name": "আব্দুল্লাহ আল মুয়িন জাকি",
"address": "ঠিকানা (বিস্তারিত লিখুন)",
"inconvenience": "অসুবিধার কারণ",
"updated_by": null
}
```
**(ii) Get List Data**
```json
Request Body:
POST {{BASE_URL}}/api/v1/spsub/
Response:
Status Code: 200
{
"count": 1,
"next": null,
"previous": null,
"results": [
{
"id": 13,
"get_status_role": "PAYMENT",
"created_by": "01913065606",
"created_at": "2022-05-16T23:42:51.534070+06:00",
"updated_at": "2022-05-16T23:42:51.551270+06:00",
"applicant_name": "Mr. A",
"registration_no": "HVKD13",
"status": "0",
"status_key": "PAYMENT",
"path": null,
"is_paid": false,
"online_payment_info": {},
"payment_id": null,
"ward_no": 3,
"amount_to_paid": 200,
"amount_to_paid_comment": null,
"payment_breakdown": null,
"amount_determined": true,
"notes": [],
"applicant_name_form": "আব্দুল্লাহ আল মুয়িন জাকি",
"applicant_phone_number": "01722556789",
"shop_number": "0001",
"market_name": "নিউমার্কেট",
"market_shop_name": "0001",
"market_floor": "1",
"shop_owner_name": "আব্দুল্লাহ আল মুয়িন জাকি",
"address": "ঠিকানা (বিস্তারিত লিখুন)",
"inconvenience": "অসুবিধার কারণ",
"updated_by": null
}
]
}
```
**(iii) Get Detail Data**
```json
Request Body:
POST {{BASE_URL}}/api/v1/spsub/<id>
Response:
Status Code: 200
{
"id": 13,
"get_status_role": "PAYMENT",
"created_by": "01913065606",
"created_at": "2022-05-16T23:42:51.534070+06:00",
"updated_at": "2022-05-16T23:42:51.551270+06:00",
"applicant_name": "Mr. A",
"registration_no": "HVKD13",
"status": "0",
"status_key": "PAYMENT",
"path": null,
"is_paid": false,
"online_payment_info": {},
"payment_id": null,
"ward_no": 3,
"amount_to_paid": 200,
"amount_to_paid_comment": null,
"payment_breakdown": null,
"amount_determined": true,
"notes": [],
"applicant_name_form": "আব্দুল্লাহ আল মুয়িন জাকি",
"applicant_phone_number": "01722556789",
"shop_number": "0001",
"market_name": "নিউমার্কেট",
"market_shop_name": "0001",
"market_floor": "1",
"shop_owner_name": "আব্দুল্লাহ আল মুয়িন জাকি",
"address": "ঠিকানা (বিস্তারিত লিখুন)",
"inconvenience": "অসুবিধার কারণ",
"updated_by": null
}
```