first commit-CRM_module

This commit is contained in:
2025-01-29 13:27:23 +05:30
commit c8b26fa46b
52 changed files with 10407 additions and 0 deletions

View File

@@ -0,0 +1,160 @@
{
"info": {
"_postman_id": "c0971b0e-8469-4ffd-a95e-090b1ba552da",
"name": "CRM",
"schema": "https://schema.getpostman.com/json/collection/v2.0.0/collection.json",
"_exporter_id": "39926215"
},
"item": [
{
"name": "Login",
"request": {
"method": "POST",
"header": [],
"body": {
"mode": "raw",
"raw": "{\r\n \"AccNo\" :\"30022497138\"\r\n}",
"options": {
"raw": {
"language": "json"
}
}
},
"url": "http://localhost:3000/api/auth/login/account_no"
},
"response": []
},
{
"name": "get account details",
"request": {
"auth": {
"type": "inherit",
"inherit": {}
},
"method": "GET",
"header": [],
"url": "http://localhost:3000/api/user"
},
"response": []
},
{
"name": "Validate OTP",
"request": {
"method": "POST",
"header": [],
"body": {
"mode": "raw",
"raw": "{\"OTP\": 77208}",
"options": {
"raw": {
"language": "text"
}
}
},
"url": "http://localhost:3000/api/otp"
},
"response": []
},
{
"name": "logout",
"request": {
"auth": {
"type": "inherit",
"inherit": {}
},
"method": "POST",
"header": [],
"url": "http://localhost:3000/api/auth/logout"
},
"response": []
},
{
"name": "generate OTP",
"protocolProfileBehavior": {
"disableBodyPruning": true
},
"request": {
"method": "GET",
"header": [],
"body": {
"mode": "raw",
"raw": "",
"options": {
"raw": {
"language": "json"
}
}
},
"url": "http://localhost:3000/api/otp"
},
"response": []
},
{
"name": "Fetch Mobile Number",
"request": {
"auth": {
"type": "inherit",
"inherit": {}
},
"method": "GET",
"header": [],
"url": "http://localhost:3000/api/mobile_no/by/30022497139"
},
"response": []
},
{
"name": "Get User",
"request": {
"method": "GET",
"header": [],
"url": "http://localhost:3000/api/user"
},
"response": []
},
{
"name": "Create Ticket",
"request": {
"method": "POST",
"header": [],
"body": {
"mode": "raw",
"raw": "{\r\n \"summary\":\" Login issue Related\", \r\n \"description\":\"Login related\", \r\n \r\n\t\"steps_to_reproduce\" :\"Money got debited from account\",\r\n\t\"category\": {\r\n \"name\": \"General\"\r\n\t},\r\n\t\"project\": {\r\n \"id\": 1\r\n }\r\n}",
"options": {
"raw": {
"language": "json"
}
}
},
"url": "http://localhost:3000/api/ticket"
},
"response": []
},
{
"name": "Add column",
"request": {
"method": "GET",
"header": [],
"url": "http://localhost:3000/api/addColumn"
},
"response": []
},
{
"name": "Dev populate",
"request": {
"method": "GET",
"header": [],
"url": "http://localhost:3000/api/dev/populate"
},
"response": []
},
{
"name": "View Ticket",
"request": {
"method": "GET",
"header": [],
"url": "http://localhost:3000/api/ticket"
},
"response": []
}
]
}

View File

@@ -0,0 +1,172 @@
{
"info": {
"_postman_id": "62121509-c7ee-4d92-9684-337a1d96a6ac",
"name": "MantisBT",
"schema": "https://schema.getpostman.com/json/collection/v2.0.0/collection.json",
"_exporter_id": "39926215"
},
"item": [
{
"name": "Create Token",
"request": {
"method": "POST",
"header": [
{
"key": "Authorization",
"value": "beHEFeDe-eE0YdTIK098naY0-iirvISx",
"type": "text",
"disabled": true
},
{
"key": "Authorization",
"value": "YdTsu-wuBfc4ekVDZpfk0K4dvjmoH6Z-",
"type": "text",
"disabled": true
},
{
"key": "Authorization",
"value": "DBSC0FHDatcHiScox5vm2GPuNnNrezqM",
"type": "text"
}
],
"url": {
"raw": "http://localhost/mantisBT/api/rest/users/:user_id/token",
"protocol": "http",
"host": [
"localhost"
],
"path": [
"mantisBT",
"api",
"rest",
"users",
":user_id",
"token"
],
"variable": [
{
"key": "user_id",
"value": "5",
"type": "string"
}
]
}
},
"response": []
},
{
"name": "Create issue",
"request": {
"method": "POST",
"header": [
{
"key": "Authorization",
"value": "beHEFeDe-eE0YdTIK098naY0-iirvISx",
"type": "text",
"disabled": true
},
{
"key": "Authorization",
"value": "YdTsu-wuBfc4ekVDZpfk0K4dvjmoH6Z-",
"type": "text",
"disabled": true
},
{
"key": "Authorization",
"value": "GefLBxeHyHDL9DXkGqX4qQ7Cayquqdaj",
"type": "text"
}
],
"body": {
"mode": "raw",
"raw": "{\r\n \"summary\": \"ATM Fault\",\r\n \"description\": \"ATM Fault\",\r\n \"additional_information\": \"{ATM ID : 678UCBA00988, debit_card : 600226543567}\",\r\n \"steps_to_reproduce\" :\"Money got debited from account\",\r\n \"project\": {\r\n \"id\": 1\r\n }\r\n}\r\n",
"options": {
"raw": {
"language": "json"
}
}
},
"url": "http://localhost/mantisBT/api/rest/issues/"
},
"response": []
},
{
"name": "get a issue by issue id",
"request": {
"method": "GET",
"header": [
{
"key": "Authorization",
"value": "GefLBxeHyHDL9DXkGqX4qQ7Cayquqdaj",
"type": "text"
}
],
"url": {
"raw": "http://localhost/mantisBT/api/rest/issues/:issue_id",
"protocol": "http",
"host": [
"localhost"
],
"path": [
"mantisBT",
"api",
"rest",
"issues",
":issue_id"
],
"variable": [
{
"key": "issue_id",
"value": "43"
}
]
}
},
"response": []
},
{
"name": "post note",
"request": {
"method": "POST",
"header": [
{
"key": "Authorization",
"value": "DBSC0FHDatcHiScox5vm2GPuNnNrezqM",
"type": "text"
}
],
"body": {
"mode": "raw",
"raw": "{\r\n \"text\": \"test note\",\r\n \"view_state\": {\r\n \t\"name\": \"public\"\r\n }\r\n}",
"options": {
"raw": {
"language": "json"
}
}
},
"url": {
"raw": "http://localhost/mantisBT/api/rest/issues/:issue_id/notes",
"protocol": "http",
"host": [
"localhost"
],
"path": [
"mantisBT",
"api",
"rest",
"issues",
":issue_id",
"notes"
],
"variable": [
{
"key": "issue_id",
"value": "43"
}
]
}
},
"response": []
}
]
}