160 lines
3.1 KiB
JSON
160 lines
3.1 KiB
JSON
{
|
|
"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": []
|
|
}
|
|
]
|
|
} |