12201 lines
543 KiB
JSON
12201 lines
543 KiB
JSON
{
|
||
"info": {
|
||
"_postman_id": "05dda6ff-1c7b-4f89-b177-5694adc62e2e",
|
||
"name": "EXTRANETWORK.API v1.1.0",
|
||
"schema": "https://schema.getpostman.com/json/collection/v2.1.0/collection.json"
|
||
},
|
||
"item": [
|
||
{
|
||
"name": "PROPERTY",
|
||
"item": [
|
||
{
|
||
"name": "Get Dashboard",
|
||
"request": {
|
||
"method": "POST",
|
||
"header": [
|
||
{
|
||
"key": "authToken",
|
||
"type": "text",
|
||
"value": "{{user_token}}"
|
||
},
|
||
{
|
||
"key": "Content-Type",
|
||
"name": "Content-Type",
|
||
"type": "text",
|
||
"value": "application/json"
|
||
},
|
||
{
|
||
"key": "language",
|
||
"type": "text",
|
||
"value": "{{language}}"
|
||
}
|
||
],
|
||
"body": {
|
||
"mode": "raw",
|
||
"raw": "{\n \"params\": {\n \"property_id\": 1\n \n }\n}",
|
||
"options": {
|
||
"raw": {
|
||
"language": "json"
|
||
}
|
||
}
|
||
},
|
||
"url": {
|
||
"raw": "{{base_url}}/app/v1/property/dashboard",
|
||
"host": [
|
||
"{{base_url}}"
|
||
],
|
||
"path": [
|
||
"app",
|
||
"v1",
|
||
"property",
|
||
"dashboard"
|
||
]
|
||
}
|
||
},
|
||
"response": []
|
||
},
|
||
{
|
||
"name": "Get Property",
|
||
"request": {
|
||
"method": "POST",
|
||
"header": [
|
||
{
|
||
"key": "authToken",
|
||
"value": "{{user_token}}",
|
||
"type": "text"
|
||
},
|
||
{
|
||
"key": "Content-Type",
|
||
"name": "Content-Type",
|
||
"value": "application/json",
|
||
"type": "text"
|
||
},
|
||
{
|
||
"key": "language",
|
||
"value": "{{language}}",
|
||
"type": "text"
|
||
}
|
||
],
|
||
"body": {
|
||
"mode": "raw",
|
||
"raw": "{\n \"params\": {\n \"property_id\": 1\n }\n}",
|
||
"options": {
|
||
"raw": {
|
||
"language": "json"
|
||
}
|
||
}
|
||
},
|
||
"url": {
|
||
"raw": "{{base_url}}/app/v1/property/info/get",
|
||
"host": [
|
||
"{{base_url}}"
|
||
],
|
||
"path": [
|
||
"app",
|
||
"v1",
|
||
"property",
|
||
"info",
|
||
"get"
|
||
]
|
||
}
|
||
},
|
||
"response": []
|
||
},
|
||
{
|
||
"name": "Update Property",
|
||
"request": {
|
||
"method": "POST",
|
||
"header": [
|
||
{
|
||
"key": "authToken",
|
||
"type": "text",
|
||
"value": "{{user_token}}"
|
||
},
|
||
{
|
||
"key": "Content-Type",
|
||
"name": "Content-Type",
|
||
"type": "text",
|
||
"value": "application/json"
|
||
},
|
||
{
|
||
"key": "language",
|
||
"type": "text",
|
||
"value": "{{language}}"
|
||
}
|
||
],
|
||
"body": {
|
||
"mode": "raw",
|
||
"raw": "{\n \"params\": {\n \"property_id\": \"1\",\n \"property_info\": {\n \"name\": \"Grand Yavuz Hotel\",\n \"property_type_id\": 1,\n \"chain_id\": 1,\n \"country\": \"TM\"\n },\n \"property_language_spoken\" : [\"tr\",\"en\",\"de\",\"ar\"],\n \"has_locale_name\": false,\n \"additional_info\": {\n \"year_construction\": \"1902\",\n \"year_renovation\": \"2019\",\n \"number_of_rooms\": \"\",\n \"checkin_time\": \"00:15\",\n \"checkout_time\": \"05:30\",\n \"pet_allowed\": \"1\",\n \"minimum_age_policy\": \"2\",\n \"min_check_in_age_with_elder_person\": \"16+\",\n \"min_self_check_in_age\": \"16+\",\n \"property_timezone\": \"1\",\n \"disability_friendly\": \"1\"\n },\n \"property_rate_for\": \"Content.General.Information\"\n }\n}",
|
||
"options": {
|
||
"raw": {
|
||
"language": "json"
|
||
}
|
||
}
|
||
},
|
||
"url": {
|
||
"raw": "{{base_url}}/app/v1/property/info/update",
|
||
"host": [
|
||
"{{base_url}}"
|
||
],
|
||
"path": [
|
||
"app",
|
||
"v1",
|
||
"property",
|
||
"info",
|
||
"update"
|
||
]
|
||
}
|
||
},
|
||
"response": []
|
||
},
|
||
{
|
||
"name": "List Property",
|
||
"request": {
|
||
"method": "POST",
|
||
"header": [
|
||
{
|
||
"key": "authToken",
|
||
"value": "{{user_token}}",
|
||
"type": "text"
|
||
},
|
||
{
|
||
"key": "Content-Type",
|
||
"name": "Content-Type",
|
||
"value": "application/json",
|
||
"type": "text"
|
||
},
|
||
{
|
||
"key": "language",
|
||
"value": "tr",
|
||
"type": "text"
|
||
}
|
||
],
|
||
"body": {
|
||
"mode": "raw",
|
||
"raw": "{\n \"params\": {\n }\n}",
|
||
"options": {
|
||
"raw": {
|
||
"language": "json"
|
||
}
|
||
}
|
||
},
|
||
"url": {
|
||
"raw": "{{base_url}}/app/v1/property/info/list",
|
||
"host": [
|
||
"{{base_url}}"
|
||
],
|
||
"path": [
|
||
"app",
|
||
"v1",
|
||
"property",
|
||
"info",
|
||
"list"
|
||
]
|
||
}
|
||
},
|
||
"response": []
|
||
},
|
||
{
|
||
"name": "Get PAB Dashboard",
|
||
"request": {
|
||
"method": "POST",
|
||
"header": [
|
||
{
|
||
"key": "authToken",
|
||
"type": "text",
|
||
"value": "{{user_token}}"
|
||
},
|
||
{
|
||
"key": "Content-Type",
|
||
"name": "Content-Type",
|
||
"type": "text",
|
||
"value": "application/json"
|
||
},
|
||
{
|
||
"key": "language",
|
||
"type": "text",
|
||
"value": "{{language}},"
|
||
}
|
||
],
|
||
"body": {
|
||
"mode": "raw",
|
||
"raw": "{\n \"params\": {\n \"property_id\": 1\n }\n}",
|
||
"options": {
|
||
"raw": {
|
||
"language": "json"
|
||
}
|
||
}
|
||
},
|
||
"url": {
|
||
"raw": "{{base_url}}/app/v1/property/pab-dashboard",
|
||
"host": [
|
||
"{{base_url}}"
|
||
],
|
||
"path": [
|
||
"app",
|
||
"v1",
|
||
"property",
|
||
"pab-dashboard"
|
||
]
|
||
}
|
||
},
|
||
"response": []
|
||
},
|
||
{
|
||
"name": "Create Property",
|
||
"request": {
|
||
"method": "POST",
|
||
"header": [
|
||
{
|
||
"key": "authToken",
|
||
"type": "text",
|
||
"value": "{{user_token}}"
|
||
},
|
||
{
|
||
"key": "Content-Type",
|
||
"name": "Content-Type",
|
||
"type": "text",
|
||
"value": "application/json"
|
||
},
|
||
{
|
||
"key": "language",
|
||
"type": "text",
|
||
"value": "{{language}}"
|
||
}
|
||
],
|
||
"body": {
|
||
"mode": "raw",
|
||
"raw": "{\n \"params\": {}\n }",
|
||
"options": {
|
||
"raw": {
|
||
"language": "json"
|
||
}
|
||
}
|
||
},
|
||
"url": {
|
||
"raw": "{{base_url}}/app/v1/property/create",
|
||
"host": [
|
||
"{{base_url}}"
|
||
],
|
||
"path": [
|
||
"app",
|
||
"v1",
|
||
"property",
|
||
"create"
|
||
]
|
||
}
|
||
},
|
||
"response": []
|
||
}
|
||
]
|
||
},
|
||
{
|
||
"name": "PROPERTY BRAND",
|
||
"item": [
|
||
{
|
||
"name": "Update Brand",
|
||
"request": {
|
||
"method": "POST",
|
||
"header": [
|
||
{
|
||
"key": "authToken",
|
||
"value": "{{user_token}}",
|
||
"type": "text"
|
||
},
|
||
{
|
||
"key": "Content-Type",
|
||
"value": "application/json",
|
||
"type": "text"
|
||
},
|
||
{
|
||
"key": "language",
|
||
"value": "{{language}}",
|
||
"type": "text"
|
||
},
|
||
{
|
||
"key": "multilingual",
|
||
"value": "true",
|
||
"type": "text"
|
||
}
|
||
],
|
||
"body": {
|
||
"mode": "formdata",
|
||
"formdata": [
|
||
{
|
||
"key": "property_id",
|
||
"value": "76",
|
||
"type": "text"
|
||
},
|
||
{
|
||
"key": "title",
|
||
"value": "[{\"language_code\":\"en\",\"description\":\"very nice\"},{\"language_code\":\"de\",\"description\":\"Sehr schön\"},{\"language_code\":\"es\",\"description\":\"Muy bonita\"},{\"language_code\":\"tr\",\"description\":\"Çok Güzel\"}]",
|
||
"type": "text"
|
||
},
|
||
{
|
||
"key": "colors",
|
||
"value": "[{\"color_number\":1,\"color_code\":\"#e20e0e\"},{\"color_number\":2,\"color_code\":\"#0966df\"}]",
|
||
"type": "text"
|
||
}
|
||
]
|
||
},
|
||
"url": {
|
||
"raw": "{{base_url}}/app/v1/property/brand/update",
|
||
"host": [
|
||
"{{base_url}}"
|
||
],
|
||
"path": [
|
||
"app",
|
||
"v1",
|
||
"property",
|
||
"brand",
|
||
"update"
|
||
]
|
||
}
|
||
},
|
||
"response": []
|
||
},
|
||
{
|
||
"name": "Get Brand",
|
||
"request": {
|
||
"method": "POST",
|
||
"header": [
|
||
{
|
||
"key": "authToken",
|
||
"type": "text",
|
||
"value": "{{user_token}}"
|
||
},
|
||
{
|
||
"key": "Content-Type",
|
||
"type": "text",
|
||
"value": "application/json"
|
||
},
|
||
{
|
||
"key": "language",
|
||
"type": "text",
|
||
"value": "{{language}}"
|
||
},
|
||
{
|
||
"key": "multilingual",
|
||
"type": "text",
|
||
"value": "true"
|
||
}
|
||
],
|
||
"body": {
|
||
"mode": "raw",
|
||
"raw": "{\n \"params\": {\n \"property_id\": 76\n }\n}"
|
||
},
|
||
"url": {
|
||
"raw": "{{base_url}}/app/v1/property/brand/get",
|
||
"host": [
|
||
"{{base_url}}"
|
||
],
|
||
"path": [
|
||
"app",
|
||
"v1",
|
||
"property",
|
||
"brand",
|
||
"get"
|
||
]
|
||
}
|
||
},
|
||
"response": []
|
||
}
|
||
],
|
||
"event": [
|
||
{
|
||
"listen": "prerequest",
|
||
"script": {
|
||
"type": "text/javascript",
|
||
"exec": [
|
||
""
|
||
]
|
||
}
|
||
},
|
||
{
|
||
"listen": "test",
|
||
"script": {
|
||
"type": "text/javascript",
|
||
"exec": [
|
||
""
|
||
]
|
||
}
|
||
}
|
||
]
|
||
},
|
||
{
|
||
"name": "PROPERTY MAPPING",
|
||
"item": [
|
||
{
|
||
"name": "Add Property User Mapping",
|
||
"request": {
|
||
"method": "POST",
|
||
"header": [
|
||
{
|
||
"key": "Content-Type",
|
||
"name": "Content-Type",
|
||
"value": "application/json",
|
||
"type": "text"
|
||
},
|
||
{
|
||
"key": "language",
|
||
"value": "{{language}}",
|
||
"type": "text"
|
||
},
|
||
{
|
||
"key": "authToken",
|
||
"value": "{{user_token}}",
|
||
"type": "text"
|
||
}
|
||
],
|
||
"body": {
|
||
"mode": "raw",
|
||
"raw": "{\n \"params\": {\n \t\"add_user_id\" : 27,\n \"add_property_id\": [\n 1,\n 2\n ]\n }\n}",
|
||
"options": {
|
||
"raw": {
|
||
"language": "json"
|
||
}
|
||
}
|
||
},
|
||
"url": {
|
||
"raw": "{{base_url}}/app/v1/user/add-user-property",
|
||
"host": [
|
||
"{{base_url}}"
|
||
],
|
||
"path": [
|
||
"app",
|
||
"v1",
|
||
"user",
|
||
"add-user-property"
|
||
]
|
||
}
|
||
},
|
||
"response": []
|
||
},
|
||
{
|
||
"name": "Remove Property User Mapping",
|
||
"request": {
|
||
"method": "POST",
|
||
"header": [
|
||
{
|
||
"key": "Content-Type",
|
||
"name": "Content-Type",
|
||
"value": "application/json",
|
||
"type": "text"
|
||
},
|
||
{
|
||
"key": "language",
|
||
"value": "{{language}}",
|
||
"type": "text"
|
||
},
|
||
{
|
||
"key": "authToken",
|
||
"value": "{{user_token}}",
|
||
"type": "text"
|
||
}
|
||
],
|
||
"body": {
|
||
"mode": "raw",
|
||
"raw": "{\n \"params\": {\n \t\"remove_user_id\" : 27,\n \"remove_property_id\": [\n 1,\n 2\n ]\n }\n}",
|
||
"options": {
|
||
"raw": {
|
||
"language": "json"
|
||
}
|
||
}
|
||
},
|
||
"url": {
|
||
"raw": "{{base_url}}/app/v1/user/remove-user-property",
|
||
"host": [
|
||
"{{base_url}}"
|
||
],
|
||
"path": [
|
||
"app",
|
||
"v1",
|
||
"user",
|
||
"remove-user-property"
|
||
]
|
||
}
|
||
},
|
||
"response": []
|
||
}
|
||
]
|
||
},
|
||
{
|
||
"name": "CONTENT",
|
||
"item": [
|
||
{
|
||
"name": "Get Content",
|
||
"request": {
|
||
"method": "POST",
|
||
"header": [
|
||
{
|
||
"key": "authToken",
|
||
"value": "{{user_token}}",
|
||
"type": "text"
|
||
},
|
||
{
|
||
"key": "Content-Type",
|
||
"name": "Content-Type",
|
||
"value": "application/json",
|
||
"type": "text"
|
||
},
|
||
{
|
||
"key": "language",
|
||
"value": "{{language}}",
|
||
"type": "text"
|
||
}
|
||
],
|
||
"body": {
|
||
"mode": "raw",
|
||
"raw": "{\n \"params\": {\n \"property_id\": 1,\n \"category_id\": 1\n }\n}",
|
||
"options": {
|
||
"raw": {
|
||
"language": "json"
|
||
}
|
||
}
|
||
},
|
||
"url": {
|
||
"raw": "{{base_url}}/app/v1/property/content/list",
|
||
"host": [
|
||
"{{base_url}}"
|
||
],
|
||
"path": [
|
||
"app",
|
||
"v1",
|
||
"property",
|
||
"content",
|
||
"list"
|
||
]
|
||
}
|
||
},
|
||
"response": []
|
||
},
|
||
{
|
||
"name": "Update Content",
|
||
"request": {
|
||
"method": "POST",
|
||
"header": [
|
||
{
|
||
"key": "authToken",
|
||
"value": "{{user_token}}",
|
||
"type": "text"
|
||
},
|
||
{
|
||
"key": "Content-Type",
|
||
"name": "Content-Type",
|
||
"value": "application/json",
|
||
"type": "text"
|
||
},
|
||
{
|
||
"key": "language",
|
||
"value": "{{language}}",
|
||
"type": "text"
|
||
}
|
||
],
|
||
"body": {
|
||
"mode": "raw",
|
||
"raw": "{\n \"params\": {\n \"property_id\": 1,\n \"contents\": {\n \"1\": {\n \"value\": \"config test2\",\n \"category_id\": 1\n }\n }\n }\n}",
|
||
"options": {
|
||
"raw": {
|
||
"language": "json"
|
||
}
|
||
}
|
||
},
|
||
"url": {
|
||
"raw": "{{base_url}}/app/v1/property/content/update",
|
||
"host": [
|
||
"{{base_url}}"
|
||
],
|
||
"path": [
|
||
"app",
|
||
"v1",
|
||
"property",
|
||
"content",
|
||
"update"
|
||
]
|
||
}
|
||
},
|
||
"response": []
|
||
}
|
||
]
|
||
},
|
||
{
|
||
"name": "CONTACT",
|
||
"item": [
|
||
{
|
||
"name": "Update Contact",
|
||
"request": {
|
||
"method": "POST",
|
||
"header": [
|
||
{
|
||
"key": "authToken",
|
||
"type": "text",
|
||
"value": "{{user_token}}"
|
||
},
|
||
{
|
||
"key": "Content-Type",
|
||
"name": "Content-Type",
|
||
"value": "application/json",
|
||
"type": "text"
|
||
},
|
||
{
|
||
"key": "language",
|
||
"type": "text",
|
||
"value": "{{language}}"
|
||
}
|
||
],
|
||
"body": {
|
||
"mode": "raw",
|
||
"raw": "{\n \"params\": {\n \"property_id\": \"1\",\n \"contact\": {\n \"phone\": \"+906878678678\",\n \"mobile\": \"906456456456\",\n \"mobile2\": \"905345435435\",\n \"fax\": \" 993 564 652 12\",\n \"email\": \"info@rezervasyon.com\",\n \"web\": \"wwww.rezervasyon.com\",\n \"social_media_addresses\": {\n \"facebook\": \"burhancetin\",\n \"twitter\": \"klhgjhj\",\n \"instagram\": \"burhancetin\"\n }\n },\n \"property_info\": {\n \"official_name\": \"Grand Yavuz Otel A.Ş.M\",\n \"tax_office\": \"Çağaloğlu-3\",\n \"tax_number\": \"8989898999\"\n }\n }\n}",
|
||
"options": {
|
||
"raw": {
|
||
"language": "json"
|
||
}
|
||
}
|
||
},
|
||
"url": {
|
||
"raw": "{{base_url}}/app/v1/property/contact/update",
|
||
"host": [
|
||
"{{base_url}}"
|
||
],
|
||
"path": [
|
||
"app",
|
||
"v1",
|
||
"property",
|
||
"contact",
|
||
"update"
|
||
]
|
||
}
|
||
},
|
||
"response": []
|
||
},
|
||
{
|
||
"name": "Contact list",
|
||
"request": {
|
||
"method": "POST",
|
||
"header": [
|
||
{
|
||
"key": "authToken",
|
||
"value": "{{user_token}}",
|
||
"type": "text"
|
||
},
|
||
{
|
||
"key": "Content-Type",
|
||
"name": "Content-Type",
|
||
"value": "application/json",
|
||
"type": "text"
|
||
},
|
||
{
|
||
"key": "language",
|
||
"value": "{{language}}",
|
||
"type": "text"
|
||
}
|
||
],
|
||
"body": {
|
||
"mode": "raw",
|
||
"raw": "{\n \"params\": {\n \t\"property_id\" : 1\n }\n}"
|
||
},
|
||
"url": {
|
||
"raw": "{{base_url}}/app/v1/property/contact/list",
|
||
"host": [
|
||
"{{base_url}}"
|
||
],
|
||
"path": [
|
||
"app",
|
||
"v1",
|
||
"property",
|
||
"contact",
|
||
"list"
|
||
]
|
||
}
|
||
},
|
||
"response": []
|
||
}
|
||
]
|
||
},
|
||
{
|
||
"name": "EXECUTIVE",
|
||
"item": [
|
||
{
|
||
"name": "Add Property Executive",
|
||
"request": {
|
||
"method": "POST",
|
||
"header": [
|
||
{
|
||
"key": "authToken",
|
||
"value": "{{user_token}}",
|
||
"type": "text"
|
||
},
|
||
{
|
||
"key": "Content-Type",
|
||
"name": "Content-Type",
|
||
"value": "application/json",
|
||
"type": "text"
|
||
},
|
||
{
|
||
"key": "language",
|
||
"value": "{{language}}",
|
||
"type": "text"
|
||
},
|
||
{
|
||
"key": "multilingual",
|
||
"value": "true",
|
||
"type": "text"
|
||
}
|
||
],
|
||
"body": {
|
||
"mode": "raw",
|
||
"raw": "{\n \"params\": {\n \"property_id\": 1,\n \"executive_type\": {\n\n \"3\":{\n \"executive_type_id\": 3,\n \"name_surname\": \"Ahmet Yılmaz\",\n \"email\": \"email1@meil.com\",\n \"phone\": \"phone\",\n \"mobile\": \"mobile\",\n \"fax\": \"fax\" \t\n }\n }\n }\n}",
|
||
"options": {
|
||
"raw": {
|
||
"language": "json"
|
||
}
|
||
}
|
||
},
|
||
"url": {
|
||
"raw": "{{base_url}}/app/v1/property/executive/add",
|
||
"host": [
|
||
"{{base_url}}"
|
||
],
|
||
"path": [
|
||
"app",
|
||
"v1",
|
||
"property",
|
||
"executive",
|
||
"add"
|
||
]
|
||
}
|
||
},
|
||
"response": []
|
||
},
|
||
{
|
||
"name": "List Property Executive",
|
||
"request": {
|
||
"method": "POST",
|
||
"header": [
|
||
{
|
||
"key": "authToken",
|
||
"type": "text",
|
||
"value": "{{user_token}}"
|
||
},
|
||
{
|
||
"key": "Content-Type",
|
||
"name": "Content-Type",
|
||
"type": "text",
|
||
"value": "application/json"
|
||
},
|
||
{
|
||
"key": "language",
|
||
"type": "text",
|
||
"value": "{{language}}"
|
||
},
|
||
{
|
||
"key": "multilingual",
|
||
"type": "text",
|
||
"value": "true"
|
||
}
|
||
],
|
||
"body": {
|
||
"mode": "raw",
|
||
"raw": "{\n \"params\": {\n \"property_id\": 1\n }\n}",
|
||
"options": {
|
||
"raw": {
|
||
"language": "json"
|
||
}
|
||
}
|
||
},
|
||
"url": {
|
||
"raw": "{{base_url}}/app/v1/property/executive/list",
|
||
"host": [
|
||
"{{base_url}}"
|
||
],
|
||
"path": [
|
||
"app",
|
||
"v1",
|
||
"property",
|
||
"executive",
|
||
"list"
|
||
]
|
||
}
|
||
},
|
||
"response": []
|
||
},
|
||
{
|
||
"name": "Update Property Executive",
|
||
"request": {
|
||
"method": "POST",
|
||
"header": [
|
||
{
|
||
"key": "authToken",
|
||
"value": "{{user_token}}",
|
||
"type": "text"
|
||
},
|
||
{
|
||
"key": "Content-Type",
|
||
"name": "Content-Type",
|
||
"value": "application/json",
|
||
"type": "text"
|
||
},
|
||
{
|
||
"key": "language",
|
||
"value": "{{language}}",
|
||
"type": "text"
|
||
},
|
||
{
|
||
"key": "multilingual",
|
||
"value": "true",
|
||
"type": "text"
|
||
}
|
||
],
|
||
"body": {
|
||
"mode": "raw",
|
||
"raw": "{\n \"params\": {\n \"property_id\": 1,\n \"executive_type\": {\n\n \"1\":{\n \t\"id\" :1,\n \"executive_type_id\": 1,\n \"name_surname\": \"Ahmet Yılmaz\",\n \"email\": \"email1@meil.com\",\n \"phone\": \"phone\",\n \"mobile\": \"mobile\",\n \"fax\": \"fax\" \t\n }\n }\n }\n}",
|
||
"options": {
|
||
"raw": {
|
||
"language": "json"
|
||
}
|
||
}
|
||
},
|
||
"url": {
|
||
"raw": "{{base_url}}/app/v1/property/executive/update",
|
||
"host": [
|
||
"{{base_url}}"
|
||
],
|
||
"path": [
|
||
"app",
|
||
"v1",
|
||
"property",
|
||
"executive",
|
||
"update"
|
||
]
|
||
}
|
||
},
|
||
"response": []
|
||
},
|
||
{
|
||
"name": "Get Property Executive",
|
||
"request": {
|
||
"method": "POST",
|
||
"header": [
|
||
{
|
||
"key": "authToken",
|
||
"value": "{{user_token}}",
|
||
"type": "text"
|
||
},
|
||
{
|
||
"key": "Content-Type",
|
||
"name": "Content-Type",
|
||
"value": "application/json",
|
||
"type": "text"
|
||
},
|
||
{
|
||
"key": "language",
|
||
"value": "{{language}}",
|
||
"type": "text"
|
||
},
|
||
{
|
||
"key": "multilingual",
|
||
"value": "true",
|
||
"type": "text"
|
||
}
|
||
],
|
||
"body": {
|
||
"mode": "raw",
|
||
"raw": "{\n \"params\": {\n \"property_id\": 1\n }\n}",
|
||
"options": {
|
||
"raw": {
|
||
"language": "json"
|
||
}
|
||
}
|
||
},
|
||
"url": {
|
||
"raw": "{{base_url}}/app/v1/property/executive/list",
|
||
"host": [
|
||
"{{base_url}}"
|
||
],
|
||
"path": [
|
||
"app",
|
||
"v1",
|
||
"property",
|
||
"executive",
|
||
"list"
|
||
]
|
||
}
|
||
},
|
||
"response": []
|
||
},
|
||
{
|
||
"name": "Delete Property Executive",
|
||
"request": {
|
||
"method": "POST",
|
||
"header": [
|
||
{
|
||
"key": "authToken",
|
||
"value": "{{user_token}}",
|
||
"type": "text"
|
||
},
|
||
{
|
||
"key": "Content-Type",
|
||
"name": "Content-Type",
|
||
"value": "application/json",
|
||
"type": "text"
|
||
},
|
||
{
|
||
"key": "language",
|
||
"value": "{{language}}",
|
||
"type": "text"
|
||
},
|
||
{
|
||
"key": "multilingual",
|
||
"value": "true",
|
||
"type": "text"
|
||
}
|
||
],
|
||
"body": {
|
||
"mode": "raw",
|
||
"raw": "{\n \"params\": {\n \"property_id\": 1,\n \"property_executive_id\": 13\n \n }\n}",
|
||
"options": {
|
||
"raw": {
|
||
"language": "json"
|
||
}
|
||
}
|
||
},
|
||
"url": {
|
||
"raw": "{{base_url}}/app/v1/property/executive/delete",
|
||
"host": [
|
||
"{{base_url}}"
|
||
],
|
||
"path": [
|
||
"app",
|
||
"v1",
|
||
"property",
|
||
"executive",
|
||
"delete"
|
||
]
|
||
}
|
||
},
|
||
"response": []
|
||
}
|
||
]
|
||
},
|
||
{
|
||
"name": "ADDITIONAL INFO",
|
||
"item": [
|
||
{
|
||
"name": "List Additional Info",
|
||
"request": {
|
||
"method": "POST",
|
||
"header": [
|
||
{
|
||
"key": "Content-Type",
|
||
"value": "application/json",
|
||
"type": "text"
|
||
},
|
||
{
|
||
"key": "language",
|
||
"value": "{{language}}",
|
||
"type": "text"
|
||
},
|
||
{
|
||
"key": "authToken",
|
||
"value": "{{user_token}}",
|
||
"type": "text"
|
||
}
|
||
],
|
||
"body": {
|
||
"mode": "raw",
|
||
"raw": "{\n\t\"params\":\n\t{\n\t\t\"property_id\": 1\n\t}\n}"
|
||
},
|
||
"url": {
|
||
"raw": "{{base_url}}/app/v1/property/additional-info/list",
|
||
"host": [
|
||
"{{base_url}}"
|
||
],
|
||
"path": [
|
||
"app",
|
||
"v1",
|
||
"property",
|
||
"additional-info",
|
||
"list"
|
||
]
|
||
}
|
||
},
|
||
"response": []
|
||
},
|
||
{
|
||
"name": "Update Additional Info",
|
||
"request": {
|
||
"method": "POST",
|
||
"header": [
|
||
{
|
||
"key": "Content-Type",
|
||
"name": "Content-Type",
|
||
"value": "application/json",
|
||
"type": "text"
|
||
},
|
||
{
|
||
"key": "language",
|
||
"value": "{{language}}",
|
||
"type": "text"
|
||
},
|
||
{
|
||
"key": "authToken",
|
||
"value": "{{user_token}}",
|
||
"type": "text"
|
||
}
|
||
],
|
||
"body": {
|
||
"mode": "raw",
|
||
"raw": "{\n \"params\": {\n \"property_id\": 1,\n \"data\": {\n \"1\":{\n \t\"id\" :1,\n \"additional_info_key_id\": 1,\n \"value\": 2010\n },\n \"2\":{\n \t\"id\":2,\n \"additional_info_key_id\": 2,\n \"value\": 2011\n }\n }\n }\n}",
|
||
"options": {
|
||
"raw": {
|
||
"language": "json"
|
||
}
|
||
}
|
||
},
|
||
"url": {
|
||
"raw": "{{base_url}}/app/v1/property/additional-info/update",
|
||
"host": [
|
||
"{{base_url}}"
|
||
],
|
||
"path": [
|
||
"app",
|
||
"v1",
|
||
"property",
|
||
"additional-info",
|
||
"update"
|
||
]
|
||
}
|
||
},
|
||
"response": []
|
||
},
|
||
{
|
||
"name": "Insert Additional Info",
|
||
"request": {
|
||
"method": "POST",
|
||
"header": [
|
||
{
|
||
"key": "Content-Type",
|
||
"type": "text",
|
||
"value": "application/json"
|
||
},
|
||
{
|
||
"key": "language",
|
||
"type": "text",
|
||
"value": "{{language}}"
|
||
},
|
||
{
|
||
"key": "authToken",
|
||
"type": "text",
|
||
"value": "{{user_token}}"
|
||
}
|
||
],
|
||
"body": {
|
||
"mode": "raw",
|
||
"raw": "{\n \"params\": {\n \"property_id\": 1,\n \"data\": [\n {\n \"additional_info_key_id\": 4,\n \"value\": true\n }\n ]\n }\n}"
|
||
},
|
||
"url": {
|
||
"raw": "{{base_url}}/app/v1/property/additional-info/insert",
|
||
"host": [
|
||
"{{base_url}}"
|
||
],
|
||
"path": [
|
||
"app",
|
||
"v1",
|
||
"property",
|
||
"additional-info",
|
||
"insert"
|
||
]
|
||
}
|
||
},
|
||
"response": []
|
||
}
|
||
]
|
||
},
|
||
{
|
||
"name": "FACT",
|
||
"item": [
|
||
{
|
||
"name": "Get Fact List",
|
||
"request": {
|
||
"method": "POST",
|
||
"header": [
|
||
{
|
||
"key": "authToken",
|
||
"value": "{{user_token}}",
|
||
"type": "text"
|
||
},
|
||
{
|
||
"key": "Content-Type",
|
||
"value": "application/json",
|
||
"type": "text"
|
||
},
|
||
{
|
||
"key": "language",
|
||
"value": "{{language}}",
|
||
"type": "text"
|
||
},
|
||
{
|
||
"key": "multilingual",
|
||
"value": "true",
|
||
"type": "text"
|
||
}
|
||
],
|
||
"body": {
|
||
"mode": "raw",
|
||
"raw": "{\n \"params\": {\n\n \"property_id\": 1\n }\n}"
|
||
},
|
||
"url": {
|
||
"raw": "{{base_url}}/app/v1/property/fact/list",
|
||
"host": [
|
||
"{{base_url}}"
|
||
],
|
||
"path": [
|
||
"app",
|
||
"v1",
|
||
"property",
|
||
"fact",
|
||
"list"
|
||
]
|
||
}
|
||
},
|
||
"response": []
|
||
},
|
||
{
|
||
"name": "Get SubCategory Fact List",
|
||
"request": {
|
||
"method": "POST",
|
||
"header": [
|
||
{
|
||
"key": "authToken",
|
||
"type": "text",
|
||
"value": "{{user_token}}"
|
||
},
|
||
{
|
||
"key": "Content-Type",
|
||
"type": "text",
|
||
"value": "application/json"
|
||
},
|
||
{
|
||
"key": "language",
|
||
"type": "text",
|
||
"value": "{{language}}"
|
||
},
|
||
{
|
||
"key": "multilingual",
|
||
"type": "text",
|
||
"value": "true"
|
||
}
|
||
],
|
||
"body": {
|
||
"mode": "raw",
|
||
"raw": "{\n \"params\": {\n \"property_id\": 1,\n \"sub_category_id\" : 9\n }\n}"
|
||
},
|
||
"url": {
|
||
"raw": "{{base_url}}/app/v1/property/fact/get-subcategory-facts",
|
||
"host": [
|
||
"{{base_url}}"
|
||
],
|
||
"path": [
|
||
"app",
|
||
"v1",
|
||
"property",
|
||
"fact",
|
||
"get-subcategory-facts"
|
||
]
|
||
}
|
||
},
|
||
"response": []
|
||
},
|
||
{
|
||
"name": "Update Fact Mapping",
|
||
"request": {
|
||
"method": "POST",
|
||
"header": [
|
||
{
|
||
"key": "authToken",
|
||
"value": "{{user_token}}",
|
||
"type": "text"
|
||
},
|
||
{
|
||
"key": "Content-Type",
|
||
"value": "application/json",
|
||
"type": "text"
|
||
},
|
||
{
|
||
"key": "language",
|
||
"value": "{{language}}",
|
||
"type": "text"
|
||
},
|
||
{
|
||
"key": "multilingual",
|
||
"value": "true",
|
||
"type": "text"
|
||
}
|
||
],
|
||
"body": {
|
||
"mode": "raw",
|
||
"raw": "{\n \"params\": {\n \"property_id\": 1,\n \"property_fact\": [\n {\n \"id\": 232,\n \"is_selected\": true\n }\n ]\n }\n}"
|
||
},
|
||
"url": {
|
||
"raw": "{{base_url}}/app/v1/property/fact-mapping/update",
|
||
"host": [
|
||
"{{base_url}}"
|
||
],
|
||
"path": [
|
||
"app",
|
||
"v1",
|
||
"property",
|
||
"fact-mapping",
|
||
"update"
|
||
]
|
||
}
|
||
},
|
||
"response": []
|
||
},
|
||
{
|
||
"name": "Search Property Fact List",
|
||
"request": {
|
||
"method": "POST",
|
||
"header": [
|
||
{
|
||
"key": "authToken",
|
||
"value": "{{user_token}}",
|
||
"type": "text"
|
||
},
|
||
{
|
||
"key": "Content-Type",
|
||
"value": "application/json",
|
||
"type": "text"
|
||
},
|
||
{
|
||
"key": "language",
|
||
"value": "{{language}}",
|
||
"type": "text"
|
||
},
|
||
{
|
||
"key": "multilingual",
|
||
"value": "true",
|
||
"type": "text"
|
||
}
|
||
],
|
||
"body": {
|
||
"mode": "raw",
|
||
"raw": "{\n \"params\": {\n\n \"property_id\": 1,\n \"search_term\" : null\n }\n}"
|
||
},
|
||
"url": {
|
||
"raw": "{{base_url}}/app/v1/property/fact/search-property-facts",
|
||
"host": [
|
||
"{{base_url}}"
|
||
],
|
||
"path": [
|
||
"app",
|
||
"v1",
|
||
"property",
|
||
"fact",
|
||
"search-property-facts"
|
||
]
|
||
}
|
||
},
|
||
"response": []
|
||
},
|
||
{
|
||
"name": "Export Fact",
|
||
"request": {
|
||
"method": "POST",
|
||
"header": [
|
||
{
|
||
"key": "authToken",
|
||
"value": "{{user_token}}",
|
||
"type": "text"
|
||
},
|
||
{
|
||
"key": "Content-Type",
|
||
"value": "application/json",
|
||
"type": "text"
|
||
},
|
||
{
|
||
"key": "language",
|
||
"value": "{{language}}",
|
||
"type": "text"
|
||
},
|
||
{
|
||
"key": "multilingual",
|
||
"value": "true",
|
||
"type": "text"
|
||
}
|
||
],
|
||
"body": {
|
||
"mode": "raw",
|
||
"raw": "{\n \"params\": {\n\n \"property_id\": 1,\n \"coomment\" : \"bu işlemi yapabilmek için NEXT-855 branchine geçlimesi gerekir.\"\n }\n}"
|
||
},
|
||
"url": {
|
||
"raw": "{{base_url}}/app/v1/property/fact/export",
|
||
"host": [
|
||
"{{base_url}}"
|
||
],
|
||
"path": [
|
||
"app",
|
||
"v1",
|
||
"property",
|
||
"fact",
|
||
"export"
|
||
]
|
||
}
|
||
},
|
||
"response": []
|
||
}
|
||
]
|
||
},
|
||
{
|
||
"name": "PHOTO",
|
||
"item": [
|
||
{
|
||
"name": "Category List",
|
||
"request": {
|
||
"method": "POST",
|
||
"header": [
|
||
{
|
||
"key": "authToken",
|
||
"value": "{{user_token}}",
|
||
"type": "text"
|
||
},
|
||
{
|
||
"key": "Content-Type",
|
||
"name": "Content-Type",
|
||
"value": "application/json",
|
||
"type": "text"
|
||
},
|
||
{
|
||
"key": "language",
|
||
"value": "{{language}}",
|
||
"type": "text"
|
||
}
|
||
],
|
||
"body": {
|
||
"mode": "raw",
|
||
"raw": "{\n \"params\": {\n \"property_id\": 1\n }\n}",
|
||
"options": {
|
||
"raw": {
|
||
"language": "json"
|
||
}
|
||
}
|
||
},
|
||
"url": {
|
||
"raw": "{{base_url}}/app/v1/property/photo/category/list",
|
||
"host": [
|
||
"{{base_url}}"
|
||
],
|
||
"path": [
|
||
"app",
|
||
"v1",
|
||
"property",
|
||
"photo",
|
||
"category",
|
||
"list"
|
||
]
|
||
}
|
||
},
|
||
"response": []
|
||
},
|
||
{
|
||
"name": "Set Order",
|
||
"request": {
|
||
"method": "POST",
|
||
"header": [
|
||
{
|
||
"key": "authToken",
|
||
"type": "text",
|
||
"value": "{{user_token}}"
|
||
},
|
||
{
|
||
"key": "Content-Type",
|
||
"name": "Content-Type",
|
||
"type": "text",
|
||
"value": "application/json"
|
||
},
|
||
{
|
||
"key": "language",
|
||
"type": "text",
|
||
"value": "{{language}}"
|
||
}
|
||
],
|
||
"body": {
|
||
"mode": "raw",
|
||
"raw": "{\n \"params\": {\n \"property_id\": 1,\n \"set_photo_order\": [\n {\n \"photo_id\": 8,\n \"photo_order\": 2\n }\n ]\n }\n}",
|
||
"options": {
|
||
"raw": {
|
||
"language": "json"
|
||
}
|
||
}
|
||
},
|
||
"url": {
|
||
"raw": "{{base_url}}/app/v1/property/photo/order",
|
||
"host": [
|
||
"{{base_url}}"
|
||
],
|
||
"path": [
|
||
"app",
|
||
"v1",
|
||
"property",
|
||
"photo",
|
||
"order"
|
||
]
|
||
}
|
||
},
|
||
"response": []
|
||
},
|
||
{
|
||
"name": "Set Photo Category",
|
||
"request": {
|
||
"method": "POST",
|
||
"header": [
|
||
{
|
||
"key": "authToken",
|
||
"value": "{{user_token}}",
|
||
"type": "text"
|
||
},
|
||
{
|
||
"key": "Content-Type",
|
||
"name": "Content-Type",
|
||
"value": "application/json",
|
||
"type": "text"
|
||
},
|
||
{
|
||
"key": "language",
|
||
"value": "{{language}}",
|
||
"type": "text"
|
||
}
|
||
],
|
||
"body": {
|
||
"mode": "raw",
|
||
"raw": "{\n \"params\": {\n \"property_id\": 1,\n \"set_photo_category\" :[\n \t\n \t{\n \t\t\"photo_id\" : 8,\n \t\t\"photo_category_id\" : 1\n \t}\n \t]\n \n }\n}",
|
||
"options": {
|
||
"raw": {
|
||
"language": "json"
|
||
}
|
||
}
|
||
},
|
||
"url": {
|
||
"raw": "{{base_url}}/app/v1/property/photo/category/set",
|
||
"host": [
|
||
"{{base_url}}"
|
||
],
|
||
"path": [
|
||
"app",
|
||
"v1",
|
||
"property",
|
||
"photo",
|
||
"category",
|
||
"set"
|
||
]
|
||
}
|
||
},
|
||
"response": []
|
||
},
|
||
{
|
||
"name": "Set Default Photo",
|
||
"request": {
|
||
"method": "POST",
|
||
"header": [
|
||
{
|
||
"key": "authToken",
|
||
"type": "text",
|
||
"value": "{{user_token}}"
|
||
},
|
||
{
|
||
"key": "Content-Type",
|
||
"name": "Content-Type",
|
||
"type": "text",
|
||
"value": "application/json"
|
||
},
|
||
{
|
||
"key": "language",
|
||
"type": "text",
|
||
"value": "{{language}}"
|
||
},
|
||
{
|
||
"key": "multilingual",
|
||
"type": "text",
|
||
"value": "true"
|
||
}
|
||
],
|
||
"body": {
|
||
"mode": "raw",
|
||
"raw": "{\n \"params\": {\n \"property_id\": 1,\n \"photo_id\": 10\n }\n}"
|
||
},
|
||
"url": {
|
||
"raw": "{{base_url}}/app/v1/property/photo/set-default",
|
||
"host": [
|
||
"{{base_url}}"
|
||
],
|
||
"path": [
|
||
"app",
|
||
"v1",
|
||
"property",
|
||
"photo",
|
||
"set-default"
|
||
]
|
||
}
|
||
},
|
||
"response": []
|
||
},
|
||
{
|
||
"name": "Publish Photos",
|
||
"request": {
|
||
"method": "POST",
|
||
"header": [
|
||
{
|
||
"key": "authToken",
|
||
"type": "text",
|
||
"value": "{{user_token}}"
|
||
},
|
||
{
|
||
"key": "Content-Type",
|
||
"name": "Content-Type",
|
||
"type": "text",
|
||
"value": "application/json"
|
||
},
|
||
{
|
||
"key": "language",
|
||
"type": "text",
|
||
"value": "{{language}}"
|
||
},
|
||
{
|
||
"key": "multilingual",
|
||
"type": "text",
|
||
"value": "true"
|
||
}
|
||
],
|
||
"body": {
|
||
"mode": "raw",
|
||
"raw": "{\n \"params\": {\n \"property_id\": 1,\n \"photos\": [\n {\n \"photo_id\": 33,\n \"is_temp\": 0\n },\n {\n \"photo_id\": 8,\n \"is_temp\": 1\n },\n {\n \"photo_id\": 9,\n \"is_temp\": 0\n }\n ]\n }\n}"
|
||
},
|
||
"url": {
|
||
"raw": "{{base_url}}/app/v1/property/photo/publish",
|
||
"host": [
|
||
"{{base_url}}"
|
||
],
|
||
"path": [
|
||
"app",
|
||
"v1",
|
||
"property",
|
||
"photo",
|
||
"publish"
|
||
]
|
||
}
|
||
},
|
||
"response": []
|
||
},
|
||
{
|
||
"name": "Delete Photos",
|
||
"request": {
|
||
"method": "POST",
|
||
"header": [
|
||
{
|
||
"key": "authToken",
|
||
"type": "text",
|
||
"value": "{{user_token}}"
|
||
},
|
||
{
|
||
"key": "Content-Type",
|
||
"name": "Content-Type",
|
||
"type": "text",
|
||
"value": "application/json"
|
||
},
|
||
{
|
||
"key": "language",
|
||
"type": "text",
|
||
"value": "{{language}}"
|
||
}
|
||
],
|
||
"body": {
|
||
"mode": "raw",
|
||
"raw": "{\r\n \"params\": {\r\n \"property_id\": \"1\",\r\n \"photos\": [\r\n {\r\n \"photo_id\": \"5105\"\r\n }\r\n ]\r\n }\r\n}"
|
||
},
|
||
"url": {
|
||
"raw": "{{base_url}}/app/v1/property/photo/delete",
|
||
"host": [
|
||
"{{base_url}}"
|
||
],
|
||
"path": [
|
||
"app",
|
||
"v1",
|
||
"property",
|
||
"photo",
|
||
"delete"
|
||
]
|
||
}
|
||
},
|
||
"response": []
|
||
},
|
||
{
|
||
"name": "Upload Photo",
|
||
"request": {
|
||
"method": "POST",
|
||
"header": [
|
||
{
|
||
"key": "authToken",
|
||
"type": "text",
|
||
"value": "{{user_token}}"
|
||
},
|
||
{
|
||
"key": "Content-Type",
|
||
"name": "Content-Type",
|
||
"type": "text",
|
||
"value": "application/json"
|
||
},
|
||
{
|
||
"key": "language",
|
||
"type": "text",
|
||
"value": "{{language}}"
|
||
}
|
||
],
|
||
"body": {
|
||
"mode": "formdata",
|
||
"formdata": [
|
||
{
|
||
"key": "image",
|
||
"type": "file",
|
||
"src": []
|
||
},
|
||
{
|
||
"key": "property_id",
|
||
"value": "1",
|
||
"type": "text"
|
||
}
|
||
]
|
||
},
|
||
"url": {
|
||
"raw": "{{base_url}}/app/v1/property/photo/upload",
|
||
"host": [
|
||
"{{base_url}}"
|
||
],
|
||
"path": [
|
||
"app",
|
||
"v1",
|
||
"property",
|
||
"photo",
|
||
"upload"
|
||
]
|
||
}
|
||
},
|
||
"response": []
|
||
}
|
||
]
|
||
},
|
||
{
|
||
"name": "CONFIG",
|
||
"item": [
|
||
{
|
||
"name": "Config Get",
|
||
"request": {
|
||
"method": "POST",
|
||
"header": [
|
||
{
|
||
"key": "authToken",
|
||
"type": "text",
|
||
"value": "{{user_token}}"
|
||
},
|
||
{
|
||
"key": "Content-Type",
|
||
"name": "Content-Type",
|
||
"type": "text",
|
||
"value": "application/json"
|
||
},
|
||
{
|
||
"key": "language",
|
||
"type": "text",
|
||
"value": "{{language}}"
|
||
},
|
||
{
|
||
"key": "multilingual",
|
||
"type": "text",
|
||
"value": "true"
|
||
}
|
||
],
|
||
"body": {
|
||
"mode": "raw",
|
||
"raw": "{\n \"params\": {\n \"property_id\": 1,\n \"config_keys\": [\n \"data_rate\",\n \"key2\"\n ]\n }\n}",
|
||
"options": {
|
||
"raw": {
|
||
"language": "json"
|
||
}
|
||
}
|
||
},
|
||
"url": {
|
||
"raw": "{{base_url}}/app/v1/property/config/list",
|
||
"host": [
|
||
"{{base_url}}"
|
||
],
|
||
"path": [
|
||
"app",
|
||
"v1",
|
||
"property",
|
||
"config",
|
||
"list"
|
||
]
|
||
}
|
||
},
|
||
"response": []
|
||
},
|
||
{
|
||
"name": "Config Update",
|
||
"request": {
|
||
"method": "POST",
|
||
"header": [
|
||
{
|
||
"key": "authToken",
|
||
"type": "text",
|
||
"value": "{{user_token}}"
|
||
},
|
||
{
|
||
"key": "Content-Type",
|
||
"name": "Content-Type",
|
||
"type": "text",
|
||
"value": "application/json"
|
||
},
|
||
{
|
||
"key": "language",
|
||
"type": "text",
|
||
"value": "{{language}}"
|
||
},
|
||
{
|
||
"key": "multilingual",
|
||
"type": "text",
|
||
"value": "true"
|
||
}
|
||
],
|
||
"body": {
|
||
"mode": "raw",
|
||
"raw": "{\n \"params\": {\n \"property_id\": 1,\n \"config_keys\": [\n\n {\n \"config_key\": \"key36\",\n \"config_value_json\": \"value 33333\"\n },\n {\n \"config_key\": \"key37\",\n \"config_value_json\": \"value 33333\"\n }\n ]\n }\n}",
|
||
"options": {
|
||
"raw": {
|
||
"language": "json"
|
||
}
|
||
}
|
||
},
|
||
"url": {
|
||
"raw": "{{base_url}}/app/v1/property/config/update",
|
||
"host": [
|
||
"{{base_url}}"
|
||
],
|
||
"path": [
|
||
"app",
|
||
"v1",
|
||
"property",
|
||
"config",
|
||
"update"
|
||
]
|
||
}
|
||
},
|
||
"response": []
|
||
}
|
||
]
|
||
},
|
||
{
|
||
"name": "DIFFERENT SERVICES",
|
||
"item": [
|
||
{
|
||
"name": "Property Types",
|
||
"request": {
|
||
"method": "POST",
|
||
"header": [
|
||
{
|
||
"key": "authToken",
|
||
"value": "{{user_token}}",
|
||
"type": "text"
|
||
},
|
||
{
|
||
"key": "Content-Type",
|
||
"name": "Content-Type",
|
||
"value": "application/json",
|
||
"type": "text"
|
||
},
|
||
{
|
||
"key": "language",
|
||
"value": "{{language}}",
|
||
"type": "text"
|
||
},
|
||
{
|
||
"key": "multilingual",
|
||
"value": "true",
|
||
"type": "text"
|
||
}
|
||
],
|
||
"body": {
|
||
"mode": "raw",
|
||
"raw": "{\n \"params\": {\n \"property_id\": 1\n }\n}",
|
||
"options": {
|
||
"raw": {
|
||
"language": "json"
|
||
}
|
||
}
|
||
},
|
||
"url": {
|
||
"raw": "{{base_url}}/app/v1/property/type/list",
|
||
"host": [
|
||
"{{base_url}}"
|
||
],
|
||
"path": [
|
||
"app",
|
||
"v1",
|
||
"property",
|
||
"type",
|
||
"list"
|
||
]
|
||
}
|
||
},
|
||
"response": []
|
||
},
|
||
{
|
||
"name": "Chains",
|
||
"request": {
|
||
"method": "POST",
|
||
"header": [
|
||
{
|
||
"key": "authToken",
|
||
"value": "{{user_token}}",
|
||
"type": "text"
|
||
},
|
||
{
|
||
"key": "Content-Type",
|
||
"name": "Content-Type",
|
||
"value": "application/json",
|
||
"type": "text"
|
||
},
|
||
{
|
||
"key": "language",
|
||
"value": "{{language}}",
|
||
"type": "text"
|
||
},
|
||
{
|
||
"key": "multilingual",
|
||
"value": "true",
|
||
"type": "text"
|
||
}
|
||
],
|
||
"body": {
|
||
"mode": "raw",
|
||
"raw": "{\n \"params\": {\n \"property_id\": 1\n }\n}",
|
||
"options": {
|
||
"raw": {
|
||
"language": "json"
|
||
}
|
||
}
|
||
},
|
||
"url": {
|
||
"raw": "{{base_url}}/app/v1/property/chain/list",
|
||
"host": [
|
||
"{{base_url}}"
|
||
],
|
||
"path": [
|
||
"app",
|
||
"v1",
|
||
"property",
|
||
"chain",
|
||
"list"
|
||
]
|
||
}
|
||
},
|
||
"response": []
|
||
},
|
||
{
|
||
"name": "Destination Search",
|
||
"request": {
|
||
"method": "POST",
|
||
"header": [
|
||
{
|
||
"key": "authToken",
|
||
"value": "{{user_token}}",
|
||
"type": "text"
|
||
},
|
||
{
|
||
"key": "Content-Type",
|
||
"name": "Content-Type",
|
||
"value": "application/json",
|
||
"type": "text"
|
||
},
|
||
{
|
||
"key": "language",
|
||
"value": "{{language}}",
|
||
"type": "text"
|
||
},
|
||
{
|
||
"key": "multilingual",
|
||
"value": "true",
|
||
"type": "text"
|
||
}
|
||
],
|
||
"body": {
|
||
"mode": "raw",
|
||
"raw": "{\n \"params\": {\n \"property_id\" : 1,\n \t\"search_term\" : \"küt\"\n }\n}"
|
||
},
|
||
"url": {
|
||
"raw": "{{base_url}}/app/v1/destination/search",
|
||
"host": [
|
||
"{{base_url}}"
|
||
],
|
||
"path": [
|
||
"app",
|
||
"v1",
|
||
"destination",
|
||
"search"
|
||
]
|
||
}
|
||
},
|
||
"response": []
|
||
},
|
||
{
|
||
"name": "User Menu",
|
||
"request": {
|
||
"method": "POST",
|
||
"header": [
|
||
{
|
||
"key": "authToken",
|
||
"value": "{{user_token}}",
|
||
"type": "text"
|
||
},
|
||
{
|
||
"key": "Content-Type",
|
||
"name": "Content-Type",
|
||
"value": "application/json",
|
||
"type": "text"
|
||
},
|
||
{
|
||
"key": "language",
|
||
"value": "{{language}}",
|
||
"type": "text"
|
||
}
|
||
],
|
||
"body": {
|
||
"mode": "raw",
|
||
"raw": "{\n \"params\": {\n\t\"property_id\" : 5\n }\n}"
|
||
},
|
||
"url": {
|
||
"raw": "{{base_url}}/app/v1/user-menu",
|
||
"host": [
|
||
"{{base_url}}"
|
||
],
|
||
"path": [
|
||
"app",
|
||
"v1",
|
||
"user-menu"
|
||
]
|
||
}
|
||
},
|
||
"response": []
|
||
},
|
||
{
|
||
"name": "Refresh Token",
|
||
"protocolProfileBehavior": {
|
||
"disableBodyPruning": true
|
||
},
|
||
"request": {
|
||
"method": "GET",
|
||
"header": [
|
||
{
|
||
"key": "authToken",
|
||
"value": "{{user_token}}",
|
||
"type": "text"
|
||
},
|
||
{
|
||
"key": "Content-Type",
|
||
"name": "Content-Type",
|
||
"value": "application/json",
|
||
"type": "text"
|
||
},
|
||
{
|
||
"key": "language",
|
||
"value": "{{language}}",
|
||
"type": "text"
|
||
}
|
||
],
|
||
"body": {
|
||
"mode": "raw",
|
||
"raw": ""
|
||
},
|
||
"url": {
|
||
"raw": "{{base_url}}/app/v1/auth/refresh-token",
|
||
"host": [
|
||
"{{base_url}}"
|
||
],
|
||
"path": [
|
||
"app",
|
||
"v1",
|
||
"auth",
|
||
"refresh-token"
|
||
]
|
||
}
|
||
},
|
||
"response": []
|
||
},
|
||
{
|
||
"name": "Test",
|
||
"protocolProfileBehavior": {
|
||
"disableBodyPruning": true
|
||
},
|
||
"request": {
|
||
"method": "GET",
|
||
"header": [
|
||
{
|
||
"key": "Content-Type",
|
||
"name": "Content-Type",
|
||
"value": "application/json",
|
||
"type": "text"
|
||
},
|
||
{
|
||
"key": "language",
|
||
"value": "{{language}}",
|
||
"type": "text"
|
||
}
|
||
],
|
||
"body": {
|
||
"mode": "raw",
|
||
"raw": "{\n \"params\": {\n\t\"property_id\" : 1,\n\t\"start_date\" : \"2020-06-01\",\n\t\"end_date\" : \"2020-06-10\"\n\t}\n}"
|
||
},
|
||
"url": {
|
||
"raw": "{{base_url}}/app/v1/test?start_date=2020-01-29",
|
||
"host": [
|
||
"{{base_url}}"
|
||
],
|
||
"path": [
|
||
"app",
|
||
"v1",
|
||
"test"
|
||
],
|
||
"query": [
|
||
{
|
||
"key": "start_date",
|
||
"value": "2020-01-29"
|
||
}
|
||
]
|
||
}
|
||
},
|
||
"response": []
|
||
},
|
||
{
|
||
"name": "Get Language APP",
|
||
"protocolProfileBehavior": {
|
||
"disableBodyPruning": true
|
||
},
|
||
"request": {
|
||
"method": "GET",
|
||
"header": [
|
||
{
|
||
"key": "language",
|
||
"value": "{{language}}",
|
||
"type": "text"
|
||
},
|
||
{
|
||
"key": "Content-Type",
|
||
"value": "application/json",
|
||
"type": "text"
|
||
}
|
||
],
|
||
"body": {
|
||
"mode": "raw",
|
||
"raw": ""
|
||
},
|
||
"url": {
|
||
"raw": "{{base_url}}/app/v1/languages/get/app",
|
||
"host": [
|
||
"{{base_url}}"
|
||
],
|
||
"path": [
|
||
"app",
|
||
"v1",
|
||
"languages",
|
||
"get",
|
||
"app"
|
||
]
|
||
}
|
||
},
|
||
"response": []
|
||
},
|
||
{
|
||
"name": "Get Language ALL",
|
||
"request": {
|
||
"method": "GET",
|
||
"header": [
|
||
{
|
||
"key": "language",
|
||
"value": "{{language}}",
|
||
"type": "text"
|
||
},
|
||
{
|
||
"key": "Content-Type",
|
||
"value": "application/json",
|
||
"type": "text"
|
||
}
|
||
],
|
||
"url": {
|
||
"raw": "{{base_url}}/app/v1/languages/get-null-description",
|
||
"host": [
|
||
"{{base_url}}"
|
||
],
|
||
"path": [
|
||
"app",
|
||
"v1",
|
||
"languages",
|
||
"get-null-description"
|
||
]
|
||
}
|
||
},
|
||
"response": []
|
||
},
|
||
{
|
||
"name": "Get Language NULL Description",
|
||
"request": {
|
||
"method": "GET",
|
||
"header": [
|
||
{
|
||
"key": "language",
|
||
"value": "{{language}}",
|
||
"type": "text"
|
||
},
|
||
{
|
||
"key": "Content-Type",
|
||
"value": "application/json",
|
||
"type": "text"
|
||
}
|
||
],
|
||
"url": {
|
||
"raw": "{{base_url}}/app/v1/languages/get/all",
|
||
"host": [
|
||
"{{base_url}}"
|
||
],
|
||
"path": [
|
||
"app",
|
||
"v1",
|
||
"languages",
|
||
"get",
|
||
"all"
|
||
]
|
||
}
|
||
},
|
||
"response": []
|
||
}
|
||
],
|
||
"event": [
|
||
{
|
||
"listen": "prerequest",
|
||
"script": {
|
||
"type": "text/javascript",
|
||
"exec": [
|
||
""
|
||
]
|
||
}
|
||
},
|
||
{
|
||
"listen": "test",
|
||
"script": {
|
||
"type": "text/javascript",
|
||
"exec": [
|
||
""
|
||
]
|
||
}
|
||
}
|
||
]
|
||
},
|
||
{
|
||
"name": "TRASH",
|
||
"item": [
|
||
{
|
||
"name": "REGISTER/USER",
|
||
"request": {
|
||
"method": "POST",
|
||
"header": [
|
||
{
|
||
"key": "Content-Type",
|
||
"name": "Content-Type",
|
||
"value": "application/json",
|
||
"type": "text"
|
||
},
|
||
{
|
||
"key": "authToken",
|
||
"value": "{{user_token}}",
|
||
"type": "text"
|
||
},
|
||
{
|
||
"key": "language",
|
||
"value": "{{language}}",
|
||
"type": "text"
|
||
}
|
||
],
|
||
"body": {
|
||
"mode": "raw",
|
||
"raw": "{\n \"params\": {\n \t\"gender\" : \"M\",\n \t\"name\" : \"Yadigar\",\n \t\"surname\" : \"Gündoğdu\",\n \t\"phone\" : \"+9021256699999\",\n \t\"email\" : \"yadigar@rezervasyon.com\",\n \t\"password\" : \"123456\",\n \t\"temp_hotel_id\" : 2\n }\n}",
|
||
"options": {
|
||
"raw": {
|
||
"language": "json"
|
||
}
|
||
}
|
||
},
|
||
"url": {
|
||
"raw": "{{base_url}}/app/v1/user/register",
|
||
"host": [
|
||
"{{base_url}}"
|
||
],
|
||
"path": [
|
||
"app",
|
||
"v1",
|
||
"user",
|
||
"register"
|
||
]
|
||
}
|
||
},
|
||
"response": []
|
||
},
|
||
{
|
||
"name": "Temp Properties",
|
||
"request": {
|
||
"method": "POST",
|
||
"header": [
|
||
{
|
||
"key": "Content-Type",
|
||
"name": "Content-Type",
|
||
"value": "application/json",
|
||
"type": "text"
|
||
},
|
||
{
|
||
"key": "language",
|
||
"value": "{{language}}",
|
||
"type": "text"
|
||
}
|
||
],
|
||
"body": {
|
||
"mode": "raw",
|
||
"raw": "{\n \"params\": {\n \t\"select\" : [\n \t\t\"id\", \"name\", \"giata_id\"\n \t],\n \"criteria\": [\n {\n \"field\": \"name\",\n \"condition\": \"like\",\n \"value\": \"ya\"\n }\n \n ]\n }\n}",
|
||
"options": {
|
||
"raw": {
|
||
"language": "json"
|
||
}
|
||
}
|
||
},
|
||
"url": {
|
||
"raw": "{{base_url}}/app/v1/temp-property/get",
|
||
"host": [
|
||
"{{base_url}}"
|
||
],
|
||
"path": [
|
||
"app",
|
||
"v1",
|
||
"temp-property",
|
||
"get"
|
||
]
|
||
}
|
||
},
|
||
"response": []
|
||
},
|
||
{
|
||
"name": "Set User Property",
|
||
"request": {
|
||
"method": "POST",
|
||
"header": [
|
||
{
|
||
"key": "authToken",
|
||
"value": "{{user_token}}",
|
||
"type": "text"
|
||
},
|
||
{
|
||
"key": "Content-Type",
|
||
"name": "Content-Type",
|
||
"value": "application/json",
|
||
"type": "text"
|
||
},
|
||
{
|
||
"key": "language",
|
||
"value": "{{language}}",
|
||
"type": "text"
|
||
}
|
||
],
|
||
"body": {
|
||
"mode": "raw",
|
||
"raw": "{\n \"params\": {\n \t\"property_id\" : 1\n }\n}"
|
||
},
|
||
"url": {
|
||
"raw": "{{base_url}}/app/v1/user/set-user-property",
|
||
"host": [
|
||
"{{base_url}}"
|
||
],
|
||
"path": [
|
||
"app",
|
||
"v1",
|
||
"user",
|
||
"set-user-property"
|
||
]
|
||
}
|
||
},
|
||
"response": []
|
||
}
|
||
]
|
||
},
|
||
{
|
||
"name": "USER",
|
||
"item": [
|
||
{
|
||
"name": "User Create",
|
||
"request": {
|
||
"method": "POST",
|
||
"header": [
|
||
{
|
||
"key": "Content-Type",
|
||
"name": "Content-Type",
|
||
"type": "text",
|
||
"value": "application/json"
|
||
},
|
||
{
|
||
"key": "authToken",
|
||
"type": "text",
|
||
"value": "{{user_token}}"
|
||
},
|
||
{
|
||
"key": "language",
|
||
"type": "text",
|
||
"value": "{{language}}"
|
||
}
|
||
],
|
||
"body": {
|
||
"mode": "raw",
|
||
"raw": "{\n \"params\": {\n \t\"gender\" : \"M\",\n \t\"name\" : \"osman\",\n \t\"surname\" : \"duman\",\n \t\"phone\" : \"+9021256699999\",\n \t\"email\" : \"yagotak@gmail.com\",\n \t\"user_type\" : 1\n }\n}",
|
||
"options": {
|
||
"raw": {
|
||
"language": "json"
|
||
}
|
||
}
|
||
},
|
||
"url": {
|
||
"raw": "{{base_url}}/app/v1/user/create",
|
||
"host": [
|
||
"{{base_url}}"
|
||
],
|
||
"path": [
|
||
"app",
|
||
"v1",
|
||
"user",
|
||
"create"
|
||
]
|
||
}
|
||
},
|
||
"response": []
|
||
},
|
||
{
|
||
"name": "Update User",
|
||
"request": {
|
||
"method": "POST",
|
||
"header": [
|
||
{
|
||
"key": "Content-Type",
|
||
"name": "Content-Type",
|
||
"type": "text",
|
||
"value": "application/json"
|
||
},
|
||
{
|
||
"key": "authToken",
|
||
"type": "text",
|
||
"value": "{{user_token}}"
|
||
},
|
||
{
|
||
"key": "language",
|
||
"type": "text",
|
||
"value": "{{language}}"
|
||
}
|
||
],
|
||
"body": {
|
||
"mode": "raw",
|
||
"raw": "{\n \"params\": {\n \"user_update_data\": {\n \"gender\": \"M\",\n \"name\": \"Yadican\",\n \"surname\": \"Güngüyyy\",\n \"phone\": \"+9021256699999\",\n \"password\": \"99999\"\n },\n \"update_user_id\" : 6\n }\n}"
|
||
},
|
||
"url": {
|
||
"raw": "{{base_url}}/app/v1/user/update",
|
||
"host": [
|
||
"{{base_url}}"
|
||
],
|
||
"path": [
|
||
"app",
|
||
"v1",
|
||
"user",
|
||
"update"
|
||
]
|
||
}
|
||
},
|
||
"response": []
|
||
},
|
||
{
|
||
"name": "Check User Key",
|
||
"request": {
|
||
"method": "POST",
|
||
"header": [
|
||
{
|
||
"key": "Content-Type",
|
||
"name": "Content-Type",
|
||
"type": "text",
|
||
"value": "application/json"
|
||
},
|
||
{
|
||
"key": "language",
|
||
"type": "text",
|
||
"value": "{{language}}"
|
||
}
|
||
],
|
||
"body": {
|
||
"mode": "raw",
|
||
"raw": "{\n \"params\": {\n \t\"email\" : \"osman@rezervasyon.com\",\n \t\"key\" : \"1ce660cc1a69b9513a473dbe48889d24471ba13202cd7a1b1b0cd68ee6078d1b876dc36a6f42437d8ac84ff3a8ad791623bc439bf5e9d8981199c2da2c2df4bb\"\n }\n}",
|
||
"options": {
|
||
"raw": {
|
||
"language": "json"
|
||
}
|
||
}
|
||
},
|
||
"url": {
|
||
"raw": "{{base_url}}/app/v1/user/check-key",
|
||
"host": [
|
||
"{{base_url}}"
|
||
],
|
||
"path": [
|
||
"app",
|
||
"v1",
|
||
"user",
|
||
"check-key"
|
||
]
|
||
}
|
||
},
|
||
"response": []
|
||
},
|
||
{
|
||
"name": "New Password",
|
||
"request": {
|
||
"method": "POST",
|
||
"header": [
|
||
{
|
||
"key": "Content-Type",
|
||
"name": "Content-Type",
|
||
"type": "text",
|
||
"value": "application/json"
|
||
},
|
||
{
|
||
"key": "authToken",
|
||
"type": "text",
|
||
"value": "{{user_token}}"
|
||
},
|
||
{
|
||
"key": "language",
|
||
"type": "text",
|
||
"value": "{{language}}"
|
||
}
|
||
],
|
||
"body": {
|
||
"mode": "raw",
|
||
"raw": "{\n \"params\": {\n \t\"email\" : \"osman@rezervasyon.com\",\n \t\"key\" : \"1ce660cc1a69b9513a473dbe48889d24471ba13202cd7a1b1b0cd68ee6078d1b876dc36a6f42437d8ac84ff3a8ad791623bc439bf5e9d8981199c2da2c2df4bb\",\n \t\"password\" : \"789963\",\n \t\"password_confirmation\" : \"789963\"\n }\n}",
|
||
"options": {
|
||
"raw": {
|
||
"language": "json"
|
||
}
|
||
}
|
||
},
|
||
"url": {
|
||
"raw": "{{base_url}}/app/v1/user/new-password",
|
||
"host": [
|
||
"{{base_url}}"
|
||
],
|
||
"path": [
|
||
"app",
|
||
"v1",
|
||
"user",
|
||
"new-password"
|
||
]
|
||
}
|
||
},
|
||
"response": []
|
||
},
|
||
{
|
||
"name": "Forgot Password",
|
||
"request": {
|
||
"method": "POST",
|
||
"header": [
|
||
{
|
||
"key": "Content-Type",
|
||
"name": "Content-Type",
|
||
"type": "text",
|
||
"value": "application/json"
|
||
},
|
||
{
|
||
"key": "authToken",
|
||
"type": "text",
|
||
"value": "",
|
||
"disabled": true
|
||
},
|
||
{
|
||
"key": "language",
|
||
"type": "text",
|
||
"value": "{{language}}"
|
||
}
|
||
],
|
||
"body": {
|
||
"mode": "raw",
|
||
"raw": "{\n \"params\": {\n \t\"email\" : \"osman@rezervasyon.com\"\n }\n}",
|
||
"options": {
|
||
"raw": {
|
||
"language": "json"
|
||
}
|
||
}
|
||
},
|
||
"url": {
|
||
"raw": "{{base_url}}/app/v1/user/forgot-password",
|
||
"host": [
|
||
"{{base_url}}"
|
||
],
|
||
"path": [
|
||
"app",
|
||
"v1",
|
||
"user",
|
||
"forgot-password"
|
||
]
|
||
}
|
||
},
|
||
"response": []
|
||
},
|
||
{
|
||
"name": "Reset Password",
|
||
"request": {
|
||
"method": "POST",
|
||
"header": [
|
||
{
|
||
"key": "Content-Type",
|
||
"name": "Content-Type",
|
||
"type": "text",
|
||
"value": "application/json"
|
||
},
|
||
{
|
||
"key": "authToken",
|
||
"type": "text",
|
||
"value": "",
|
||
"disabled": true
|
||
},
|
||
{
|
||
"key": "language",
|
||
"type": "text",
|
||
"value": "{{language}}"
|
||
}
|
||
],
|
||
"body": {
|
||
"mode": "raw",
|
||
"raw": "{\n \"params\": {\n \t\"email\" : \"osman@rezervasyon.com\",\n \t\"key\" : \"4882b972e94653ea2ad9ec3cd8d937f6979f594f3a167646c3f21f6ca30bdabbc0a25fabf33694de0bc79874cf8ddd97f6abd7ac3f9d991c66e648762dde162d\",\n \t\"password\" : \"556699\",\n \t\"password_confirmation\" : \"556699\"\n }\n}",
|
||
"options": {
|
||
"raw": {
|
||
"language": "json"
|
||
}
|
||
}
|
||
},
|
||
"url": {
|
||
"raw": "{{base_url}}/app/v1/user/reset-password",
|
||
"host": [
|
||
"{{base_url}}"
|
||
],
|
||
"path": [
|
||
"app",
|
||
"v1",
|
||
"user",
|
||
"reset-password"
|
||
]
|
||
}
|
||
},
|
||
"response": []
|
||
},
|
||
{
|
||
"name": "Change Password",
|
||
"request": {
|
||
"method": "POST",
|
||
"header": [
|
||
{
|
||
"key": "Content-Type",
|
||
"name": "Content-Type",
|
||
"type": "text",
|
||
"value": "application/json"
|
||
},
|
||
{
|
||
"key": "authToken",
|
||
"type": "text",
|
||
"value": "{{user_token}}"
|
||
},
|
||
{
|
||
"key": "language",
|
||
"type": "text",
|
||
"value": "{{language}}"
|
||
}
|
||
],
|
||
"body": {
|
||
"mode": "raw",
|
||
"raw": "{\n \"params\": {\n \t\"old_password\" : \"7896321\",\n \t\"password\" : \"112233\",\n \t\"password_confirmation\" : \"112233\"\n }\n}",
|
||
"options": {
|
||
"raw": {
|
||
"language": "json"
|
||
}
|
||
}
|
||
},
|
||
"url": {
|
||
"raw": "{{base_url}}/app/v1/user/change-password",
|
||
"host": [
|
||
"{{base_url}}"
|
||
],
|
||
"path": [
|
||
"app",
|
||
"v1",
|
||
"user",
|
||
"change-password"
|
||
]
|
||
}
|
||
},
|
||
"response": []
|
||
},
|
||
{
|
||
"name": "User Register With Property",
|
||
"request": {
|
||
"method": "POST",
|
||
"header": [
|
||
{
|
||
"key": "Content-Type",
|
||
"name": "Content-Type",
|
||
"type": "text",
|
||
"value": "application/json"
|
||
},
|
||
{
|
||
"key": "authToken",
|
||
"type": "text",
|
||
"value": "{{user_token}}"
|
||
},
|
||
{
|
||
"key": "language",
|
||
"type": "text",
|
||
"value": "{{language}}"
|
||
}
|
||
],
|
||
"body": {
|
||
"mode": "raw",
|
||
"raw": "{\n \"params\": {\n \t\"name\" : \"osman\",\n \t\"surname\" : \"duman\",\n \t\"email\" : \"12wssses@gmail.com\",\n\t\"property_name\" : \"Property Nam adsasd a asdase\"\n }\n}",
|
||
"options": {
|
||
"raw": {
|
||
"language": "json"
|
||
}
|
||
}
|
||
},
|
||
"url": {
|
||
"raw": "{{base_url}}/app/v1/user/register-user-with-property",
|
||
"host": [
|
||
"{{base_url}}"
|
||
],
|
||
"path": [
|
||
"app",
|
||
"v1",
|
||
"user",
|
||
"register-user-with-property"
|
||
]
|
||
}
|
||
},
|
||
"response": []
|
||
},
|
||
{
|
||
"name": "User Profile Get",
|
||
"request": {
|
||
"method": "POST",
|
||
"header": [
|
||
{
|
||
"key": "Content-Type",
|
||
"value": "application/json",
|
||
"type": "text"
|
||
},
|
||
{
|
||
"key": "authToken",
|
||
"value": "{{user_token}}",
|
||
"type": "text"
|
||
},
|
||
{
|
||
"key": "language",
|
||
"value": "{{language}}",
|
||
"type": "text"
|
||
}
|
||
],
|
||
"url": {
|
||
"raw": "{{base_url}}/app/v1/user/profile/get",
|
||
"host": [
|
||
"{{base_url}}"
|
||
],
|
||
"path": [
|
||
"app",
|
||
"v1",
|
||
"user",
|
||
"profile",
|
||
"get"
|
||
]
|
||
}
|
||
},
|
||
"response": []
|
||
},
|
||
{
|
||
"name": "User Profile Update",
|
||
"request": {
|
||
"method": "POST",
|
||
"header": [
|
||
{
|
||
"key": "Content-Type",
|
||
"value": "application/json",
|
||
"type": "text"
|
||
},
|
||
{
|
||
"key": "authToken",
|
||
"value": "{{user_token}}",
|
||
"type": "text"
|
||
},
|
||
{
|
||
"key": "language",
|
||
"value": "{{language}}",
|
||
"type": "text"
|
||
}
|
||
],
|
||
"body": {
|
||
"mode": "raw",
|
||
"raw": "{\n \"params\": {\n \"name\": \"Test\",\n \"surname\": \"User -1-\",\n \"gender\": \"M\",\n \"language\": \"en\",\n \"phone\": \"5063727788\" \n }\n}"
|
||
},
|
||
"url": {
|
||
"raw": "{{base_url}}/app/v1/user/profile/update",
|
||
"host": [
|
||
"{{base_url}}"
|
||
],
|
||
"path": [
|
||
"app",
|
||
"v1",
|
||
"user",
|
||
"profile",
|
||
"update"
|
||
]
|
||
}
|
||
},
|
||
"response": []
|
||
}
|
||
]
|
||
},
|
||
{
|
||
"name": "ROOM TYPE",
|
||
"item": [
|
||
{
|
||
"name": "Room Types",
|
||
"request": {
|
||
"method": "POST",
|
||
"header": [
|
||
{
|
||
"key": "authToken",
|
||
"value": "{{user_token}}",
|
||
"type": "text"
|
||
},
|
||
{
|
||
"key": "Content-Type",
|
||
"name": "Content-Type",
|
||
"value": "application/json",
|
||
"type": "text"
|
||
},
|
||
{
|
||
"key": "language",
|
||
"value": "{{language}}",
|
||
"type": "text"
|
||
},
|
||
{
|
||
"key": "multilingual",
|
||
"value": "true",
|
||
"type": "text"
|
||
}
|
||
],
|
||
"body": {
|
||
"mode": "raw",
|
||
"raw": "{\n \"params\": {\n }\n}",
|
||
"options": {
|
||
"raw": {
|
||
"language": "json"
|
||
}
|
||
}
|
||
},
|
||
"url": {
|
||
"raw": "{{base_url}}/app/v1/property/room-type/list",
|
||
"host": [
|
||
"{{base_url}}"
|
||
],
|
||
"path": [
|
||
"app",
|
||
"v1",
|
||
"property",
|
||
"room-type",
|
||
"list"
|
||
]
|
||
}
|
||
},
|
||
"response": []
|
||
},
|
||
{
|
||
"name": "Property Room Types",
|
||
"request": {
|
||
"method": "POST",
|
||
"header": [
|
||
{
|
||
"key": "authToken",
|
||
"value": "{{user_token}}",
|
||
"type": "text"
|
||
},
|
||
{
|
||
"key": "Content-Type",
|
||
"name": "Content-Type",
|
||
"value": "application/json",
|
||
"type": "text"
|
||
},
|
||
{
|
||
"key": "language",
|
||
"value": "{{language}}",
|
||
"type": "text"
|
||
},
|
||
{
|
||
"key": "multilingual",
|
||
"value": "true",
|
||
"type": "text"
|
||
}
|
||
],
|
||
"body": {
|
||
"mode": "raw",
|
||
"raw": "{\n \"params\": {\n \"property_id\": 1\n }\n}",
|
||
"options": {
|
||
"raw": {
|
||
"language": "json"
|
||
}
|
||
}
|
||
},
|
||
"url": {
|
||
"raw": "{{base_url}}/app/v1/property/property-room-types",
|
||
"host": [
|
||
"{{base_url}}"
|
||
],
|
||
"path": [
|
||
"app",
|
||
"v1",
|
||
"property",
|
||
"property-room-types"
|
||
]
|
||
}
|
||
},
|
||
"response": []
|
||
}
|
||
]
|
||
},
|
||
{
|
||
"name": "BED TYPE",
|
||
"item": [
|
||
{
|
||
"name": "Bed Types",
|
||
"request": {
|
||
"method": "POST",
|
||
"header": [
|
||
{
|
||
"key": "authToken",
|
||
"value": "{{user_token}}",
|
||
"type": "text"
|
||
},
|
||
{
|
||
"key": "Content-Type",
|
||
"name": "Content-Type",
|
||
"value": "application/json",
|
||
"type": "text"
|
||
},
|
||
{
|
||
"key": "language",
|
||
"value": "{{language}}",
|
||
"type": "text"
|
||
},
|
||
{
|
||
"key": "multilingual",
|
||
"value": "true",
|
||
"type": "text"
|
||
}
|
||
],
|
||
"body": {
|
||
"mode": "raw",
|
||
"raw": "{\n \"params\": {\n }\n}",
|
||
"options": {
|
||
"raw": {
|
||
"language": "json"
|
||
}
|
||
}
|
||
},
|
||
"url": {
|
||
"raw": "{{base_url}}/app/v1/property/room-bed-type/list",
|
||
"host": [
|
||
"{{base_url}}"
|
||
],
|
||
"path": [
|
||
"app",
|
||
"v1",
|
||
"property",
|
||
"room-bed-type",
|
||
"list"
|
||
]
|
||
}
|
||
},
|
||
"response": []
|
||
}
|
||
]
|
||
},
|
||
{
|
||
"name": "ROOM",
|
||
"item": [
|
||
{
|
||
"name": "Delete Room",
|
||
"request": {
|
||
"method": "POST",
|
||
"header": [
|
||
{
|
||
"key": "authToken",
|
||
"type": "text",
|
||
"value": "{{user_token}}"
|
||
},
|
||
{
|
||
"key": "Content-Type",
|
||
"name": "Content-Type",
|
||
"type": "text",
|
||
"value": "application/json"
|
||
},
|
||
{
|
||
"key": "language",
|
||
"type": "text",
|
||
"value": "{{language}}"
|
||
},
|
||
{
|
||
"key": "multilingual",
|
||
"type": "text",
|
||
"value": "true"
|
||
}
|
||
],
|
||
"body": {
|
||
"mode": "raw",
|
||
"raw": "{\n \"params\": {\n \t\"id\" : 19,\n \"property_id\": 1\n }\n}",
|
||
"options": {
|
||
"raw": {
|
||
"language": "json"
|
||
}
|
||
}
|
||
},
|
||
"url": {
|
||
"raw": "{{base_url}}/app/v1/property/room/delete",
|
||
"host": [
|
||
"{{base_url}}"
|
||
],
|
||
"path": [
|
||
"app",
|
||
"v1",
|
||
"property",
|
||
"room",
|
||
"delete"
|
||
]
|
||
}
|
||
},
|
||
"response": []
|
||
},
|
||
{
|
||
"name": "Get Rooms",
|
||
"request": {
|
||
"method": "POST",
|
||
"header": [
|
||
{
|
||
"key": "authToken",
|
||
"type": "text",
|
||
"value": "{{user_token}}"
|
||
},
|
||
{
|
||
"key": "Content-Type",
|
||
"name": "Content-Type",
|
||
"type": "text",
|
||
"value": "application/json"
|
||
},
|
||
{
|
||
"key": "language",
|
||
"type": "text",
|
||
"value": "{{language}}"
|
||
},
|
||
{
|
||
"key": "multilingual",
|
||
"type": "text",
|
||
"value": "true"
|
||
}
|
||
],
|
||
"body": {
|
||
"mode": "raw",
|
||
"raw": "{\n \"params\": {\n \"property_id\": 1\n }\n}",
|
||
"options": {
|
||
"raw": {
|
||
"language": "json"
|
||
}
|
||
}
|
||
},
|
||
"url": {
|
||
"raw": "{{base_url}}/app/v1/property/room/get",
|
||
"host": [
|
||
"{{base_url}}"
|
||
],
|
||
"path": [
|
||
"app",
|
||
"v1",
|
||
"property",
|
||
"room",
|
||
"get"
|
||
]
|
||
}
|
||
},
|
||
"response": []
|
||
},
|
||
{
|
||
"name": "Update Room",
|
||
"request": {
|
||
"method": "POST",
|
||
"header": [
|
||
{
|
||
"key": "authToken",
|
||
"type": "text",
|
||
"value": "{{user_token}}"
|
||
},
|
||
{
|
||
"key": "Content-Type",
|
||
"name": "Content-Type",
|
||
"type": "text",
|
||
"value": "application/json"
|
||
},
|
||
{
|
||
"key": "language",
|
||
"type": "text",
|
||
"value": "{{language}}"
|
||
},
|
||
{
|
||
"key": "multilingual",
|
||
"type": "text",
|
||
"value": "true"
|
||
}
|
||
],
|
||
"body": {
|
||
"mode": "raw",
|
||
"raw": "{\n \"params\": {\n \"property_id\": 1,\n \"id\" : 9,\n \"name\": \"Junior Room\",\n \"room_type_id\": 1,\n \"max_occupancy\": 3,\n \"max_adult\": 3,\n \"max_child\": 1,\n \"exclude_occupancy\" : [\n \"AAC\", \"AA\"\n ],\n \"room_size\" : 10,\n \"room_size_type\" : 1,\n \"room_type_count\" : 1,\n \"room_count\" : 20,\n \"bathroom_count\":3,\n \"toilet_count\":2,\n \"lounge_count\":2,\n \"max_child_number\":null,\n \"description\" : [{\"language_code\":\"en\",\"description\":\"very nice\"},{\"language_code\":\"de\",\"description\":\"Sehr schön\"},{\"language_code\":\"es\",\"description\":\"Muy bonita\"},{\"language_code\":\"tr\",\"description\":\"Çok Güzel\"}]\n }\n}",
|
||
"options": {
|
||
"raw": {
|
||
"language": "json"
|
||
}
|
||
}
|
||
},
|
||
"url": {
|
||
"raw": "{{base_url}}/app/v1/property/room/update",
|
||
"host": [
|
||
"{{base_url}}"
|
||
],
|
||
"path": [
|
||
"app",
|
||
"v1",
|
||
"property",
|
||
"room",
|
||
"update"
|
||
]
|
||
}
|
||
},
|
||
"response": []
|
||
},
|
||
{
|
||
"name": "Add Room",
|
||
"request": {
|
||
"method": "POST",
|
||
"header": [
|
||
{
|
||
"key": "authToken",
|
||
"type": "text",
|
||
"value": "{{user_token}}"
|
||
},
|
||
{
|
||
"key": "Content-Type",
|
||
"name": "Content-Type",
|
||
"type": "text",
|
||
"value": "application/json"
|
||
},
|
||
{
|
||
"key": "language",
|
||
"type": "text",
|
||
"value": "{{language}}"
|
||
},
|
||
{
|
||
"key": "multilingual",
|
||
"type": "text",
|
||
"value": "true"
|
||
}
|
||
],
|
||
"body": {
|
||
"mode": "raw",
|
||
"raw": "{\n \"params\": {\n \"property_id\": 1,\n \"name\": \"Hello World\",\n \"description\": [\n {\n \"language_code\": \"en\",\n \"description\": \"very nice\"\n },\n {\n \"language_code\": \"de\",\n \"description\": \"Sehr schön\"\n },\n {\n \"language_code\": \"es\",\n \"description\": \"Muy bonita\"\n },\n {\n \"language_code\": \"tr\",\n \"description\": \"Çok Güzel\"\n }\n ],\n \"room_type_id\": 1,\n \"max_occupancy\": 3,\n \"max_adult\": 3,\n \"max_child\": 1,\n \"room_size\": 1,\n \"room_size_type\" : 1,\n \"room_type_count\" : 1,\n \"room_count\" : 20,\n \"bathroom_count\":3,\n \"toilet_count\":2,\n \"lounge_count\":2,\n \"max_child_number\":null,\n \"exclude_occupancy\": [\n \"AC\",\n \"AAC\"\n ]\n }\n}",
|
||
"options": {
|
||
"raw": {
|
||
"language": "json"
|
||
}
|
||
}
|
||
},
|
||
"url": {
|
||
"raw": "{{base_url}}/app/v1/property/room/add",
|
||
"host": [
|
||
"{{base_url}}"
|
||
],
|
||
"path": [
|
||
"app",
|
||
"v1",
|
||
"property",
|
||
"room",
|
||
"add"
|
||
]
|
||
}
|
||
},
|
||
"response": []
|
||
},
|
||
{
|
||
"name": "Get Rooms with Rate Mapping",
|
||
"request": {
|
||
"method": "POST",
|
||
"header": [
|
||
{
|
||
"key": "authToken",
|
||
"type": "text",
|
||
"value": "{{user_token}}"
|
||
},
|
||
{
|
||
"key": "Content-Type",
|
||
"name": "Content-Type",
|
||
"type": "text",
|
||
"value": "application/json"
|
||
},
|
||
{
|
||
"key": "language",
|
||
"type": "text",
|
||
"value": "{{language}}"
|
||
},
|
||
{
|
||
"key": "multilingual",
|
||
"type": "text",
|
||
"value": "true"
|
||
}
|
||
],
|
||
"body": {
|
||
"mode": "raw",
|
||
"raw": "{\n \"params\": {\n \"property_id\": 1\n }\n}",
|
||
"options": {
|
||
"raw": {
|
||
"language": "json"
|
||
}
|
||
}
|
||
},
|
||
"url": {
|
||
"raw": "{{base_url}}/app/v1/property/rooms-with-rate-channel/get",
|
||
"host": [
|
||
"{{base_url}}"
|
||
],
|
||
"path": [
|
||
"app",
|
||
"v1",
|
||
"property",
|
||
"rooms-with-rate-channel",
|
||
"get"
|
||
]
|
||
}
|
||
},
|
||
"response": []
|
||
},
|
||
{
|
||
"name": "Get Rooms Rate Channel Checked",
|
||
"request": {
|
||
"method": "POST",
|
||
"header": [
|
||
{
|
||
"key": "authToken",
|
||
"type": "text",
|
||
"value": "{{user_token}}"
|
||
},
|
||
{
|
||
"key": "Content-Type",
|
||
"name": "Content-Type",
|
||
"type": "text",
|
||
"value": "application/json"
|
||
},
|
||
{
|
||
"key": "language",
|
||
"type": "text",
|
||
"value": "{{language}}"
|
||
},
|
||
{
|
||
"key": "multilingual",
|
||
"type": "text",
|
||
"value": "true"
|
||
}
|
||
],
|
||
"body": {
|
||
"mode": "raw",
|
||
"raw": "{\n \"params\": {\n \"property_id\": 1,\n \"channel_id\" : 3\n }\n}",
|
||
"options": {
|
||
"raw": {
|
||
"language": "json"
|
||
}
|
||
}
|
||
},
|
||
"url": {
|
||
"raw": "{{base_url}}/app/v1/property/channel-room-rate-mapping/get",
|
||
"host": [
|
||
"{{base_url}}"
|
||
],
|
||
"path": [
|
||
"app",
|
||
"v1",
|
||
"property",
|
||
"channel-room-rate-mapping",
|
||
"get"
|
||
]
|
||
}
|
||
},
|
||
"response": []
|
||
},
|
||
{
|
||
"name": "Add Room with Bed Type",
|
||
"request": {
|
||
"method": "POST",
|
||
"header": [
|
||
{
|
||
"key": "authToken",
|
||
"type": "text",
|
||
"value": "{{user_token}}"
|
||
},
|
||
{
|
||
"key": "Content-Type",
|
||
"name": "Content-Type",
|
||
"type": "text",
|
||
"value": "application/json"
|
||
},
|
||
{
|
||
"key": "language",
|
||
"type": "text",
|
||
"value": "l{{language}}"
|
||
},
|
||
{
|
||
"key": "multilingual",
|
||
"type": "text",
|
||
"value": "true"
|
||
}
|
||
],
|
||
"body": {
|
||
"mode": "raw",
|
||
"raw": "{\n \"params\": {\n \"property_id\": 1,\n \"name\": \"Yeni ekleme\",\n \"room_type_id\": 2,\n \"max_occupancy\": 1,\n \"max_adult\": 3,\n \"max_child\": 1,\n \"room_size\": 30,\n \"room_size_type\" : 1,\n \"room_type_count\" : 1,\n \"room_count\" : 20,\n \"bathroom_count\":3,\n \"toilet_count\":2,\n \"lounge_count\":2,\n \"max_child_number\":null,\n \"room_bed_group\": [\n [\n {\n \"bed_type_id\": 1,\n \"bed_type_count\": 2\n },\n {\n \"bed_type_id\": 2,\n \"bed_type_count\": 2\n },\n {\n \"bed_type_id\": 2,\n \"bed_type_count\": 127\n }\n ],\n [\n {\n \"bed_type_id\": 1,\n \"bed_type_count\": 2\n },\n {\n \"bed_type_id\": 2,\n \"bed_type_count\": 2\n }\n ]\n ],\n \"exclude_occupancy\": [\n \"AAC\",\n \"AA\"\n ],\n \"room_view_type\": [\n 1,\n 2\n ],\n \"description\": [\n {\n \"language_code\": \"en\",\n \"description\": \"very nice\"\n },\n {\n \"language_code\": \"de\",\n \"description\": \"Sehr schön\"\n },\n {\n \"language_code\": \"es\",\n \"description\": \"Muy bonita\"\n },\n {\n \"language_code\": \"tr\",\n \"description\": \"Çok Güzel\"\n }\n ]\n }\n}",
|
||
"options": {
|
||
"raw": {
|
||
"language": "json"
|
||
}
|
||
}
|
||
},
|
||
"url": {
|
||
"raw": "{{base_url}}/app/v1/property/room/add-room-bed",
|
||
"host": [
|
||
"{{base_url}}"
|
||
],
|
||
"path": [
|
||
"app",
|
||
"v1",
|
||
"property",
|
||
"room",
|
||
"add-room-bed"
|
||
]
|
||
}
|
||
},
|
||
"response": []
|
||
},
|
||
{
|
||
"name": "Update Room with Bed Type",
|
||
"request": {
|
||
"method": "POST",
|
||
"header": [
|
||
{
|
||
"key": "authToken",
|
||
"type": "text",
|
||
"value": "{{user_token}}"
|
||
},
|
||
{
|
||
"key": "Content-Type",
|
||
"name": "Content-Type",
|
||
"type": "text",
|
||
"value": "application/json"
|
||
},
|
||
{
|
||
"key": "language",
|
||
"type": "text",
|
||
"value": "l{{language}}"
|
||
},
|
||
{
|
||
"key": "multilingual",
|
||
"type": "text",
|
||
"value": "true"
|
||
}
|
||
],
|
||
"body": {
|
||
"mode": "raw",
|
||
"raw": "{\n \"params\": {\n \"property_id\": 1,\n \"room_id\": 1,\n \"name\": \"Premium Grand Suite\",\n \"room_type_id\": 2,\n \"max_occupancy\": 1,\n \"max_adult\": 3,\n \"max_child\": 1,\n \"room_size\": 30,\n \"room_size_type\" : 1,\n \"room_count\" : 20,\n \"room_type_count\" : 1,\n \"bathroom_count\":3,\n \"toilet_count\":2,\n \"lounge_count\":2,\n \"max_child_number\":1, \n \"room_bed_group\": [\n [\n {\n \"bed_type_id\": 1\n },\n {\n \"bed_type_id\": 2\n },\n {\n \"bed_type_id\": 2\n },\n {\n \"bed_type_id\": 2\n }\n ],\n [\n {\n \"bed_type_id\": 1\n },\n {\n \"bed_type_id\": 2\n }\n ]\n ],\n \"exclude_occupancy\": [\n \"AAC\",\n \"AA\"\n ],\n \"room_view_type\": [\n 1,\n 2\n ],\n \"description\": [\n {\n \"language_code\": \"en\",\n \"description\": \"very nice\"\n },\n {\n \"language_code\": \"de\",\n \"description\": \"Sehr schön\"\n },\n {\n \"language_code\": \"es\",\n \"description\": \"Muy bonita\"\n },\n {\n \"language_code\": \"tr\",\n \"description\": \"Çok Güzel\"\n }\n ]\n }\n}",
|
||
"options": {
|
||
"raw": {
|
||
"language": "json"
|
||
}
|
||
}
|
||
},
|
||
"url": {
|
||
"raw": "{{base_url}}/app/v1/property/room/update-room-bed",
|
||
"host": [
|
||
"{{base_url}}"
|
||
],
|
||
"path": [
|
||
"app",
|
||
"v1",
|
||
"property",
|
||
"room",
|
||
"update-room-bed"
|
||
]
|
||
}
|
||
},
|
||
"response": []
|
||
},
|
||
{
|
||
"name": "Get Room with Bed Type",
|
||
"request": {
|
||
"method": "POST",
|
||
"header": [
|
||
{
|
||
"key": "authToken",
|
||
"type": "text",
|
||
"value": "{{user_token}}"
|
||
},
|
||
{
|
||
"key": "Content-Type",
|
||
"name": "Content-Type",
|
||
"type": "text",
|
||
"value": "application/json"
|
||
},
|
||
{
|
||
"key": "language",
|
||
"type": "text",
|
||
"value": "l{{language}}"
|
||
},
|
||
{
|
||
"key": "multilingual",
|
||
"type": "text",
|
||
"value": "true"
|
||
}
|
||
],
|
||
"body": {
|
||
"mode": "raw",
|
||
"raw": "{\n \"params\": {\n \"property_id\": 76,\n \"room_id\" : 117\n }\n}",
|
||
"options": {
|
||
"raw": {
|
||
"language": "json"
|
||
}
|
||
}
|
||
},
|
||
"url": {
|
||
"raw": "{{base_url}}/app/v1/property/room/get-room-bed",
|
||
"host": [
|
||
"{{base_url}}"
|
||
],
|
||
"path": [
|
||
"app",
|
||
"v1",
|
||
"property",
|
||
"room",
|
||
"get-room-bed"
|
||
]
|
||
}
|
||
},
|
||
"response": []
|
||
},
|
||
{
|
||
"name": "Get Rooms Inventory",
|
||
"request": {
|
||
"method": "POST",
|
||
"header": [
|
||
{
|
||
"key": "authToken",
|
||
"type": "text",
|
||
"value": "{{user_token}}"
|
||
},
|
||
{
|
||
"key": "Content-Type",
|
||
"name": "Content-Type",
|
||
"type": "text",
|
||
"value": "application/json"
|
||
},
|
||
{
|
||
"key": "language",
|
||
"type": "text",
|
||
"value": "{{language}}"
|
||
},
|
||
{
|
||
"key": "multilingual",
|
||
"type": "text",
|
||
"value": "true"
|
||
}
|
||
],
|
||
"body": {
|
||
"mode": "raw",
|
||
"raw": "{\n \"params\": {\n \"property_id\": \"217\",\n \"channel_id\": \"1\",\n \"start_date\": \"2021-04-27\",\n \"end_date\": \"2021-05-11\"\n }\n}",
|
||
"options": {
|
||
"raw": {
|
||
"language": "json"
|
||
}
|
||
}
|
||
},
|
||
"url": {
|
||
"raw": "{{base_url}}/app/v1/property/rooms-inventory/get?XDEBUG_SESSION_START=PHPSTORM",
|
||
"host": [
|
||
"{{base_url}}"
|
||
],
|
||
"path": [
|
||
"app",
|
||
"v1",
|
||
"property",
|
||
"rooms-inventory",
|
||
"get"
|
||
],
|
||
"query": [
|
||
{
|
||
"key": "XDEBUG_SESSION_START",
|
||
"value": "PHPSTORM"
|
||
}
|
||
]
|
||
}
|
||
},
|
||
"response": []
|
||
},
|
||
{
|
||
"name": "Post Pdf İnventory Link",
|
||
"request": {
|
||
"method": "POST",
|
||
"header": [
|
||
{
|
||
"key": "authToken",
|
||
"type": "text",
|
||
"value": "{{user_token}}"
|
||
},
|
||
{
|
||
"key": "Content-Type",
|
||
"name": "Content-Type",
|
||
"type": "text",
|
||
"value": "application/json"
|
||
},
|
||
{
|
||
"key": "language",
|
||
"type": "text",
|
||
"value": "{{language}}"
|
||
},
|
||
{
|
||
"key": "multilingual",
|
||
"type": "text",
|
||
"value": "true"
|
||
}
|
||
],
|
||
"body": {
|
||
"mode": "raw",
|
||
"raw": "{\n \"params\": {\n \"property_id\": \"217\",\n \"channel_id\": \"2\"\n }\n}",
|
||
"options": {
|
||
"raw": {
|
||
"language": "json"
|
||
}
|
||
}
|
||
},
|
||
"url": {
|
||
"raw": "{{base_url}}/app/v1/property/room-rate-mapping/post-inventory-link?XDEBUG_SESSION_START=PHPSTORM",
|
||
"host": [
|
||
"{{base_url}}"
|
||
],
|
||
"path": [
|
||
"app",
|
||
"v1",
|
||
"property",
|
||
"room-rate-mapping",
|
||
"post-inventory-link"
|
||
],
|
||
"query": [
|
||
{
|
||
"key": "XDEBUG_SESSION_START",
|
||
"value": "PHPSTORM"
|
||
}
|
||
]
|
||
}
|
||
},
|
||
"response": []
|
||
},
|
||
{
|
||
"name": "Get Pdf Inventory",
|
||
"request": {
|
||
"method": "POST",
|
||
"header": [
|
||
{
|
||
"key": "authToken",
|
||
"type": "text",
|
||
"value": "{{user_token}}"
|
||
},
|
||
{
|
||
"key": "Content-Type",
|
||
"name": "Content-Type",
|
||
"type": "text",
|
||
"value": "application/json"
|
||
},
|
||
{
|
||
"key": "language",
|
||
"type": "text",
|
||
"value": "{{language}}"
|
||
},
|
||
{
|
||
"key": "multilingual",
|
||
"type": "text",
|
||
"value": "true"
|
||
}
|
||
],
|
||
"body": {
|
||
"mode": "raw",
|
||
"raw": "{\n \"params\": {\n \"property_id\": \"217\",\n \"channel_id\": \"1\",\n \"start_date\": \"2021-04-27\",\n \"end_date\": \"2021-05-11\"\n }\n}",
|
||
"options": {
|
||
"raw": {
|
||
"language": "json"
|
||
}
|
||
}
|
||
},
|
||
"url": {
|
||
"raw": "{{base_url}}/app/v1/property/rooms-inventory/get?XDEBUG_SESSION_START=PHPSTORM",
|
||
"host": [
|
||
"{{base_url}}"
|
||
],
|
||
"path": [
|
||
"app",
|
||
"v1",
|
||
"property",
|
||
"rooms-inventory",
|
||
"get"
|
||
],
|
||
"query": [
|
||
{
|
||
"key": "XDEBUG_SESSION_START",
|
||
"value": "PHPSTORM"
|
||
}
|
||
]
|
||
}
|
||
},
|
||
"response": []
|
||
},
|
||
{
|
||
"name": "Get Group Inventory",
|
||
"request": {
|
||
"method": "POST",
|
||
"header": [
|
||
{
|
||
"key": "authToken",
|
||
"type": "text",
|
||
"value": "{{user_token}}"
|
||
},
|
||
{
|
||
"key": "Content-Type",
|
||
"name": "Content-Type",
|
||
"type": "text",
|
||
"value": "application/json"
|
||
},
|
||
{
|
||
"key": "language",
|
||
"type": "text",
|
||
"value": "{{language}}"
|
||
},
|
||
{
|
||
"key": "multilingual",
|
||
"type": "text",
|
||
"value": "true"
|
||
}
|
||
],
|
||
"body": {
|
||
"mode": "raw",
|
||
"raw": "{\n \"params\": {\n \"property_id\": \"217\",\n \"channel_group_id\": \"11\",\n \"start_date\": \"2021-04-07\",\n \"end_date\": \"2021-04-21\"\n }\n}",
|
||
"options": {
|
||
"raw": {
|
||
"language": "json"
|
||
}
|
||
}
|
||
},
|
||
"url": {
|
||
"raw": "{{base_url}}/app/v1/property/group-inventory/get?XDEBUG_SESSION_START=PHPSTORM",
|
||
"host": [
|
||
"{{base_url}}"
|
||
],
|
||
"path": [
|
||
"app",
|
||
"v1",
|
||
"property",
|
||
"group-inventory",
|
||
"get"
|
||
],
|
||
"query": [
|
||
{
|
||
"key": "XDEBUG_SESSION_START",
|
||
"value": "PHPSTORM"
|
||
}
|
||
]
|
||
}
|
||
},
|
||
"response": []
|
||
},
|
||
{
|
||
"name": "Add Rooms Inventory",
|
||
"request": {
|
||
"method": "POST",
|
||
"header": [
|
||
{
|
||
"key": "authToken",
|
||
"type": "text",
|
||
"value": "{{user_token}}"
|
||
},
|
||
{
|
||
"key": "Content-Type",
|
||
"name": "Content-Type",
|
||
"type": "text",
|
||
"value": "application/json"
|
||
},
|
||
{
|
||
"key": "language",
|
||
"type": "text",
|
||
"value": "{{language}}"
|
||
},
|
||
{
|
||
"key": "multilingual",
|
||
"type": "text",
|
||
"value": "true"
|
||
}
|
||
],
|
||
"body": {
|
||
"mode": "raw",
|
||
"raw": "{\n \"params\": {\n \"property_id\": \"217\",\n \"channel_id\": \"5\",\n \"data\": {\n \"MNS_1_659_206_20210410\": 3\n }\n }\n}",
|
||
"options": {
|
||
"raw": {
|
||
"language": "json"
|
||
}
|
||
}
|
||
},
|
||
"url": {
|
||
"raw": "{{base_url}}/app/v1/property/room-rate-mapping/rate-availability-update?XDEBUG_SESSION_START=PHPSTORM",
|
||
"host": [
|
||
"{{base_url}}"
|
||
],
|
||
"path": [
|
||
"app",
|
||
"v1",
|
||
"property",
|
||
"room-rate-mapping",
|
||
"rate-availability-update"
|
||
],
|
||
"query": [
|
||
{
|
||
"key": "XDEBUG_SESSION_START",
|
||
"value": "PHPSTORM"
|
||
}
|
||
]
|
||
}
|
||
},
|
||
"response": []
|
||
},
|
||
{
|
||
"name": "Room View Types",
|
||
"request": {
|
||
"method": "POST",
|
||
"header": [
|
||
{
|
||
"key": "authToken",
|
||
"value": "{{user_token}}",
|
||
"type": "text"
|
||
},
|
||
{
|
||
"key": "Content-Type",
|
||
"value": "application/json",
|
||
"type": "text"
|
||
},
|
||
{
|
||
"key": "language",
|
||
"value": "{{language}}",
|
||
"type": "text"
|
||
}
|
||
],
|
||
"url": {
|
||
"raw": "{{base_url}}/app/v1/property/room-view-type/list",
|
||
"host": [
|
||
"{{base_url}}"
|
||
],
|
||
"path": [
|
||
"app",
|
||
"v1",
|
||
"property",
|
||
"room-view-type",
|
||
"list"
|
||
]
|
||
}
|
||
},
|
||
"response": []
|
||
},
|
||
{
|
||
"name": "Get Room Size Type List",
|
||
"request": {
|
||
"method": "POST",
|
||
"header": [
|
||
{
|
||
"key": "Content-Type",
|
||
"name": "Content-Type",
|
||
"value": "application/json",
|
||
"type": "text"
|
||
},
|
||
{
|
||
"key": "language",
|
||
"value": "{{language}}",
|
||
"type": "text"
|
||
},
|
||
{
|
||
"key": "authToken",
|
||
"value": "{{user_token}}",
|
||
"type": "text"
|
||
}
|
||
],
|
||
"body": {
|
||
"mode": "raw",
|
||
"raw": "{\r\n \"params\": {\r\n \"property_id\": 1\r\n }\r\n}",
|
||
"options": {
|
||
"raw": {
|
||
"language": "json"
|
||
}
|
||
}
|
||
},
|
||
"url": {
|
||
"raw": "{{base_url}}/app/v1/property/room-size-types/get",
|
||
"host": [
|
||
"{{base_url}}"
|
||
],
|
||
"path": [
|
||
"app",
|
||
"v1",
|
||
"property",
|
||
"room-size-types",
|
||
"get"
|
||
]
|
||
}
|
||
},
|
||
"response": []
|
||
}
|
||
]
|
||
},
|
||
{
|
||
"name": "ROOM FACT",
|
||
"item": [
|
||
{
|
||
"name": "Update Fact Mapping",
|
||
"request": {
|
||
"method": "POST",
|
||
"header": [
|
||
{
|
||
"key": "authToken",
|
||
"value": "{{user_token}}",
|
||
"type": "text"
|
||
},
|
||
{
|
||
"key": "Content-Type",
|
||
"value": "application/json",
|
||
"type": "text"
|
||
},
|
||
{
|
||
"key": "language",
|
||
"value": "{{language}}",
|
||
"type": "text"
|
||
},
|
||
{
|
||
"key": "multilingual",
|
||
"value": "true",
|
||
"type": "text"
|
||
}
|
||
],
|
||
"body": {
|
||
"mode": "raw",
|
||
"raw": "{\n \"params\": {\n \"property_id\": 1,\n \"room_id\": 2,\n \"property_room_fact\": [\n {\n \"id\": 294,\n \"is_selected\": true\n },\n {\n \"id\": 343,\n \"is_selected\": false\n },\n {\n \"id\": 356,\n \"is_selected\": true\n },\n {\n \"id\": 397,\n \"is_selected\": true\n }\n ]\n }\n}"
|
||
},
|
||
"url": {
|
||
"raw": "{{base_url}}/app/v1/property/room-fact-mapping/update",
|
||
"host": [
|
||
"{{base_url}}"
|
||
],
|
||
"path": [
|
||
"app",
|
||
"v1",
|
||
"property",
|
||
"room-fact-mapping",
|
||
"update"
|
||
]
|
||
}
|
||
},
|
||
"response": []
|
||
},
|
||
{
|
||
"name": "Get Fact List",
|
||
"request": {
|
||
"method": "POST",
|
||
"header": [
|
||
{
|
||
"key": "authToken",
|
||
"value": "{{user_token}}",
|
||
"type": "text"
|
||
},
|
||
{
|
||
"key": "Content-Type",
|
||
"value": "application/json",
|
||
"type": "text"
|
||
},
|
||
{
|
||
"key": "language",
|
||
"value": "{{language}}",
|
||
"type": "text"
|
||
},
|
||
{
|
||
"key": "multilingual",
|
||
"value": "true",
|
||
"type": "text"
|
||
}
|
||
],
|
||
"body": {
|
||
"mode": "raw",
|
||
"raw": "{\n \"params\": {\n \"property_id\": 1,\n \"room_id\" : 1\n }\n}"
|
||
},
|
||
"url": {
|
||
"raw": "{{base_url}}/app/v1/property/room-fact/list",
|
||
"host": [
|
||
"{{base_url}}"
|
||
],
|
||
"path": [
|
||
"app",
|
||
"v1",
|
||
"property",
|
||
"room-fact",
|
||
"list"
|
||
]
|
||
}
|
||
},
|
||
"response": []
|
||
}
|
||
]
|
||
},
|
||
{
|
||
"name": "ROOM PHOTO",
|
||
"item": [
|
||
{
|
||
"name": "Update Photo Mapping",
|
||
"request": {
|
||
"method": "POST",
|
||
"header": [
|
||
{
|
||
"key": "authToken",
|
||
"value": "{{user_token}}",
|
||
"type": "text"
|
||
},
|
||
{
|
||
"key": "Content-Type",
|
||
"value": "application/json",
|
||
"type": "text"
|
||
},
|
||
{
|
||
"key": "language",
|
||
"value": "{{language}}",
|
||
"type": "text"
|
||
},
|
||
{
|
||
"key": "multilingual",
|
||
"value": "true",
|
||
"type": "text"
|
||
}
|
||
],
|
||
"body": {
|
||
"mode": "raw",
|
||
"raw": "{\n \"params\": {\n \"property_id\": 1,\n \"room_id\": 1,\n \"property_room_photo\": [\n {\n \"id\": 7,\n \"is_selected\": true\n },\n {\n \"id\": 8,\n \"is_selected\": false\n },\n {\n \"id\": 9,\n \"is_selected\": true\n },\n {\n \"id\": 10,\n \"is_selected\": true\n }\n ]\n }\n}"
|
||
},
|
||
"url": {
|
||
"raw": "{{base_url}}/app/v1/property/room-photo-mapping/update",
|
||
"host": [
|
||
"{{base_url}}"
|
||
],
|
||
"path": [
|
||
"app",
|
||
"v1",
|
||
"property",
|
||
"room-photo-mapping",
|
||
"update"
|
||
]
|
||
}
|
||
},
|
||
"response": []
|
||
},
|
||
{
|
||
"name": "Get Photo List",
|
||
"request": {
|
||
"method": "POST",
|
||
"header": [
|
||
{
|
||
"key": "authToken",
|
||
"type": "text",
|
||
"value": "{{user_token}}"
|
||
},
|
||
{
|
||
"key": "Content-Type",
|
||
"type": "text",
|
||
"value": "application/json"
|
||
},
|
||
{
|
||
"key": "language",
|
||
"type": "text",
|
||
"value": "{{language}}"
|
||
},
|
||
{
|
||
"key": "multilingual",
|
||
"type": "text",
|
||
"value": "true"
|
||
}
|
||
],
|
||
"body": {
|
||
"mode": "raw",
|
||
"raw": "{\n \"params\": {\n \"property_id\": 1,\n \"room_id\" : 2\n }\n}"
|
||
},
|
||
"url": {
|
||
"raw": "{{base_url}}/app/v1/property/room-photo/list",
|
||
"host": [
|
||
"{{base_url}}"
|
||
],
|
||
"path": [
|
||
"app",
|
||
"v1",
|
||
"property",
|
||
"room-photo",
|
||
"list"
|
||
]
|
||
}
|
||
},
|
||
"response": []
|
||
}
|
||
],
|
||
"event": [
|
||
{
|
||
"listen": "prerequest",
|
||
"script": {
|
||
"type": "text/javascript",
|
||
"exec": [
|
||
""
|
||
]
|
||
}
|
||
},
|
||
{
|
||
"listen": "test",
|
||
"script": {
|
||
"type": "text/javascript",
|
||
"exec": [
|
||
""
|
||
]
|
||
}
|
||
}
|
||
]
|
||
},
|
||
{
|
||
"name": "ROOM AVAILABILITY",
|
||
"item": [
|
||
{
|
||
"name": "Add Room Availability",
|
||
"request": {
|
||
"method": "POST",
|
||
"header": [
|
||
{
|
||
"key": "authToken",
|
||
"type": "text",
|
||
"value": "{{user_token}}"
|
||
},
|
||
{
|
||
"key": "Content-Type",
|
||
"name": "Content-Type",
|
||
"type": "text",
|
||
"value": "application/json"
|
||
},
|
||
{
|
||
"key": "language",
|
||
"type": "text",
|
||
"value": "{{language}}"
|
||
},
|
||
{
|
||
"key": "multilingual",
|
||
"type": "text",
|
||
"value": "true"
|
||
}
|
||
],
|
||
"body": {
|
||
"mode": "raw",
|
||
"raw": "{\n \"params\": {\n \"property_id\": 1,\n \"name\": \"Acenta C için fiyat\",\n \"description\": \"Description\",\n \"min_stay\": 1\n }\n}",
|
||
"options": {
|
||
"raw": {
|
||
"language": "json"
|
||
}
|
||
}
|
||
},
|
||
"url": {
|
||
"raw": "{{base_url}}/app/v1/property/room-rate-price/add",
|
||
"host": [
|
||
"{{base_url}}"
|
||
],
|
||
"path": [
|
||
"app",
|
||
"v1",
|
||
"property",
|
||
"room-rate-price",
|
||
"add"
|
||
]
|
||
}
|
||
},
|
||
"response": []
|
||
},
|
||
{
|
||
"name": "Get Room Availability",
|
||
"request": {
|
||
"method": "POST",
|
||
"header": [
|
||
{
|
||
"key": "authToken",
|
||
"type": "text",
|
||
"value": "{{user_token}}"
|
||
},
|
||
{
|
||
"key": "Content-Type",
|
||
"name": "Content-Type",
|
||
"type": "text",
|
||
"value": "application/json"
|
||
},
|
||
{
|
||
"key": "language",
|
||
"type": "text",
|
||
"value": "{{language}}"
|
||
},
|
||
{
|
||
"key": "multilingual",
|
||
"type": "text",
|
||
"value": "true"
|
||
}
|
||
],
|
||
"body": {
|
||
"mode": "raw",
|
||
"raw": "{\n \"params\": {\n \"property_id\": 1\n }\n}",
|
||
"options": {
|
||
"raw": {
|
||
"language": "json"
|
||
}
|
||
}
|
||
},
|
||
"url": {
|
||
"raw": "{{base_url}}/app/v1/property/room-rate/get",
|
||
"host": [
|
||
"{{base_url}}"
|
||
],
|
||
"path": [
|
||
"app",
|
||
"v1",
|
||
"property",
|
||
"room-rate",
|
||
"get"
|
||
]
|
||
}
|
||
},
|
||
"response": []
|
||
},
|
||
{
|
||
"name": "Delete Room Availability",
|
||
"request": {
|
||
"method": "POST",
|
||
"header": [
|
||
{
|
||
"key": "authToken",
|
||
"type": "text",
|
||
"value": "{{user_token}}"
|
||
},
|
||
{
|
||
"key": "Content-Type",
|
||
"name": "Content-Type",
|
||
"type": "text",
|
||
"value": "application/json"
|
||
},
|
||
{
|
||
"key": "language",
|
||
"type": "text",
|
||
"value": "{{language}}"
|
||
},
|
||
{
|
||
"key": "multilingual",
|
||
"type": "text",
|
||
"value": "true"
|
||
}
|
||
],
|
||
"body": {
|
||
"mode": "raw",
|
||
"raw": "{\n \"params\": {\n \t\"id\" : 1,\n \"property_id\": 1\n }\n}",
|
||
"options": {
|
||
"raw": {
|
||
"language": "json"
|
||
}
|
||
}
|
||
},
|
||
"url": {
|
||
"raw": "{{base_url}}/app/v1/property/room-rate/delete",
|
||
"host": [
|
||
"{{base_url}}"
|
||
],
|
||
"path": [
|
||
"app",
|
||
"v1",
|
||
"property",
|
||
"room-rate",
|
||
"delete"
|
||
]
|
||
}
|
||
},
|
||
"response": []
|
||
},
|
||
{
|
||
"name": "Update Room Availability",
|
||
"request": {
|
||
"method": "POST",
|
||
"header": [
|
||
{
|
||
"key": "authToken",
|
||
"type": "text",
|
||
"value": "{{user_token}}"
|
||
},
|
||
{
|
||
"key": "Content-Type",
|
||
"name": "Content-Type",
|
||
"type": "text",
|
||
"value": "application/json"
|
||
},
|
||
{
|
||
"key": "language",
|
||
"type": "text",
|
||
"value": "{{language}}"
|
||
},
|
||
{
|
||
"key": "multilingual",
|
||
"type": "text",
|
||
"value": "true"
|
||
}
|
||
],
|
||
"body": {
|
||
"mode": "raw",
|
||
"raw": "{\n \"params\": {\n \"property_id\": 1,\n \"id\" : 1,\n \"name\": \"Acenta AA için fiyat\",\n \"description\": \"Description\",\n \"min_stay\": 1,\n \"status\" : 1\n }\n}",
|
||
"options": {
|
||
"raw": {
|
||
"language": "json"
|
||
}
|
||
}
|
||
},
|
||
"url": {
|
||
"raw": "{{base_url}}/app/v1/property/room-rate/update",
|
||
"host": [
|
||
"{{base_url}}"
|
||
],
|
||
"path": [
|
||
"app",
|
||
"v1",
|
||
"property",
|
||
"room-rate",
|
||
"update"
|
||
]
|
||
}
|
||
},
|
||
"response": []
|
||
}
|
||
],
|
||
"event": [
|
||
{
|
||
"listen": "prerequest",
|
||
"script": {
|
||
"type": "text/javascript",
|
||
"exec": [
|
||
""
|
||
]
|
||
}
|
||
},
|
||
{
|
||
"listen": "test",
|
||
"script": {
|
||
"type": "text/javascript",
|
||
"exec": [
|
||
""
|
||
]
|
||
}
|
||
}
|
||
]
|
||
},
|
||
{
|
||
"name": "ROOM RATE",
|
||
"item": [
|
||
{
|
||
"name": "Delete Rate",
|
||
"request": {
|
||
"method": "POST",
|
||
"header": [
|
||
{
|
||
"key": "authToken",
|
||
"type": "text",
|
||
"value": "{{user_token}}"
|
||
},
|
||
{
|
||
"key": "Content-Type",
|
||
"name": "Content-Type",
|
||
"type": "text",
|
||
"value": "application/json"
|
||
},
|
||
{
|
||
"key": "language",
|
||
"type": "text",
|
||
"value": "{{language}}"
|
||
},
|
||
{
|
||
"key": "multilingual",
|
||
"type": "text",
|
||
"value": "true"
|
||
}
|
||
],
|
||
"body": {
|
||
"mode": "raw",
|
||
"raw": "{\n \"params\": {\n \t\"id\" : 1,\n \"property_id\": 1\n }\n}",
|
||
"options": {
|
||
"raw": {
|
||
"language": "json"
|
||
}
|
||
}
|
||
},
|
||
"url": {
|
||
"raw": "{{base_url}}/app/v1/property/room-rate/delete",
|
||
"host": [
|
||
"{{base_url}}"
|
||
],
|
||
"path": [
|
||
"app",
|
||
"v1",
|
||
"property",
|
||
"room-rate",
|
||
"delete"
|
||
]
|
||
}
|
||
},
|
||
"response": []
|
||
},
|
||
{
|
||
"name": "Get Rate",
|
||
"request": {
|
||
"method": "POST",
|
||
"header": [
|
||
{
|
||
"key": "authToken",
|
||
"type": "text",
|
||
"value": "{{user_token}}"
|
||
},
|
||
{
|
||
"key": "Content-Type",
|
||
"name": "Content-Type",
|
||
"type": "text",
|
||
"value": "application/json"
|
||
},
|
||
{
|
||
"key": "language",
|
||
"type": "text",
|
||
"value": "{{language}}"
|
||
},
|
||
{
|
||
"key": "multilingual",
|
||
"type": "text",
|
||
"value": "true"
|
||
}
|
||
],
|
||
"body": {
|
||
"mode": "raw",
|
||
"raw": "{\n \"params\": {\n \"property_id\": 1\n }\n}",
|
||
"options": {
|
||
"raw": {
|
||
"language": "json"
|
||
}
|
||
}
|
||
},
|
||
"url": {
|
||
"raw": "{{base_url}}/app/v1/property/room-rate/get",
|
||
"host": [
|
||
"{{base_url}}"
|
||
],
|
||
"path": [
|
||
"app",
|
||
"v1",
|
||
"property",
|
||
"room-rate",
|
||
"get"
|
||
]
|
||
}
|
||
},
|
||
"response": []
|
||
},
|
||
{
|
||
"name": "Edit Rate",
|
||
"request": {
|
||
"method": "POST",
|
||
"header": [
|
||
{
|
||
"key": "authToken",
|
||
"type": "text",
|
||
"value": "{{user_token}}"
|
||
},
|
||
{
|
||
"key": "Content-Type",
|
||
"name": "Content-Type",
|
||
"type": "text",
|
||
"value": "application/json"
|
||
},
|
||
{
|
||
"key": "language",
|
||
"type": "text",
|
||
"value": "{{language}}"
|
||
},
|
||
{
|
||
"key": "multilingual",
|
||
"type": "text",
|
||
"value": "true"
|
||
}
|
||
],
|
||
"body": {
|
||
"mode": "raw",
|
||
"raw": "{\n \"params\": {\n \"property_id\": 247,\n \"room_rate_id\": 189\n }\n}",
|
||
"options": {
|
||
"raw": {
|
||
"language": "json"
|
||
}
|
||
}
|
||
},
|
||
"url": {
|
||
"raw": "{{base_url}}/app/v1/property/room-rate/edit",
|
||
"host": [
|
||
"{{base_url}}"
|
||
],
|
||
"path": [
|
||
"app",
|
||
"v1",
|
||
"property",
|
||
"room-rate",
|
||
"edit"
|
||
]
|
||
}
|
||
},
|
||
"response": []
|
||
},
|
||
{
|
||
"name": "Update Rate",
|
||
"request": {
|
||
"method": "POST",
|
||
"header": [
|
||
{
|
||
"key": "authToken",
|
||
"type": "text",
|
||
"value": "{{user_token}}"
|
||
},
|
||
{
|
||
"key": "Content-Type",
|
||
"name": "Content-Type",
|
||
"type": "text",
|
||
"value": "application/json"
|
||
},
|
||
{
|
||
"key": "language",
|
||
"type": "text",
|
||
"value": "{{language}}"
|
||
},
|
||
{
|
||
"key": "multilingual",
|
||
"type": "text",
|
||
"value": "true"
|
||
}
|
||
],
|
||
"body": {
|
||
"mode": "raw",
|
||
"raw": "{\n \"params\": {\n \"property_id\": 1,\n \"id\": 10,\n \"name\": \"Tamtam pansiyon\",\n \"description\": \"Description\",\n \"accommodation_type\": 13,\n \"min_stay\": 1,\n \"status\": 1,\n \"facts\": [85 ]\n }\n}",
|
||
"options": {
|
||
"raw": {
|
||
"language": "json"
|
||
}
|
||
}
|
||
},
|
||
"url": {
|
||
"raw": "{{base_url}}/app/v1/property/room-rate/update",
|
||
"host": [
|
||
"{{base_url}}"
|
||
],
|
||
"path": [
|
||
"app",
|
||
"v1",
|
||
"property",
|
||
"room-rate",
|
||
"update"
|
||
]
|
||
}
|
||
},
|
||
"response": []
|
||
},
|
||
{
|
||
"name": "Add Rate",
|
||
"request": {
|
||
"method": "POST",
|
||
"header": [
|
||
{
|
||
"key": "authToken",
|
||
"type": "text",
|
||
"value": "{{user_token}}"
|
||
},
|
||
{
|
||
"key": "Content-Type",
|
||
"name": "Content-Type",
|
||
"type": "text",
|
||
"value": "application/json"
|
||
},
|
||
{
|
||
"key": "language",
|
||
"type": "text",
|
||
"value": "{{language}}"
|
||
},
|
||
{
|
||
"key": "multilingual",
|
||
"type": "text",
|
||
"value": "true"
|
||
}
|
||
],
|
||
"body": {
|
||
"mode": "raw",
|
||
"raw": "{\n \"params\": {\n \"property_id\": 1,\n \"name\": \"Weekend Special 5\",\n \"description\": \"Description\",\n \"accommodation_type\" : 13,\n \"min_stay\": 1,\n \"max_stay\": 5,\n \"facts\": [ 39,40,41,42 ]\n }\n}",
|
||
"options": {
|
||
"raw": {
|
||
"language": "json"
|
||
}
|
||
}
|
||
},
|
||
"url": {
|
||
"raw": "{{base_url}}/app/v1/property/room-rate/add-with-inclusion",
|
||
"host": [
|
||
"{{base_url}}"
|
||
],
|
||
"path": [
|
||
"app",
|
||
"v1",
|
||
"property",
|
||
"room-rate",
|
||
"add-with-inclusion"
|
||
]
|
||
}
|
||
},
|
||
"response": []
|
||
}
|
||
]
|
||
},
|
||
{
|
||
"name": "ROOM RATE MAPPING",
|
||
"item": [
|
||
{
|
||
"name": "Get Property Accommodation Types",
|
||
"request": {
|
||
"method": "POST",
|
||
"header": [
|
||
{
|
||
"key": "authToken",
|
||
"type": "text",
|
||
"value": "{{user_token}}"
|
||
},
|
||
{
|
||
"key": "Content-Type",
|
||
"name": "Content-Type",
|
||
"type": "text",
|
||
"value": "application/json"
|
||
},
|
||
{
|
||
"key": "language",
|
||
"type": "text",
|
||
"value": "{{language}}"
|
||
},
|
||
{
|
||
"key": "multilingual",
|
||
"type": "text",
|
||
"value": "true"
|
||
}
|
||
],
|
||
"body": {
|
||
"mode": "raw",
|
||
"raw": "{\n \"params\": {\n \"property_id\": 1\n }\n}",
|
||
"options": {
|
||
"raw": {
|
||
"language": "json"
|
||
}
|
||
}
|
||
},
|
||
"url": {
|
||
"raw": "{{base_url}}/app/v1/property/accommodation-types/get",
|
||
"host": [
|
||
"{{base_url}}"
|
||
],
|
||
"path": [
|
||
"app",
|
||
"v1",
|
||
"property",
|
||
"accommodation-types",
|
||
"get"
|
||
]
|
||
}
|
||
},
|
||
"response": []
|
||
},
|
||
{
|
||
"name": "Get Rate Mapping",
|
||
"request": {
|
||
"method": "POST",
|
||
"header": [
|
||
{
|
||
"key": "authToken",
|
||
"type": "text",
|
||
"value": "{{user_token}}"
|
||
},
|
||
{
|
||
"key": "Content-Type",
|
||
"name": "Content-Type",
|
||
"type": "text",
|
||
"value": "application/json"
|
||
},
|
||
{
|
||
"key": "language",
|
||
"type": "text",
|
||
"value": "{{language}}"
|
||
},
|
||
{
|
||
"key": "multilingual",
|
||
"type": "text",
|
||
"value": "true"
|
||
}
|
||
],
|
||
"body": {
|
||
"mode": "raw",
|
||
"raw": "{\n \"params\": {\n \"property_id\": 1,\n \"room_id\" : 1,\n \"with\" : [\"propertyRoomRate\"]\n }\n}",
|
||
"options": {
|
||
"raw": {
|
||
"language": "json"
|
||
}
|
||
}
|
||
},
|
||
"url": {
|
||
"raw": "{{base_url}}/app/v1/property/room-rate-mapping/get",
|
||
"host": [
|
||
"{{base_url}}"
|
||
],
|
||
"path": [
|
||
"app",
|
||
"v1",
|
||
"property",
|
||
"room-rate-mapping",
|
||
"get"
|
||
]
|
||
}
|
||
},
|
||
"response": []
|
||
},
|
||
{
|
||
"name": "Add Rate Mapping",
|
||
"request": {
|
||
"method": "POST",
|
||
"header": [
|
||
{
|
||
"key": "authToken",
|
||
"type": "text",
|
||
"value": "{{user_token}}"
|
||
},
|
||
{
|
||
"key": "Content-Type",
|
||
"name": "Content-Type",
|
||
"type": "text",
|
||
"value": "application/json"
|
||
},
|
||
{
|
||
"key": "language",
|
||
"type": "text",
|
||
"value": "{{language}}"
|
||
},
|
||
{
|
||
"key": "multilingual",
|
||
"type": "text",
|
||
"value": "true"
|
||
}
|
||
],
|
||
"body": {
|
||
"mode": "raw",
|
||
"raw": "{\r\n \"params\": {\r\n \"property_id\": 1,\r\n \"room_id\": 5,\r\n \"room_rate_id\": 5,\r\n \"description\": \"Test Tessst Mapping\",\r\n \"rack_rate\": 3.5,\r\n \"included_occupancy\": 1\r\n }\r\n}",
|
||
"options": {
|
||
"raw": {
|
||
"language": "json"
|
||
}
|
||
}
|
||
},
|
||
"url": {
|
||
"raw": "{{base_url}}/app/v1/property/room-rate-mapping/add",
|
||
"host": [
|
||
"{{base_url}}"
|
||
],
|
||
"path": [
|
||
"app",
|
||
"v1",
|
||
"property",
|
||
"room-rate-mapping",
|
||
"add"
|
||
]
|
||
}
|
||
},
|
||
"response": []
|
||
},
|
||
{
|
||
"name": "Update Rate Mapping",
|
||
"request": {
|
||
"method": "POST",
|
||
"header": [
|
||
{
|
||
"key": "authToken",
|
||
"type": "text",
|
||
"value": "{{user_token}}"
|
||
},
|
||
{
|
||
"key": "Content-Type",
|
||
"name": "Content-Type",
|
||
"type": "text",
|
||
"value": "application/json"
|
||
},
|
||
{
|
||
"key": "language",
|
||
"type": "text",
|
||
"value": "{{language}}"
|
||
},
|
||
{
|
||
"key": "multilingual",
|
||
"type": "text",
|
||
"value": "true"
|
||
}
|
||
],
|
||
"body": {
|
||
"mode": "raw",
|
||
"raw": "{\n \"params\": {\n \"property_id\": 1,\n \"id\" : 1,\n \"room_id\": 1,\n \"room_rate_id\": 2,\n \"description\": \"Description 155555\",\n \"rack_rate\": 1.122222,\n \"included_occupancy\": 1,\n \"status\" : 1\n }\n}",
|
||
"options": {
|
||
"raw": {
|
||
"language": "json"
|
||
}
|
||
}
|
||
},
|
||
"url": {
|
||
"raw": "{{base_url}}/app/v1/property/room-rate-mapping/update",
|
||
"host": [
|
||
"{{base_url}}"
|
||
],
|
||
"path": [
|
||
"app",
|
||
"v1",
|
||
"property",
|
||
"room-rate-mapping",
|
||
"update"
|
||
]
|
||
}
|
||
},
|
||
"response": []
|
||
},
|
||
{
|
||
"name": "Active/Passive Room Rate Mapping",
|
||
"request": {
|
||
"method": "POST",
|
||
"header": [
|
||
{
|
||
"key": "authToken",
|
||
"type": "text",
|
||
"value": "{{user_token}}"
|
||
},
|
||
{
|
||
"key": "Content-Type",
|
||
"name": "Content-Type",
|
||
"type": "text",
|
||
"value": "application/json"
|
||
},
|
||
{
|
||
"key": "language",
|
||
"type": "text",
|
||
"value": "{{language}}"
|
||
},
|
||
{
|
||
"key": "multilingual",
|
||
"type": "text",
|
||
"value": "true"
|
||
}
|
||
],
|
||
"body": {
|
||
"mode": "raw",
|
||
"raw": "{\n \"params\": {\n \"property_id\": 1,\n \"room_rate_mapping_id\" : 10,\n \"is_selected\" : false\n }\n}",
|
||
"options": {
|
||
"raw": {
|
||
"language": "json"
|
||
}
|
||
}
|
||
},
|
||
"url": {
|
||
"raw": "{{base_url}}/app/v1/property/room-rate-mapping/set-status",
|
||
"host": [
|
||
"{{base_url}}"
|
||
],
|
||
"path": [
|
||
"app",
|
||
"v1",
|
||
"property",
|
||
"room-rate-mapping",
|
||
"set-status"
|
||
]
|
||
}
|
||
},
|
||
"response": []
|
||
},
|
||
{
|
||
"name": "Delete Rate Mapping",
|
||
"request": {
|
||
"method": "POST",
|
||
"header": [
|
||
{
|
||
"key": "authToken",
|
||
"type": "text",
|
||
"value": "{{user_token}}"
|
||
},
|
||
{
|
||
"key": "Content-Type",
|
||
"name": "Content-Type",
|
||
"type": "text",
|
||
"value": "application/json"
|
||
},
|
||
{
|
||
"key": "language",
|
||
"type": "text",
|
||
"value": "{{language}}"
|
||
},
|
||
{
|
||
"key": "multilingual",
|
||
"type": "text",
|
||
"value": "true"
|
||
}
|
||
],
|
||
"body": {
|
||
"mode": "raw",
|
||
"raw": "{\n \"params\": {\n \t\"id\" : 1,\n \"property_id\": 1\n }\n}",
|
||
"options": {
|
||
"raw": {
|
||
"language": "json"
|
||
}
|
||
}
|
||
},
|
||
"url": {
|
||
"raw": "{{base_url}}/app/v1/property/room-rate-mapping/delete",
|
||
"host": [
|
||
"{{base_url}}"
|
||
],
|
||
"path": [
|
||
"app",
|
||
"v1",
|
||
"property",
|
||
"room-rate-mapping",
|
||
"delete"
|
||
]
|
||
}
|
||
},
|
||
"response": []
|
||
},
|
||
{
|
||
"name": "Add Rate Mapping With Setup",
|
||
"request": {
|
||
"method": "POST",
|
||
"header": [
|
||
{
|
||
"key": "authToken",
|
||
"type": "text",
|
||
"value": "{{user_token}}"
|
||
},
|
||
{
|
||
"key": "Content-Type",
|
||
"name": "Content-Type",
|
||
"type": "text",
|
||
"value": "application/json"
|
||
},
|
||
{
|
||
"key": "language",
|
||
"type": "text",
|
||
"value": "{{language}}"
|
||
},
|
||
{
|
||
"key": "multilingual",
|
||
"type": "text",
|
||
"value": "true"
|
||
}
|
||
],
|
||
"body": {
|
||
"mode": "raw",
|
||
"raw": "{\n \"params\": {\n \"property_id\": 1,\n \"room_id\": [22],\n \"room_rate_id\": 12,\n \"description\": \"Burhanla Test\",\n \"rack_rate\": 3.1,\n \"included_occupancy\": 1,\n \"ext_adult_type\": \"PER\",\n \"ext_adult_rate\": 20,\n \"ext_child_type\": \"FIX\",\n \"ext_child_rate\": 25,\n \"dis_guest_type\": \"PER\",\n \"dis_guest_rate\": 15\n }\n}",
|
||
"options": {
|
||
"raw": {
|
||
"language": "json"
|
||
}
|
||
}
|
||
},
|
||
"url": {
|
||
"raw": "{{base_url}}/app/v1/property/room-rate-mapping/add-with-setup",
|
||
"host": [
|
||
"{{base_url}}"
|
||
],
|
||
"path": [
|
||
"app",
|
||
"v1",
|
||
"property",
|
||
"room-rate-mapping",
|
||
"add-with-setup"
|
||
]
|
||
}
|
||
},
|
||
"response": []
|
||
},
|
||
{
|
||
"name": "Bulk Update For Rates",
|
||
"request": {
|
||
"method": "POST",
|
||
"header": [
|
||
{
|
||
"key": "authToken",
|
||
"type": "text",
|
||
"value": "{{user_token}}"
|
||
},
|
||
{
|
||
"key": "Content-Type",
|
||
"name": "Content-Type",
|
||
"type": "text",
|
||
"value": "application/json"
|
||
},
|
||
{
|
||
"key": "language",
|
||
"type": "text",
|
||
"value": "{{language}}"
|
||
},
|
||
{
|
||
"key": "multilingual",
|
||
"type": "text",
|
||
"value": "true"
|
||
}
|
||
],
|
||
"body": {
|
||
"mode": "raw",
|
||
"raw": "{\n \"params\": {\n \"property_id\": \"1\",\n \"update_type\": \"rate\",\n \"value\": \"105\",\n \"start_date\": \"2020-11-26\",\n \"end_date\": \"2021-03-28\",\n \"availability_type_id\": 1,\n \"channel_id\": \"1\",\n \"room_rates\": [\n {\n \"room_id\": 2,\n \"room_rate_mapping_id\": [\n 3\n ]\n },\n {\n \"room_id\": 1,\n \"room_rate_mapping_id\": [\n 1,\n 2\n ]\n },\n {\n \"room_id\": 4,\n \"room_rate_mapping_id\": [\n 4\n ]\n }\n ],\n \"include_days\": [\n \"Mon\",\n \"Tue\",\n \"Wed\",\n \"Thu\",\n \"Fri\",\n \"Sat\",\n \"Sun\"\n ]\n }\n}",
|
||
"options": {
|
||
"raw": {
|
||
"language": "json"
|
||
}
|
||
}
|
||
},
|
||
"url": {
|
||
"raw": "{{base_url}}/app/v1/property/room-rate-mapping/bulk-update",
|
||
"host": [
|
||
"{{base_url}}"
|
||
],
|
||
"path": [
|
||
"app",
|
||
"v1",
|
||
"property",
|
||
"room-rate-mapping",
|
||
"bulk-update"
|
||
]
|
||
},
|
||
"description": "{\r\n \"params\": {\r\n \"locale\": \"tr\",\r\n \"property_id\": 1,\r\n \r\n \"update_type\": \"avaliability-rate-min_stay-max_stay-stop_sell\",\r\n \"value\": \"200\",\r\n \"room_rates\": [\r\n {\r\n \"room_id\": 10,\r\n \"room_rate_mapping\": [\r\n {\r\n \"room_rate_mapping_id\": 5,\r\n \"channels\": [\r\n 1,\r\n 2,\r\n 3\r\n ]\r\n }\r\n ]\r\n }\r\n ],\r\n \"start_date\": \"2020-01-01\",\r\n \"end_date\": \"2019-01-30\",\r\n \"include_days\": [\r\n \"SAT\",\r\n \"SUN\"\r\n ]\r\n }\r\n}"
|
||
},
|
||
"response": []
|
||
},
|
||
{
|
||
"name": "Bulk Update For Rates Stop Sell",
|
||
"request": {
|
||
"method": "POST",
|
||
"header": [
|
||
{
|
||
"key": "authToken",
|
||
"type": "text",
|
||
"value": "{{user_token}}"
|
||
},
|
||
{
|
||
"key": "Content-Type",
|
||
"name": "Content-Type",
|
||
"type": "text",
|
||
"value": "application/json"
|
||
},
|
||
{
|
||
"key": "language",
|
||
"type": "text",
|
||
"value": "{{language}}"
|
||
},
|
||
{
|
||
"key": "multilingual",
|
||
"type": "text",
|
||
"value": "true"
|
||
}
|
||
],
|
||
"body": {
|
||
"mode": "raw",
|
||
"raw": "{\n \"params\": {\n \"property_id\": \"1\",\n \"update_type\": \"rate\",\n \"value\": \"105\",\n \"start_date\": \"2020-11-26\",\n \"end_date\": \"2021-03-28\",\n \"availability_type_id\": 1,\n \"channel_id\": \"1\",\n \"room_rates\": [\n {\n \"room_id\": 2,\n \"room_rate_mapping_id\": [\n 3\n ]\n },\n {\n \"room_id\": 1,\n \"room_rate_mapping_id\": [\n 1,\n 2\n ]\n },\n {\n \"room_id\": 4,\n \"room_rate_mapping_id\": [\n 4\n ]\n }\n ],\n \"include_days\": [\n \"Mon\",\n \"Tue\",\n \"Wed\",\n \"Thu\",\n \"Fri\",\n \"Sat\",\n \"Sun\"\n ]\n }\n}",
|
||
"options": {
|
||
"raw": {
|
||
"language": "json"
|
||
}
|
||
}
|
||
},
|
||
"url": {
|
||
"raw": "{{base_url}}/app/v1/property/room-rate-mapping/bulk-update",
|
||
"host": [
|
||
"{{base_url}}"
|
||
],
|
||
"path": [
|
||
"app",
|
||
"v1",
|
||
"property",
|
||
"room-rate-mapping",
|
||
"bulk-update"
|
||
]
|
||
},
|
||
"description": "{\r\n \"params\": {\r\n \"locale\": \"tr\",\r\n \"property_id\": 1,\r\n \r\n \"update_type\": \"avaliability-rate-min_stay-max_stay-stop_sell\",\r\n \"value\": \"200\",\r\n \"room_rates\": [\r\n {\r\n \"room_id\": 10,\r\n \"room_rate_mapping\": [\r\n {\r\n \"room_rate_mapping_id\": 5,\r\n \"channels\": [\r\n 1,\r\n 2,\r\n 3\r\n ]\r\n }\r\n ]\r\n }\r\n ],\r\n \"start_date\": \"2020-01-01\",\r\n \"end_date\": \"2019-01-30\",\r\n \"include_days\": [\r\n \"SAT\",\r\n \"SUN\"\r\n ]\r\n }\r\n}"
|
||
},
|
||
"response": []
|
||
},
|
||
{
|
||
"name": "Bulk Update For Availability",
|
||
"request": {
|
||
"method": "POST",
|
||
"header": [
|
||
{
|
||
"key": "authToken",
|
||
"type": "text",
|
||
"value": "{{user_token}}"
|
||
},
|
||
{
|
||
"key": "Content-Type",
|
||
"name": "Content-Type",
|
||
"type": "text",
|
||
"value": "application/json"
|
||
},
|
||
{
|
||
"key": "language",
|
||
"type": "text",
|
||
"value": "{{language}}"
|
||
},
|
||
{
|
||
"key": "multilingual",
|
||
"type": "text",
|
||
"value": "true"
|
||
}
|
||
],
|
||
"body": {
|
||
"mode": "raw",
|
||
"raw": "{\n \"params\": {\n \"property_id\": 1,\n \"update_type\": \"availability\",\n \"value\": 10,\n \"start_date\": \"2020-11-12\",\n \"end_date\": \"2020-11-30\",\n \"availability_type_id\" : 1,\n \"channel_id\" : 1 ,\n \"room_rates\": [\n {\n \"room_id\": 1,\n \"room_rate_mapping_id\": [ 1 , 2 ]\n }\n ],\n \"include_days\": [\n \"Fri\",\"Sat\",\"Sun\",\"Mon\",\"Tue\",\"Wed\"\n ]\n }\n}",
|
||
"options": {
|
||
"raw": {
|
||
"language": "json"
|
||
}
|
||
}
|
||
},
|
||
"url": {
|
||
"raw": "{{base_url}}/app/v1/property/room-rate-mapping/bulk-update",
|
||
"host": [
|
||
"{{base_url}}"
|
||
],
|
||
"path": [
|
||
"app",
|
||
"v1",
|
||
"property",
|
||
"room-rate-mapping",
|
||
"bulk-update"
|
||
]
|
||
},
|
||
"description": "{\r\n \"params\": {\r\n \"locale\": \"tr\",\r\n \"property_id\": 1,\r\n \r\n \"update_type\": \"avaliability-rate-min_stay-max_stay-stop_sell\",\r\n \"value\": \"200\",\r\n \"room_rates\": [\r\n {\r\n \"room_id\": 10,\r\n \"room_rate_mapping\": [\r\n {\r\n \"room_rate_mapping_id\": 5,\r\n \"channels\": [\r\n 1,\r\n 2,\r\n 3\r\n ]\r\n }\r\n ]\r\n }\r\n ],\r\n \"start_date\": \"2020-01-01\",\r\n \"end_date\": \"2019-01-30\",\r\n \"include_days\": [\r\n \"SAT\",\r\n \"SUN\"\r\n ]\r\n }\r\n}"
|
||
},
|
||
"response": []
|
||
},
|
||
{
|
||
"name": "Bulk Update For Availability Stop Sell",
|
||
"request": {
|
||
"method": "POST",
|
||
"header": [
|
||
{
|
||
"key": "authToken",
|
||
"type": "text",
|
||
"value": "{{user_token}}"
|
||
},
|
||
{
|
||
"key": "Content-Type",
|
||
"name": "Content-Type",
|
||
"type": "text",
|
||
"value": "application/json"
|
||
},
|
||
{
|
||
"key": "language",
|
||
"type": "text",
|
||
"value": "{{language}}"
|
||
},
|
||
{
|
||
"key": "multilingual",
|
||
"type": "text",
|
||
"value": "true"
|
||
}
|
||
],
|
||
"body": {
|
||
"mode": "raw",
|
||
"raw": "{\n \"params\": {\n \"property_id\": 1,\n \"update_type\": \"availability\",\n \"value\": 10,\n \"start_date\": \"2020-11-12\",\n \"end_date\": \"2020-11-30\",\n \"availability_type_id\" : 1,\n \"channel_id\" : 1 ,\n \"room_rates\": [\n {\n \"room_id\": 1,\n \"room_rate_mapping_id\": [ 1 , 2 ]\n }\n ],\n \"include_days\": [\n \"Fri\",\"Sat\",\"Sun\",\"Mon\",\"Tue\",\"Wed\"\n ]\n }\n}",
|
||
"options": {
|
||
"raw": {
|
||
"language": "json"
|
||
}
|
||
}
|
||
},
|
||
"url": {
|
||
"raw": "{{base_url}}/app/v1/property/room-rate-mapping/bulk-update",
|
||
"host": [
|
||
"{{base_url}}"
|
||
],
|
||
"path": [
|
||
"app",
|
||
"v1",
|
||
"property",
|
||
"room-rate-mapping",
|
||
"bulk-update"
|
||
]
|
||
},
|
||
"description": "{\"params\":{\"property_id\":\"217\",\"update_type\":\"availability\",\"value\":\"1\",\"start_date\":\"2021-03-31\",\"end_date\":\"2021-04-01\",\"availability_type_id\":1,\"channel_id\":\"5\",\"room_rates\":[{\"room_id\":659,\"room_rate_mapping_id\":[]},{\"room_id\":660,\"room_rate_mapping_id\":[]}],\"include_days\":[\"Mon\",\"Tue\",\"Wed\",\"Thu\",\"Fri\",\"Sat\",\"Sun\"]}}"
|
||
},
|
||
"response": []
|
||
},
|
||
{
|
||
"name": "Bulk Update For Min Stay",
|
||
"request": {
|
||
"method": "POST",
|
||
"header": [
|
||
{
|
||
"key": "authToken",
|
||
"type": "text",
|
||
"value": "{{user_token}}"
|
||
},
|
||
{
|
||
"key": "Content-Type",
|
||
"name": "Content-Type",
|
||
"type": "text",
|
||
"value": "application/json"
|
||
},
|
||
{
|
||
"key": "language",
|
||
"type": "text",
|
||
"value": "{{language}}"
|
||
},
|
||
{
|
||
"key": "multilingual",
|
||
"type": "text",
|
||
"value": "true"
|
||
}
|
||
],
|
||
"body": {
|
||
"mode": "raw",
|
||
"raw": "{\n \"params\": {\n \"property_id\": \"217\",\n \"update_type\": \"min_stay\",\n \"value\": \"3\",\n \"start_date\": \"2021-05-01\",\n \"end_date\": \"2021-05-10\",\n \"availability_type_id\": 1,\n \"channel_id\": \"5\",\n \"room_rates\": [\n {\n \"room_id\": 659,\n \"room_rate_mapping_id\": [\n 206\n ]\n }\n ],\n \"include_days\": [\n \"Mon\",\n \"Tue\",\n \"Wed\",\n \"Thu\",\n \"Fri\",\n \"Sat\",\n \"Sun\"\n ]\n }\n}",
|
||
"options": {
|
||
"raw": {
|
||
"language": "json"
|
||
}
|
||
}
|
||
},
|
||
"url": {
|
||
"raw": "{{base_url}}/app/v1/property/room-rate-mapping/bulk-update?XDEBUG_SESSION_START=PHPSTORM",
|
||
"host": [
|
||
"{{base_url}}"
|
||
],
|
||
"path": [
|
||
"app",
|
||
"v1",
|
||
"property",
|
||
"room-rate-mapping",
|
||
"bulk-update"
|
||
],
|
||
"query": [
|
||
{
|
||
"key": "XDEBUG_SESSION_START",
|
||
"value": "PHPSTORM"
|
||
}
|
||
]
|
||
},
|
||
"description": "{\"params\":{\"property_id\":\"217\",\"update_type\":\"availability\",\"value\":\"1\",\"start_date\":\"2021-03-31\",\"end_date\":\"2021-04-01\",\"availability_type_id\":1,\"channel_id\":\"5\",\"room_rates\":[{\"room_id\":659,\"room_rate_mapping_id\":[]},{\"room_id\":660,\"room_rate_mapping_id\":[]}],\"include_days\":[\"Mon\",\"Tue\",\"Wed\",\"Thu\",\"Fri\",\"Sat\",\"Sun\"]}}"
|
||
},
|
||
"response": []
|
||
},
|
||
{
|
||
"name": "Bulk Update Params",
|
||
"request": {
|
||
"method": "POST",
|
||
"header": [
|
||
{
|
||
"key": "authToken",
|
||
"type": "text",
|
||
"value": "{{user_token}}"
|
||
},
|
||
{
|
||
"key": "Content-Type",
|
||
"name": "Content-Type",
|
||
"type": "text",
|
||
"value": "application/json"
|
||
},
|
||
{
|
||
"key": "language",
|
||
"type": "text",
|
||
"value": "{{language}}"
|
||
},
|
||
{
|
||
"key": "multilingual",
|
||
"type": "text",
|
||
"value": "true"
|
||
}
|
||
],
|
||
"body": {
|
||
"mode": "raw",
|
||
"raw": "{\n \"params\": {\n \"property_id\": 217,\n \"channel_id\" : 5\n }\n}",
|
||
"options": {
|
||
"raw": {
|
||
"language": "json"
|
||
}
|
||
}
|
||
},
|
||
"url": {
|
||
"raw": "{{base_url}}/app/v1/property/bulk-update-params/get?XDEBUG_SESSION_START=PHPSTORM",
|
||
"host": [
|
||
"{{base_url}}"
|
||
],
|
||
"path": [
|
||
"app",
|
||
"v1",
|
||
"property",
|
||
"bulk-update-params",
|
||
"get"
|
||
],
|
||
"query": [
|
||
{
|
||
"key": "XDEBUG_SESSION_START",
|
||
"value": "PHPSTORM"
|
||
}
|
||
]
|
||
}
|
||
},
|
||
"response": []
|
||
}
|
||
]
|
||
},
|
||
{
|
||
"name": "ROOM RATE INCLUSION MAPPING",
|
||
"item": [
|
||
{
|
||
"name": "Add Rate Inclusion Mapping",
|
||
"request": {
|
||
"method": "POST",
|
||
"header": [
|
||
{
|
||
"key": "authToken",
|
||
"type": "text",
|
||
"value": "{{user_token}}"
|
||
},
|
||
{
|
||
"key": "Content-Type",
|
||
"name": "Content-Type",
|
||
"type": "text",
|
||
"value": "application/json"
|
||
},
|
||
{
|
||
"key": "language",
|
||
"type": "text",
|
||
"value": "{{language}}"
|
||
},
|
||
{
|
||
"key": "multilingual",
|
||
"type": "text",
|
||
"value": "true"
|
||
}
|
||
],
|
||
"body": {
|
||
"mode": "raw",
|
||
"raw": "{\r\n \"params\": {\r\n \"property_id\": 1,\r\n \"room_id\": 1,\r\n \"room_rate_id\": 2,\r\n \"facts\": [ 1,2,3,4,5 ]\r\n }\r\n}",
|
||
"options": {
|
||
"raw": {
|
||
"language": "json"
|
||
}
|
||
}
|
||
},
|
||
"url": {
|
||
"raw": "{{base_url}}/app/v1/property/room-rate-inclusion-mapping/add",
|
||
"host": [
|
||
"{{base_url}}"
|
||
],
|
||
"path": [
|
||
"app",
|
||
"v1",
|
||
"property",
|
||
"room-rate-inclusion-mapping",
|
||
"add"
|
||
]
|
||
}
|
||
},
|
||
"response": []
|
||
},
|
||
{
|
||
"name": "Get Rate Inclusion Mapping",
|
||
"request": {
|
||
"method": "POST",
|
||
"header": [
|
||
{
|
||
"key": "authToken",
|
||
"type": "text",
|
||
"value": "{{user_token}}"
|
||
},
|
||
{
|
||
"key": "Content-Type",
|
||
"name": "Content-Type",
|
||
"type": "text",
|
||
"value": "application/json"
|
||
},
|
||
{
|
||
"key": "language",
|
||
"type": "text",
|
||
"value": "{{language}}"
|
||
},
|
||
{
|
||
"key": "multilingual",
|
||
"type": "text",
|
||
"value": "true"
|
||
}
|
||
],
|
||
"body": {
|
||
"mode": "raw",
|
||
"raw": "{\n \"params\": {\n\n \"property_id\": 1,\n \"room_id\": 1,\n \"room_rate_id\": 2\n }\n}",
|
||
"options": {
|
||
"raw": {
|
||
"language": "json"
|
||
}
|
||
}
|
||
},
|
||
"url": {
|
||
"raw": "{{base_url}}/app/v1/property/room-rate-inclusion-mapping/get",
|
||
"host": [
|
||
"{{base_url}}"
|
||
],
|
||
"path": [
|
||
"app",
|
||
"v1",
|
||
"property",
|
||
"room-rate-inclusion-mapping",
|
||
"get"
|
||
]
|
||
}
|
||
},
|
||
"response": []
|
||
}
|
||
]
|
||
},
|
||
{
|
||
"name": "ROOM RATE CHANNEL MAPPING",
|
||
"item": [
|
||
{
|
||
"name": "Add Rate Channel Mapping",
|
||
"request": {
|
||
"method": "POST",
|
||
"header": [
|
||
{
|
||
"key": "authToken",
|
||
"type": "text",
|
||
"value": "{{user_token}}"
|
||
},
|
||
{
|
||
"key": "Content-Type",
|
||
"name": "Content-Type",
|
||
"type": "text",
|
||
"value": "application/json"
|
||
},
|
||
{
|
||
"key": "language",
|
||
"type": "text",
|
||
"value": "{{language}}"
|
||
},
|
||
{
|
||
"key": "multilingual",
|
||
"type": "text",
|
||
"value": "true"
|
||
}
|
||
],
|
||
"body": {
|
||
"mode": "raw",
|
||
"raw": "{\r\n \"params\": {\r\n \"property_id\": 1,\r\n \"room_id\": 1,\r\n \"room_rate_mapping_id\": 6,\r\n \"channels\": [3,4,5 ]\r\n }\r\n}",
|
||
"options": {
|
||
"raw": {
|
||
"language": "json"
|
||
}
|
||
}
|
||
},
|
||
"url": {
|
||
"raw": "{{base_url}}/app/v1/property/room-rate-channel-mapping/add",
|
||
"host": [
|
||
"{{base_url}}"
|
||
],
|
||
"path": [
|
||
"app",
|
||
"v1",
|
||
"property",
|
||
"room-rate-channel-mapping",
|
||
"add"
|
||
]
|
||
}
|
||
},
|
||
"response": []
|
||
},
|
||
{
|
||
"name": "Get Rate Channel Mapping",
|
||
"request": {
|
||
"method": "POST",
|
||
"header": [
|
||
{
|
||
"key": "authToken",
|
||
"type": "text",
|
||
"value": "{{user_token}}"
|
||
},
|
||
{
|
||
"key": "Content-Type",
|
||
"name": "Content-Type",
|
||
"type": "text",
|
||
"value": "application/json"
|
||
},
|
||
{
|
||
"key": "language",
|
||
"type": "text",
|
||
"value": "{{language}}"
|
||
},
|
||
{
|
||
"key": "multilingual",
|
||
"type": "text",
|
||
"value": "true"
|
||
}
|
||
],
|
||
"body": {
|
||
"mode": "raw",
|
||
"raw": "{\n \"params\": {\n \"property_id\": 1,\n \"channel_id\" : [3,5,16]\n }\n}",
|
||
"options": {
|
||
"raw": {
|
||
"language": "json"
|
||
}
|
||
}
|
||
},
|
||
"url": {
|
||
"raw": "{{base_url}}/app/v1/property/room-rate-channel-mapping/get",
|
||
"host": [
|
||
"{{base_url}}"
|
||
],
|
||
"path": [
|
||
"app",
|
||
"v1",
|
||
"property",
|
||
"room-rate-channel-mapping",
|
||
"get"
|
||
]
|
||
}
|
||
},
|
||
"response": []
|
||
},
|
||
{
|
||
"name": "Update Rate Channel Mapping",
|
||
"request": {
|
||
"method": "POST",
|
||
"header": [
|
||
{
|
||
"key": "authToken",
|
||
"type": "text",
|
||
"value": "{{user_token}}"
|
||
},
|
||
{
|
||
"key": "Content-Type",
|
||
"name": "Content-Type",
|
||
"type": "text",
|
||
"value": "application/json"
|
||
},
|
||
{
|
||
"key": "language",
|
||
"type": "text",
|
||
"value": "{{language}}"
|
||
},
|
||
{
|
||
"key": "multilingual",
|
||
"type": "text",
|
||
"value": "true"
|
||
}
|
||
],
|
||
"body": {
|
||
"mode": "raw",
|
||
"raw": "{\n \"params\": {\n \"property_id\": \"1\",\n \"room_rate_channel_mapping\": [\n {\n \"room_rate_mapping_id\": \"9\",\n \"channel_id\": \"3\",\n \"is_selected\": true\n }\n ]\n }\n}",
|
||
"options": {
|
||
"raw": {
|
||
"language": "json"
|
||
}
|
||
}
|
||
},
|
||
"url": {
|
||
"raw": "{{base_url}}/app/v1/property/room-rate-channel-mapping/update",
|
||
"host": [
|
||
"{{base_url}}"
|
||
],
|
||
"path": [
|
||
"app",
|
||
"v1",
|
||
"property",
|
||
"room-rate-channel-mapping",
|
||
"update"
|
||
]
|
||
}
|
||
},
|
||
"response": []
|
||
}
|
||
]
|
||
},
|
||
{
|
||
"name": "ROOM RATE MAPPING SETUP",
|
||
"item": [
|
||
{
|
||
"name": "Add Rate Mapping Setup",
|
||
"request": {
|
||
"method": "POST",
|
||
"header": [
|
||
{
|
||
"key": "authToken",
|
||
"type": "text",
|
||
"value": "{{user_token}}"
|
||
},
|
||
{
|
||
"key": "Content-Type",
|
||
"name": "Content-Type",
|
||
"type": "text",
|
||
"value": "application/json"
|
||
},
|
||
{
|
||
"key": "language",
|
||
"type": "text",
|
||
"value": "{{language}}"
|
||
},
|
||
{
|
||
"key": "multilingual",
|
||
"type": "text",
|
||
"value": "true"
|
||
}
|
||
],
|
||
"body": {
|
||
"mode": "raw",
|
||
"raw": "{\n \"params\": {\n \"property_id\": 1,\n \"room_id\": 1,\n \"room_rate_mapping_id\": 1,\n \"setup\": [\n {\n \"setup_type\": \"EXT_ADULT\",\n \"value_type\": \"PER\",\n \"value\": 10\n },\n {\n \"setup_type\": \"EXT_CHILD\",\n \"value_type\": \"PER\",\n \"value\": null\n },\n {\n \"setup_type\": \"DIS_GUEST\",\n \"value_type\": \"PER\",\n \"value\": 10\n }\n ]\n }\n}",
|
||
"options": {
|
||
"raw": {
|
||
"language": "json"
|
||
}
|
||
}
|
||
},
|
||
"url": {
|
||
"raw": "{{base_url}}/app/v1/property/room-rate-mapping-setup/add",
|
||
"host": [
|
||
"{{base_url}}"
|
||
],
|
||
"path": [
|
||
"app",
|
||
"v1",
|
||
"property",
|
||
"room-rate-mapping-setup",
|
||
"add"
|
||
]
|
||
}
|
||
},
|
||
"response": []
|
||
},
|
||
{
|
||
"name": "Get Rate Mapping Setup",
|
||
"request": {
|
||
"method": "POST",
|
||
"header": [
|
||
{
|
||
"key": "authToken",
|
||
"type": "text",
|
||
"value": "{{user_token}}"
|
||
},
|
||
{
|
||
"key": "Content-Type",
|
||
"name": "Content-Type",
|
||
"type": "text",
|
||
"value": "application/json"
|
||
},
|
||
{
|
||
"key": "language",
|
||
"type": "text",
|
||
"value": "{{language}}"
|
||
},
|
||
{
|
||
"key": "multilingual",
|
||
"type": "text",
|
||
"value": "true"
|
||
}
|
||
],
|
||
"body": {
|
||
"mode": "raw",
|
||
"raw": "{\n \"params\": {\n \"property_id\": 1,\n \"room_id\": 1,\n \"room_rate_mapping_id\": 1\n }\n}",
|
||
"options": {
|
||
"raw": {
|
||
"language": "json"
|
||
}
|
||
}
|
||
},
|
||
"url": {
|
||
"raw": "{{base_url}}/app/v1/property/room-rate-mapping-setup/get",
|
||
"host": [
|
||
"{{base_url}}"
|
||
],
|
||
"path": [
|
||
"app",
|
||
"v1",
|
||
"property",
|
||
"room-rate-mapping-setup",
|
||
"get"
|
||
]
|
||
}
|
||
},
|
||
"response": []
|
||
}
|
||
]
|
||
},
|
||
{
|
||
"name": "CANCELLATION POLICY",
|
||
"item": [
|
||
{
|
||
"name": "Get Cancellation Policy",
|
||
"request": {
|
||
"method": "POST",
|
||
"header": [
|
||
{
|
||
"key": "authToken",
|
||
"type": "text",
|
||
"value": "{{user_token}}"
|
||
},
|
||
{
|
||
"key": "Content-Type",
|
||
"name": "Content-Type",
|
||
"type": "text",
|
||
"value": "application/json"
|
||
},
|
||
{
|
||
"key": "language",
|
||
"type": "text",
|
||
"value": "{{language}}"
|
||
},
|
||
{
|
||
"key": "multilingual",
|
||
"type": "text",
|
||
"value": "true"
|
||
}
|
||
],
|
||
"body": {
|
||
"mode": "raw",
|
||
"raw": "{\n \"params\": {\n \"property_id\": 1\n }\n}",
|
||
"options": {
|
||
"raw": {
|
||
"language": "json"
|
||
}
|
||
}
|
||
},
|
||
"url": {
|
||
"raw": "{{base_url}}/app/v1/property/cancellation-policy/list",
|
||
"host": [
|
||
"{{base_url}}"
|
||
],
|
||
"path": [
|
||
"app",
|
||
"v1",
|
||
"property",
|
||
"cancellation-policy",
|
||
"list"
|
||
]
|
||
}
|
||
},
|
||
"response": []
|
||
},
|
||
{
|
||
"name": "Add Cancellation Policy",
|
||
"request": {
|
||
"method": "POST",
|
||
"header": [
|
||
{
|
||
"key": "authToken",
|
||
"type": "text",
|
||
"value": "{{user_token}}"
|
||
},
|
||
{
|
||
"key": "Content-Type",
|
||
"name": "Content-Type",
|
||
"type": "text",
|
||
"value": "application/json"
|
||
},
|
||
{
|
||
"key": "language",
|
||
"type": "text",
|
||
"value": "{{language}}"
|
||
},
|
||
{
|
||
"key": "multilingual",
|
||
"type": "text",
|
||
"value": "true"
|
||
}
|
||
],
|
||
"body": {
|
||
"mode": "raw",
|
||
"raw": "{\n \"params\": {\n \"property_id\": \"1\",\n \"name\": \"Its Free 33\",\n \"before_arrival\": 10,\n \"value\": 10,\n \"type\": \"PER\",\n \"is_nonrefundable\": true,\n \"is_free_cancellation\": false,\n \"affects_price\": 1,\n \"affects_price_action_type\": \"PLS\",\n \"affects_price_type\": \"FIX\",\n \"affects_price_value\": 5\n }\n}",
|
||
"options": {
|
||
"raw": {
|
||
"language": "json"
|
||
}
|
||
}
|
||
},
|
||
"url": {
|
||
"raw": "{{base_url}}/app/v1/property/cancellation-policy/create",
|
||
"host": [
|
||
"{{base_url}}"
|
||
],
|
||
"path": [
|
||
"app",
|
||
"v1",
|
||
"property",
|
||
"cancellation-policy",
|
||
"create"
|
||
]
|
||
}
|
||
},
|
||
"response": []
|
||
},
|
||
{
|
||
"name": "Update Cancellation Policy",
|
||
"request": {
|
||
"method": "POST",
|
||
"header": [
|
||
{
|
||
"key": "authToken",
|
||
"type": "text",
|
||
"value": "{{user_token}}"
|
||
},
|
||
{
|
||
"key": "Content-Type",
|
||
"name": "Content-Type",
|
||
"type": "text",
|
||
"value": "application/json"
|
||
},
|
||
{
|
||
"key": "language",
|
||
"type": "text",
|
||
"value": "{{language}}"
|
||
},
|
||
{
|
||
"key": "multilingual",
|
||
"type": "text",
|
||
"value": "true"
|
||
}
|
||
],
|
||
"body": {
|
||
"mode": "raw",
|
||
"raw": "{\n \"params\": {\n \"property_id\": 1,\n \"cancellation_policy_id\": 37,\n \"name\": \"It is free -37\",\n \"before_arrival\": 10,\n \"value\": 50,\n \"type\": \"FIX\",\n \"is_nonrefundable\": true,\n \"is_free_cancellation\": false,\n \"affects_price\": 1,\n \"affects_price_action_type\": \"MIN\",\n \"affects_price_type\": \"PER\",\n \"affects_price_value\": 12\n }\n}",
|
||
"options": {
|
||
"raw": {
|
||
"language": "json"
|
||
}
|
||
}
|
||
},
|
||
"url": {
|
||
"raw": "{{base_url}}/app/v1/property/cancellation-policy/update",
|
||
"host": [
|
||
"{{base_url}}"
|
||
],
|
||
"path": [
|
||
"app",
|
||
"v1",
|
||
"property",
|
||
"cancellation-policy",
|
||
"update"
|
||
]
|
||
}
|
||
},
|
||
"response": []
|
||
},
|
||
{
|
||
"name": "Get Room-Rate-Channel Cancellation Policy",
|
||
"request": {
|
||
"method": "POST",
|
||
"header": [
|
||
{
|
||
"key": "authToken",
|
||
"type": "text",
|
||
"value": "{{user_token}}"
|
||
},
|
||
{
|
||
"key": "Content-Type",
|
||
"name": "Content-Type",
|
||
"type": "text",
|
||
"value": "application/json"
|
||
},
|
||
{
|
||
"key": "language",
|
||
"type": "text",
|
||
"value": "{{language}}"
|
||
},
|
||
{
|
||
"key": "multilingual",
|
||
"type": "text",
|
||
"value": "true"
|
||
}
|
||
],
|
||
"body": {
|
||
"mode": "raw",
|
||
"raw": "{\n \"params\": {\n \"property_id\" : 1,\n \"channel_id\" : 3\n }\n}",
|
||
"options": {
|
||
"raw": {
|
||
"language": "json"
|
||
}
|
||
}
|
||
},
|
||
"url": {
|
||
"raw": "{{base_url}}/app/v1/property/room-rate-channel-cancellation-policy/list",
|
||
"host": [
|
||
"{{base_url}}"
|
||
],
|
||
"path": [
|
||
"app",
|
||
"v1",
|
||
"property",
|
||
"room-rate-channel-cancellation-policy",
|
||
"list"
|
||
]
|
||
}
|
||
},
|
||
"response": []
|
||
},
|
||
{
|
||
"name": "Update Room-Rate-Channel Cancellation Policy",
|
||
"request": {
|
||
"method": "POST",
|
||
"header": [
|
||
{
|
||
"key": "authToken",
|
||
"type": "text",
|
||
"value": "{{user_token}}"
|
||
},
|
||
{
|
||
"key": "Content-Type",
|
||
"name": "Content-Type",
|
||
"type": "text",
|
||
"value": "application/json"
|
||
},
|
||
{
|
||
"key": "language",
|
||
"type": "text",
|
||
"value": "{{language}}"
|
||
},
|
||
{
|
||
"key": "multilingual",
|
||
"type": "text",
|
||
"value": "true"
|
||
}
|
||
],
|
||
"body": {
|
||
"mode": "raw",
|
||
"raw": "{\n \"params\": {\n \"property_id\": 1,\n \"channel_id\": 3,\n \"room_rate_channel_mapping_id\": 210,\n \"cancellation_policy_id\": 37,\n \"is_selected\": true\n }\n}",
|
||
"options": {
|
||
"raw": {
|
||
"language": "json"
|
||
}
|
||
}
|
||
},
|
||
"url": {
|
||
"raw": "{{base_url}}/app/v1/property/room-rate-channel-cancellation-policy/update",
|
||
"host": [
|
||
"{{base_url}}"
|
||
],
|
||
"path": [
|
||
"app",
|
||
"v1",
|
||
"property",
|
||
"room-rate-channel-cancellation-policy",
|
||
"update"
|
||
]
|
||
}
|
||
},
|
||
"response": []
|
||
}
|
||
]
|
||
},
|
||
{
|
||
"name": "PRICING POLICY",
|
||
"item": [
|
||
{
|
||
"name": "Get Pricing Policy",
|
||
"request": {
|
||
"method": "POST",
|
||
"header": [
|
||
{
|
||
"key": "authToken",
|
||
"type": "text",
|
||
"value": "{{user_token}}"
|
||
},
|
||
{
|
||
"key": "Content-Type",
|
||
"name": "Content-Type",
|
||
"type": "text",
|
||
"value": "application/json"
|
||
},
|
||
{
|
||
"key": "language",
|
||
"type": "text",
|
||
"value": "{{language}}"
|
||
},
|
||
{
|
||
"key": "multilingual",
|
||
"type": "text",
|
||
"value": "true"
|
||
}
|
||
],
|
||
"body": {
|
||
"mode": "raw",
|
||
"raw": "{\n \"params\": {\n \"property_id\": 1\n }\n}",
|
||
"options": {
|
||
"raw": {
|
||
"language": "json"
|
||
}
|
||
}
|
||
},
|
||
"url": {
|
||
"raw": "{{base_url}}/app/v1/property/person-pricing-policy/list",
|
||
"host": [
|
||
"{{base_url}}"
|
||
],
|
||
"path": [
|
||
"app",
|
||
"v1",
|
||
"property",
|
||
"person-pricing-policy",
|
||
"list"
|
||
]
|
||
}
|
||
},
|
||
"response": []
|
||
},
|
||
{
|
||
"name": "Add Pricing Adult Policy",
|
||
"request": {
|
||
"method": "POST",
|
||
"header": [
|
||
{
|
||
"key": "authToken",
|
||
"type": "text",
|
||
"value": "{{user_token}}"
|
||
},
|
||
{
|
||
"key": "Content-Type",
|
||
"name": "Content-Type",
|
||
"type": "text",
|
||
"value": "application/json"
|
||
},
|
||
{
|
||
"key": "language",
|
||
"type": "text",
|
||
"value": "{{language}}"
|
||
},
|
||
{
|
||
"key": "multilingual",
|
||
"type": "text",
|
||
"value": "true"
|
||
}
|
||
],
|
||
"body": {
|
||
"mode": "raw",
|
||
"raw": "{\n \"params\": {\n \"property_id\": 1,\n \"name\": \"Adult P-1\",\n \"adult_action_type\": \"INC\",\n \"adult\": 1,\n \"action_type\": \"INC\",\n \"type\": \"PER\",\n \"value\": 10\n }\n}",
|
||
"options": {
|
||
"raw": {
|
||
"language": "json"
|
||
}
|
||
}
|
||
},
|
||
"url": {
|
||
"raw": "{{base_url}}/app/v1/property/person-pricing-policy-adult/create",
|
||
"host": [
|
||
"{{base_url}}"
|
||
],
|
||
"path": [
|
||
"app",
|
||
"v1",
|
||
"property",
|
||
"person-pricing-policy-adult",
|
||
"create"
|
||
]
|
||
}
|
||
},
|
||
"response": []
|
||
},
|
||
{
|
||
"name": "Update Pricing Adult Policy",
|
||
"request": {
|
||
"method": "POST",
|
||
"header": [
|
||
{
|
||
"key": "authToken",
|
||
"type": "text",
|
||
"value": "{{user_token}}"
|
||
},
|
||
{
|
||
"key": "Content-Type",
|
||
"name": "Content-Type",
|
||
"type": "text",
|
||
"value": "application/json"
|
||
},
|
||
{
|
||
"key": "language",
|
||
"type": "text",
|
||
"value": "{{language}}"
|
||
},
|
||
{
|
||
"key": "multilingual",
|
||
"type": "text",
|
||
"value": "true"
|
||
}
|
||
],
|
||
"body": {
|
||
"mode": "raw",
|
||
"raw": "{\n \"params\": {\n \"property_id\": 1,\n \"pricing_policy_id\": 20,\n \"name\": \"Adult P-1-kasjdlkasd\",\n \"adult_action_type\": \"DEC\",\n \"adult\": 5,\n \"action_type\": \"DEC\",\n \"type\": \"PER\",\n \"value\": 55\n }\n}",
|
||
"options": {
|
||
"raw": {
|
||
"language": "json"
|
||
}
|
||
}
|
||
},
|
||
"url": {
|
||
"raw": "{{base_url}}/app/v1/property/person-pricing-policy-adult/update",
|
||
"host": [
|
||
"{{base_url}}"
|
||
],
|
||
"path": [
|
||
"app",
|
||
"v1",
|
||
"property",
|
||
"person-pricing-policy-adult",
|
||
"update"
|
||
]
|
||
}
|
||
},
|
||
"response": []
|
||
},
|
||
{
|
||
"name": "Add Pricing Child Policy",
|
||
"request": {
|
||
"method": "POST",
|
||
"header": [
|
||
{
|
||
"key": "authToken",
|
||
"type": "text",
|
||
"value": "{{user_token}}"
|
||
},
|
||
{
|
||
"key": "Content-Type",
|
||
"name": "Content-Type",
|
||
"type": "text",
|
||
"value": "application/json"
|
||
},
|
||
{
|
||
"key": "language",
|
||
"type": "text",
|
||
"value": "{{language}}"
|
||
},
|
||
{
|
||
"key": "multilingual",
|
||
"type": "text",
|
||
"value": "true"
|
||
}
|
||
],
|
||
"body": {
|
||
"mode": "raw",
|
||
"raw": "{\n \"params\": {\n \"property_id\": 1,\n \"name\": \"Child 2-2\",\n \"adult\": 2,\n \"child_order\": 2,\n \"child_age_start\": 2,\n \"child_age_end\": 11,\n \"type\": \"PER\",\n \"value\": 5\n \n \n\n }\n}",
|
||
"options": {
|
||
"raw": {
|
||
"language": "json"
|
||
}
|
||
}
|
||
},
|
||
"url": {
|
||
"raw": "{{base_url}}/app/v1/property/person-pricing-policy-child/create",
|
||
"host": [
|
||
"{{base_url}}"
|
||
],
|
||
"path": [
|
||
"app",
|
||
"v1",
|
||
"property",
|
||
"person-pricing-policy-child",
|
||
"create"
|
||
]
|
||
}
|
||
},
|
||
"response": []
|
||
},
|
||
{
|
||
"name": "Update Pricing Child Policy",
|
||
"request": {
|
||
"method": "POST",
|
||
"header": [
|
||
{
|
||
"key": "authToken",
|
||
"type": "text",
|
||
"value": "{{user_token}}"
|
||
},
|
||
{
|
||
"key": "Content-Type",
|
||
"name": "Content-Type",
|
||
"type": "text",
|
||
"value": "application/json"
|
||
},
|
||
{
|
||
"key": "language",
|
||
"type": "text",
|
||
"value": "{{language}}"
|
||
},
|
||
{
|
||
"key": "multilingual",
|
||
"type": "text",
|
||
"value": "true"
|
||
}
|
||
],
|
||
"body": {
|
||
"mode": "raw",
|
||
"raw": "{\n \"params\": {\n \"property_id\": 1,\n \"pricing_policy_id\": 5,\n \"name\": \"Yüzde 150 Arttır\",\n \"adult\": 1,\n \"child_order\": 1,\n \"child_age_start\": 2,\n \"child_age_end\": 10,\n \"type\": \"PER\",\n \"value\": 10\n \n \n\n }\n}",
|
||
"options": {
|
||
"raw": {
|
||
"language": "json"
|
||
}
|
||
}
|
||
},
|
||
"url": {
|
||
"raw": "{{base_url}}/app/v1/property/person-pricing-policy-child/update",
|
||
"host": [
|
||
"{{base_url}}"
|
||
],
|
||
"path": [
|
||
"app",
|
||
"v1",
|
||
"property",
|
||
"person-pricing-policy-child",
|
||
"update"
|
||
]
|
||
}
|
||
},
|
||
"response": []
|
||
},
|
||
{
|
||
"name": "Update Room-Rate-Channel Pricing Adult Policy",
|
||
"request": {
|
||
"method": "POST",
|
||
"header": [
|
||
{
|
||
"key": "authToken",
|
||
"type": "text",
|
||
"value": "{{user_token}}"
|
||
},
|
||
{
|
||
"key": "Content-Type",
|
||
"name": "Content-Type",
|
||
"type": "text",
|
||
"value": "application/json"
|
||
},
|
||
{
|
||
"key": "language",
|
||
"type": "text",
|
||
"value": "{{language}}"
|
||
},
|
||
{
|
||
"key": "multilingual",
|
||
"type": "text",
|
||
"value": "true"
|
||
}
|
||
],
|
||
"body": {
|
||
"mode": "raw",
|
||
"raw": "{\n \"params\": {\n \"property_id\": \"1\",\n \"channel_id\": \"1\",\n \"room_rate_channel_mapping_id\": 125,\n \"pricing_policy_adult_id\": 19,\n \"is_selected\": true\n }\n}",
|
||
"options": {
|
||
"raw": {
|
||
"language": "json"
|
||
}
|
||
}
|
||
},
|
||
"url": {
|
||
"raw": "{{base_url}}/app/v1/property/room-rate-channel-pricing-adult-policy/update",
|
||
"host": [
|
||
"{{base_url}}"
|
||
],
|
||
"path": [
|
||
"app",
|
||
"v1",
|
||
"property",
|
||
"room-rate-channel-pricing-adult-policy",
|
||
"update"
|
||
]
|
||
}
|
||
},
|
||
"response": []
|
||
},
|
||
{
|
||
"name": "Update Room-Rate-Channel Pricing Child Policy",
|
||
"request": {
|
||
"method": "POST",
|
||
"header": [
|
||
{
|
||
"key": "authToken",
|
||
"type": "text",
|
||
"value": "{{user_token}}"
|
||
},
|
||
{
|
||
"key": "Content-Type",
|
||
"name": "Content-Type",
|
||
"type": "text",
|
||
"value": "application/json"
|
||
},
|
||
{
|
||
"key": "language",
|
||
"type": "text",
|
||
"value": "{{language}}"
|
||
},
|
||
{
|
||
"key": "multilingual",
|
||
"type": "text",
|
||
"value": "true"
|
||
}
|
||
],
|
||
"body": {
|
||
"mode": "raw",
|
||
"raw": "{\n \"params\": {\n \"property_id\": 1,\n \"channel_id\": 2,\n \"room_rate_channel_mapping_id\": 210,\n \"pricing_policy_child_id\": 8,\n \"is_selected\": true\n }\n}",
|
||
"options": {
|
||
"raw": {
|
||
"language": "json"
|
||
}
|
||
}
|
||
},
|
||
"url": {
|
||
"raw": "{{base_url}}/app/v1/property/room-rate-channel-pricing-child-policy/update",
|
||
"host": [
|
||
"{{base_url}}"
|
||
],
|
||
"path": [
|
||
"app",
|
||
"v1",
|
||
"property",
|
||
"room-rate-channel-pricing-child-policy",
|
||
"update"
|
||
]
|
||
}
|
||
},
|
||
"response": []
|
||
},
|
||
{
|
||
"name": "Get Room-Rate-Channel Pricing Policy",
|
||
"request": {
|
||
"method": "POST",
|
||
"header": [
|
||
{
|
||
"key": "authToken",
|
||
"type": "text",
|
||
"value": "{{user_token}}"
|
||
},
|
||
{
|
||
"key": "Content-Type",
|
||
"name": "Content-Type",
|
||
"type": "text",
|
||
"value": "application/json"
|
||
},
|
||
{
|
||
"key": "language",
|
||
"type": "text",
|
||
"value": "{{language}}"
|
||
},
|
||
{
|
||
"key": "multilingual",
|
||
"type": "text",
|
||
"value": "true"
|
||
}
|
||
],
|
||
"body": {
|
||
"mode": "raw",
|
||
"raw": "{\n \"params\": {\n \"property_id\" : 1,\n \"channel_id\" : 2\n }\n}",
|
||
"options": {
|
||
"raw": {
|
||
"language": "json"
|
||
}
|
||
}
|
||
},
|
||
"url": {
|
||
"raw": "{{base_url}}/app/v1/property/room-rate-channel-pricing-policy/list",
|
||
"host": [
|
||
"{{base_url}}"
|
||
],
|
||
"path": [
|
||
"app",
|
||
"v1",
|
||
"property",
|
||
"room-rate-channel-pricing-policy",
|
||
"list"
|
||
]
|
||
}
|
||
},
|
||
"response": []
|
||
}
|
||
]
|
||
},
|
||
{
|
||
"name": "ROOM BED",
|
||
"item": [
|
||
{
|
||
"name": "Add Room Bed",
|
||
"request": {
|
||
"method": "POST",
|
||
"header": [
|
||
{
|
||
"key": "authToken",
|
||
"type": "text",
|
||
"value": "{{user_token}}"
|
||
},
|
||
{
|
||
"key": "Content-Type",
|
||
"name": "Content-Type",
|
||
"type": "text",
|
||
"value": "application/json"
|
||
},
|
||
{
|
||
"key": "language",
|
||
"type": "text",
|
||
"value": "{{language}}"
|
||
},
|
||
{
|
||
"key": "multilingual",
|
||
"type": "text",
|
||
"value": "true"
|
||
}
|
||
],
|
||
"body": {
|
||
"mode": "raw",
|
||
"raw": "{\n \"params\": {\n \"property_id\": 1,\n \"room_id\": 1,\n \"room_bed_group\": [\n [\n {\n \"bed_type_id\": 1,\n \"bed_type_count\": 2\n },\n {\n \"bed_type_id\": 2,\n \"bed_type_count\": 1\n }\n ],\n [\n {\n \"bed_type_id\": 1,\n \"bed_type_count\": 2\n },\n {\n \"bed_type_id\": 2,\n \"bed_type_count\": 2\n }\n ] \n ]\n }\n}",
|
||
"options": {
|
||
"raw": {
|
||
"language": "json"
|
||
}
|
||
}
|
||
},
|
||
"url": {
|
||
"raw": "{{base_url}}/app/v1/property/room-bed/add",
|
||
"host": [
|
||
"{{base_url}}"
|
||
],
|
||
"path": [
|
||
"app",
|
||
"v1",
|
||
"property",
|
||
"room-bed",
|
||
"add"
|
||
]
|
||
}
|
||
},
|
||
"response": []
|
||
},
|
||
{
|
||
"name": "Get Room Bed",
|
||
"request": {
|
||
"method": "POST",
|
||
"header": [
|
||
{
|
||
"key": "authToken",
|
||
"type": "text",
|
||
"value": "{{user_token}}"
|
||
},
|
||
{
|
||
"key": "Content-Type",
|
||
"name": "Content-Type",
|
||
"type": "text",
|
||
"value": "application/json"
|
||
},
|
||
{
|
||
"key": "language",
|
||
"type": "text",
|
||
"value": "{{language}}"
|
||
},
|
||
{
|
||
"key": "multilingual",
|
||
"type": "text",
|
||
"value": "true"
|
||
}
|
||
],
|
||
"body": {
|
||
"mode": "raw",
|
||
"raw": "{\n \"params\": {\n \"property_id\": 1,\n \"room_id\": 1\n }\n}",
|
||
"options": {
|
||
"raw": {
|
||
"language": "json"
|
||
}
|
||
}
|
||
},
|
||
"url": {
|
||
"raw": "{{base_url}}/app/v1/property/room-bed/get",
|
||
"host": [
|
||
"{{base_url}}"
|
||
],
|
||
"path": [
|
||
"app",
|
||
"v1",
|
||
"property",
|
||
"room-bed",
|
||
"get"
|
||
]
|
||
}
|
||
},
|
||
"response": []
|
||
}
|
||
]
|
||
},
|
||
{
|
||
"name": "CHANNEL",
|
||
"item": [
|
||
{
|
||
"name": "SETUP",
|
||
"item": [
|
||
{
|
||
"name": "Add Property Channel Setup",
|
||
"request": {
|
||
"method": "POST",
|
||
"header": [
|
||
{
|
||
"key": "Content-Type",
|
||
"name": "Content-Type",
|
||
"value": "application/json",
|
||
"type": "text"
|
||
},
|
||
{
|
||
"key": "language",
|
||
"value": "{{language}}",
|
||
"type": "text"
|
||
},
|
||
{
|
||
"key": "authToken",
|
||
"value": "{{user_token}}",
|
||
"type": "text"
|
||
},
|
||
{
|
||
"key": "",
|
||
"value": "",
|
||
"type": "text",
|
||
"disabled": true
|
||
}
|
||
],
|
||
"body": {
|
||
"mode": "formdata",
|
||
"formdata": [
|
||
{
|
||
"key": "property_id",
|
||
"value": "217",
|
||
"type": "text"
|
||
},
|
||
{
|
||
"key": "channel_id",
|
||
"value": "13",
|
||
"type": "text"
|
||
},
|
||
{
|
||
"key": "booking_type_id",
|
||
"value": "",
|
||
"type": "text"
|
||
},
|
||
{
|
||
"key": "availability_type_id",
|
||
"value": "",
|
||
"type": "text"
|
||
},
|
||
{
|
||
"key": "room_pricing_type_id",
|
||
"value": "",
|
||
"type": "text"
|
||
},
|
||
{
|
||
"key": "currency_code",
|
||
"value": "",
|
||
"type": "text"
|
||
},
|
||
{
|
||
"key": "contract_file",
|
||
"type": "file",
|
||
"src": []
|
||
}
|
||
]
|
||
},
|
||
"url": {
|
||
"raw": "{{base_url}}/app/v1/property/property-channel-setup/add?XDEBUG_SESSION_START=PHPSTORM",
|
||
"host": [
|
||
"{{base_url}}"
|
||
],
|
||
"path": [
|
||
"app",
|
||
"v1",
|
||
"property",
|
||
"property-channel-setup",
|
||
"add"
|
||
],
|
||
"query": [
|
||
{
|
||
"key": "XDEBUG_SESSION_START",
|
||
"value": "PHPSTORM"
|
||
}
|
||
]
|
||
}
|
||
},
|
||
"response": []
|
||
},
|
||
{
|
||
"name": "Get Property Channel Setup",
|
||
"request": {
|
||
"method": "POST",
|
||
"header": [
|
||
{
|
||
"key": "Content-Type",
|
||
"name": "Content-Type",
|
||
"value": "application/json",
|
||
"type": "text"
|
||
},
|
||
{
|
||
"key": "language",
|
||
"value": "{{language}}",
|
||
"type": "text"
|
||
},
|
||
{
|
||
"key": "authToken",
|
||
"value": "{{user_token}}",
|
||
"type": "text"
|
||
}
|
||
],
|
||
"body": {
|
||
"mode": "raw",
|
||
"raw": "{\n \"params\": {\n \"property_id\": \"217\",\n \"channel_id\": \"5\"\n }\n}",
|
||
"options": {
|
||
"raw": {
|
||
"language": "json"
|
||
}
|
||
}
|
||
},
|
||
"url": {
|
||
"raw": "{{base_url}}/app/v1/property/property-channel-setup/get?XDEBUG_SESSION_START=PHPSTORM",
|
||
"host": [
|
||
"{{base_url}}"
|
||
],
|
||
"path": [
|
||
"app",
|
||
"v1",
|
||
"property",
|
||
"property-channel-setup",
|
||
"get"
|
||
],
|
||
"query": [
|
||
{
|
||
"key": "XDEBUG_SESSION_START",
|
||
"value": "PHPSTORM"
|
||
}
|
||
]
|
||
}
|
||
},
|
||
"response": []
|
||
}
|
||
]
|
||
},
|
||
{
|
||
"name": "NONREFUNDABLE",
|
||
"item": [
|
||
{
|
||
"name": "Get Input Form",
|
||
"request": {
|
||
"method": "POST",
|
||
"header": [
|
||
{
|
||
"key": "authToken",
|
||
"type": "text",
|
||
"value": "{{user_token}}"
|
||
},
|
||
{
|
||
"key": "Content-Type",
|
||
"name": "Content-Type",
|
||
"type": "text",
|
||
"value": "application/json"
|
||
},
|
||
{
|
||
"key": "language",
|
||
"type": "text",
|
||
"value": "{{language}}"
|
||
},
|
||
{
|
||
"key": "multilingual",
|
||
"type": "text",
|
||
"value": "true"
|
||
}
|
||
],
|
||
"body": {
|
||
"mode": "raw",
|
||
"raw": "{\n \"params\": {\n \"property_id\": 1,\n \"channels\": [1,2,3,4,5,6 ]\n }\n}",
|
||
"options": {
|
||
"raw": {
|
||
"language": "json"
|
||
}
|
||
}
|
||
},
|
||
"url": {
|
||
"raw": "{{base_url}}/app/v1/property/channel-nonrefundable/create",
|
||
"host": [
|
||
"{{base_url}}"
|
||
],
|
||
"path": [
|
||
"app",
|
||
"v1",
|
||
"property",
|
||
"channel-nonrefundable",
|
||
"create"
|
||
]
|
||
}
|
||
},
|
||
"response": []
|
||
},
|
||
{
|
||
"name": "Store Input Form",
|
||
"request": {
|
||
"method": "POST",
|
||
"header": [
|
||
{
|
||
"key": "authToken",
|
||
"type": "text",
|
||
"value": "{{user_token}}"
|
||
},
|
||
{
|
||
"key": "Content-Type",
|
||
"name": "Content-Type",
|
||
"type": "text",
|
||
"value": "application/json"
|
||
},
|
||
{
|
||
"key": "language",
|
||
"type": "text",
|
||
"value": "{{language}}"
|
||
},
|
||
{
|
||
"key": "multilingual",
|
||
"type": "text",
|
||
"value": "true"
|
||
}
|
||
],
|
||
"body": {
|
||
"mode": "raw",
|
||
"raw": "{\n \"params\": {\n \"property_id\": 1,\n \"channels\": [\n 3,4,2,5,7\n ],\n \"room_rate_mapping\": [\n {\n \"room_rate_mapping_id\": 6,\n \"action_type\": \"MIN\",\n \"value_type\": \"PER\",\n \"value\": 22.5\n },\n {\n \"room_rate_mapping_id\": 7,\n \"action_type\": \"PLS\",\n \"value_type\": \"FIX\",\n \"value\": 12\n },\n {\n \"room_rate_mapping_id\": 8,\n \"action_type\": \"MIN\",\n \"value_type\": \"PER\",\n \"value\": 15\n }\n ]\n }\n}",
|
||
"options": {
|
||
"raw": {
|
||
"language": "json"
|
||
}
|
||
}
|
||
},
|
||
"url": {
|
||
"raw": "{{base_url}}/app/v1/property/channel-nonrefundable/store",
|
||
"host": [
|
||
"{{base_url}}"
|
||
],
|
||
"path": [
|
||
"app",
|
||
"v1",
|
||
"property",
|
||
"channel-nonrefundable",
|
||
"store"
|
||
]
|
||
}
|
||
},
|
||
"response": []
|
||
},
|
||
{
|
||
"name": "Get Nonrefundable",
|
||
"request": {
|
||
"method": "POST",
|
||
"header": [
|
||
{
|
||
"key": "authToken",
|
||
"type": "text",
|
||
"value": "{{user_token}}"
|
||
},
|
||
{
|
||
"key": "Content-Type",
|
||
"name": "Content-Type",
|
||
"type": "text",
|
||
"value": "application/json"
|
||
},
|
||
{
|
||
"key": "language",
|
||
"type": "text",
|
||
"value": "{{language}}"
|
||
},
|
||
{
|
||
"key": "multilingual",
|
||
"type": "text",
|
||
"value": "true"
|
||
}
|
||
],
|
||
"body": {
|
||
"mode": "raw",
|
||
"raw": "{\n \"params\": {\n \"property_id\": 1,\n \"channels\": [3,4,5]\n }\n}",
|
||
"options": {
|
||
"raw": {
|
||
"language": "json"
|
||
}
|
||
}
|
||
},
|
||
"url": {
|
||
"raw": "{{base_url}}/app/v1/property/channel-nonrefundable/get",
|
||
"host": [
|
||
"{{base_url}}"
|
||
],
|
||
"path": [
|
||
"app",
|
||
"v1",
|
||
"property",
|
||
"channel-nonrefundable",
|
||
"get"
|
||
]
|
||
}
|
||
},
|
||
"response": []
|
||
}
|
||
]
|
||
},
|
||
{
|
||
"name": "PAYMENT POLICY",
|
||
"item": [
|
||
{
|
||
"name": "Add Property Channel Payment Policy",
|
||
"request": {
|
||
"method": "POST",
|
||
"header": [
|
||
{
|
||
"key": "Content-Type",
|
||
"name": "Content-Type",
|
||
"value": "application/json",
|
||
"type": "text"
|
||
},
|
||
{
|
||
"key": "language",
|
||
"value": "{{language}}",
|
||
"type": "text"
|
||
},
|
||
{
|
||
"key": "authToken",
|
||
"value": "{{user_token}}",
|
||
"type": "text"
|
||
}
|
||
],
|
||
"body": {
|
||
"mode": "raw",
|
||
"raw": "{\n \"params\": {\n \"property_id\": \"1\",\n \"channel_id\": \"15\",\n \"payments\": [\n {\n \"language_key\": \"property_booking_payment_type-credit_card\",\n \"payment_type_id\": 1,\n \"is_affected_price\": 1,\n \"action_type\": \"MIN\",\n \"value_type\": \"FIX\",\n \"value\": \"15\",\n \"is_selected\": true\n },\n {\n \"language_key\": \"property_booking_payment_type-pay_at_hotel\",\n \"payment_type_id\": 2,\n \"action_type\": \"MIN\",\n \"is_affected_price\": 1,\n \"value_type\": \"FIX\",\n \"value\": \"28\",\n \"is_selected\": true\n }\n ]\n }\n}",
|
||
"options": {
|
||
"raw": {
|
||
"language": "json"
|
||
}
|
||
}
|
||
},
|
||
"url": {
|
||
"raw": "{{base_url}}/app/v1/property/channel/payment-setup/add",
|
||
"host": [
|
||
"{{base_url}}"
|
||
],
|
||
"path": [
|
||
"app",
|
||
"v1",
|
||
"property",
|
||
"channel",
|
||
"payment-setup",
|
||
"add"
|
||
]
|
||
}
|
||
},
|
||
"response": []
|
||
},
|
||
{
|
||
"name": "Get Property Channel Payment Policy",
|
||
"request": {
|
||
"method": "POST",
|
||
"header": [
|
||
{
|
||
"key": "Content-Type",
|
||
"name": "Content-Type",
|
||
"value": "application/json",
|
||
"type": "text"
|
||
},
|
||
{
|
||
"key": "language",
|
||
"value": "{{language}}",
|
||
"type": "text"
|
||
},
|
||
{
|
||
"key": "authToken",
|
||
"value": "{{user_token}}",
|
||
"type": "text"
|
||
}
|
||
],
|
||
"body": {
|
||
"mode": "raw",
|
||
"raw": "{\n \"params\": {\n \"property_id\": 1,\n \"channel_id\": 15\n }\n}",
|
||
"options": {
|
||
"raw": {
|
||
"language": "json"
|
||
}
|
||
}
|
||
},
|
||
"url": {
|
||
"raw": "{{base_url}}/app/v1/property/channel/payment-setup/get",
|
||
"host": [
|
||
"{{base_url}}"
|
||
],
|
||
"path": [
|
||
"app",
|
||
"v1",
|
||
"property",
|
||
"channel",
|
||
"payment-setup",
|
||
"get"
|
||
]
|
||
}
|
||
},
|
||
"response": []
|
||
}
|
||
]
|
||
},
|
||
{
|
||
"name": "Channel Category List",
|
||
"request": {
|
||
"method": "POST",
|
||
"header": [
|
||
{
|
||
"key": "authToken",
|
||
"value": "{{user_token}}",
|
||
"type": "text"
|
||
},
|
||
{
|
||
"key": "Content-Type",
|
||
"name": "Content-Type",
|
||
"value": "application/json",
|
||
"type": "text"
|
||
},
|
||
{
|
||
"key": "language",
|
||
"value": "{{language}}",
|
||
"type": "text"
|
||
},
|
||
{
|
||
"key": "multilingual",
|
||
"value": "true",
|
||
"type": "text"
|
||
}
|
||
],
|
||
"body": {
|
||
"mode": "raw",
|
||
"raw": "{\n \"params\": {\n }\n}",
|
||
"options": {
|
||
"raw": {
|
||
"language": "json"
|
||
}
|
||
}
|
||
},
|
||
"url": {
|
||
"raw": "{{base_url}}/app/v1/property/channel-category/list",
|
||
"host": [
|
||
"{{base_url}}"
|
||
],
|
||
"path": [
|
||
"app",
|
||
"v1",
|
||
"property",
|
||
"channel-category",
|
||
"list"
|
||
]
|
||
}
|
||
},
|
||
"response": []
|
||
},
|
||
{
|
||
"name": "Get Channel",
|
||
"request": {
|
||
"method": "POST",
|
||
"header": [
|
||
{
|
||
"key": "authToken",
|
||
"type": "text",
|
||
"value": "{{user_token}}"
|
||
},
|
||
{
|
||
"key": "Content-Type",
|
||
"name": "Content-Type",
|
||
"type": "text",
|
||
"value": "application/json"
|
||
},
|
||
{
|
||
"key": "language",
|
||
"type": "text",
|
||
"value": "{{language}}"
|
||
},
|
||
{
|
||
"key": "multilingual",
|
||
"type": "text",
|
||
"value": "true"
|
||
}
|
||
],
|
||
"body": {
|
||
"mode": "raw",
|
||
"raw": "{\n \"params\": {\n \"property_id\": 1,\n \"parent_id\" : null,\n \"channel_category_id\" : 1,\n \"country_code\" : \"tr\"\n }\n}",
|
||
"options": {
|
||
"raw": {
|
||
"language": "json"
|
||
}
|
||
}
|
||
},
|
||
"url": {
|
||
"raw": "{{base_url}}/app/v1/property/channel/get",
|
||
"host": [
|
||
"{{base_url}}"
|
||
],
|
||
"path": [
|
||
"app",
|
||
"v1",
|
||
"property",
|
||
"channel",
|
||
"get"
|
||
]
|
||
}
|
||
},
|
||
"response": []
|
||
},
|
||
{
|
||
"name": "Add Channel",
|
||
"request": {
|
||
"method": "POST",
|
||
"header": [
|
||
{
|
||
"key": "authToken",
|
||
"type": "text",
|
||
"value": "{{user_token}}"
|
||
},
|
||
{
|
||
"key": "Content-Type",
|
||
"name": "Content-Type",
|
||
"type": "text",
|
||
"value": "application/json"
|
||
},
|
||
{
|
||
"key": "language",
|
||
"type": "text",
|
||
"value": "{{language}}"
|
||
},
|
||
{
|
||
"key": "multilingual",
|
||
"type": "text",
|
||
"value": "true"
|
||
}
|
||
],
|
||
"body": {
|
||
"mode": "raw",
|
||
"raw": "{\n \"params\": {\n \"parent_id\": null,\n \"name\": \"Son Channel\",\n \"official_name\": \"Son Channel C.O\",\n \"description\": null,\n \"channel_category_id\": 1,\n \"country_code\": \"TR\",\n \"currency_code\": [\"EUR\"],\n \"logo\": \"agoda-logo.svg\",\n \"address\": \"İstanbul / Türkey\",\n \"zip_code\": \"34200\",\n \"email\": \"info@acente.com\",\n \"phone\": \"+90256548\",\n \"phone2\": \"+800512152225\",\n \"fax\": \"+75452155222222\",\n \"score\": 10.1\n }\n}",
|
||
"options": {
|
||
"raw": {
|
||
"language": "json"
|
||
}
|
||
}
|
||
},
|
||
"url": {
|
||
"raw": "{{base_url}}/app/v1/property/channel/add",
|
||
"host": [
|
||
"{{base_url}}"
|
||
],
|
||
"path": [
|
||
"app",
|
||
"v1",
|
||
"property",
|
||
"channel",
|
||
"add"
|
||
]
|
||
}
|
||
},
|
||
"response": []
|
||
},
|
||
{
|
||
"name": "Update Channel",
|
||
"request": {
|
||
"method": "POST",
|
||
"header": [
|
||
{
|
||
"key": "authToken",
|
||
"type": "text",
|
||
"value": "{{user_token}}"
|
||
},
|
||
{
|
||
"key": "Content-Type",
|
||
"name": "Content-Type",
|
||
"type": "text",
|
||
"value": "application/json"
|
||
},
|
||
{
|
||
"key": "language",
|
||
"type": "text",
|
||
"value": "{{language}}"
|
||
},
|
||
{
|
||
"key": "multilingual",
|
||
"type": "text",
|
||
"value": "true"
|
||
}
|
||
],
|
||
"body": {
|
||
"mode": "raw",
|
||
"raw": "{\n \"params\": {\n \"id\" : 17,\n \"parent_id\": 2,\n \"name\": \"Son Channel\",\n \"official_name\": \"Son Channel C.O\",\n \"description\": null,\n \"channel_category_id\": 1,\n \"country_code\": \"TR\",\n \"currency_code\": [\"TRY\"],\n \"logo\": \"agoda-logo.svg\",\n \"address\": \"İstanbul / Türkey\",\n \"zip_code\": \"34200\",\n \"email\": \"info@acente.com\",\n \"phone\": \"+90256548\",\n \"phone2\": \"+800512152225\",\n \"fax\": \"+75452155222222\",\n \"score\": 10.1\n \n }\n}",
|
||
"options": {
|
||
"raw": {
|
||
"language": "json"
|
||
}
|
||
}
|
||
},
|
||
"url": {
|
||
"raw": "{{base_url}}/app/v1/property/channel/update",
|
||
"host": [
|
||
"{{base_url}}"
|
||
],
|
||
"path": [
|
||
"app",
|
||
"v1",
|
||
"property",
|
||
"channel",
|
||
"update"
|
||
]
|
||
}
|
||
},
|
||
"response": []
|
||
},
|
||
{
|
||
"name": "Add Property Channel Mapping",
|
||
"request": {
|
||
"method": "POST",
|
||
"header": [
|
||
{
|
||
"key": "Content-Type",
|
||
"name": "Content-Type",
|
||
"value": "application/json",
|
||
"type": "text"
|
||
},
|
||
{
|
||
"key": "language",
|
||
"value": "{{language}}",
|
||
"type": "text"
|
||
},
|
||
{
|
||
"key": "authToken",
|
||
"value": "{{user_token}}",
|
||
"type": "text"
|
||
}
|
||
],
|
||
"body": {
|
||
"mode": "raw",
|
||
"raw": "{\n \"params\": {\n \"property_id\": 1,\n \"channels\": [ 2,3,4,5,6,7 ]\n }\n}",
|
||
"options": {
|
||
"raw": {
|
||
"language": "json"
|
||
}
|
||
}
|
||
},
|
||
"url": {
|
||
"raw": "{{base_url}}/app/v1/property/property-channel-mapping/add",
|
||
"host": [
|
||
"{{base_url}}"
|
||
],
|
||
"path": [
|
||
"app",
|
||
"v1",
|
||
"property",
|
||
"property-channel-mapping",
|
||
"add"
|
||
]
|
||
}
|
||
},
|
||
"response": []
|
||
},
|
||
{
|
||
"name": "Get Property Channel Mapping",
|
||
"request": {
|
||
"method": "POST",
|
||
"header": [
|
||
{
|
||
"key": "Content-Type",
|
||
"name": "Content-Type",
|
||
"value": "application/json",
|
||
"type": "text"
|
||
},
|
||
{
|
||
"key": "language",
|
||
"value": "{{language}}",
|
||
"type": "text"
|
||
},
|
||
{
|
||
"key": "authToken",
|
||
"value": "{{user_token}}",
|
||
"type": "text"
|
||
}
|
||
],
|
||
"body": {
|
||
"mode": "raw",
|
||
"raw": "{\n \"params\": {\n \t\"property_id\" : 1\n }\n}",
|
||
"options": {
|
||
"raw": {
|
||
"language": "json"
|
||
}
|
||
}
|
||
},
|
||
"url": {
|
||
"raw": "{{base_url}}/app/v1/property/property-channel-mapping/get",
|
||
"host": [
|
||
"{{base_url}}"
|
||
],
|
||
"path": [
|
||
"app",
|
||
"v1",
|
||
"property",
|
||
"property-channel-mapping",
|
||
"get"
|
||
]
|
||
}
|
||
},
|
||
"response": []
|
||
},
|
||
{
|
||
"name": "Remove Property Channel Mapping",
|
||
"request": {
|
||
"method": "POST",
|
||
"header": [
|
||
{
|
||
"key": "Content-Type",
|
||
"name": "Content-Type",
|
||
"value": "application/json",
|
||
"type": "text"
|
||
},
|
||
{
|
||
"key": "language",
|
||
"value": "{{language}}",
|
||
"type": "text"
|
||
},
|
||
{
|
||
"key": "authToken",
|
||
"value": "{{user_token}}",
|
||
"type": "text"
|
||
}
|
||
],
|
||
"body": {
|
||
"mode": "raw",
|
||
"raw": "{\n \"params\": {\n \t\"property_id\" : 1,\n \"channels\": [ 1,2 ]\n }\n}",
|
||
"options": {
|
||
"raw": {
|
||
"language": "json"
|
||
}
|
||
}
|
||
},
|
||
"url": {
|
||
"raw": "{{base_url}}/app/v1/property/property-channel-mapping/remove",
|
||
"host": [
|
||
"{{base_url}}"
|
||
],
|
||
"path": [
|
||
"app",
|
||
"v1",
|
||
"property",
|
||
"property-channel-mapping",
|
||
"remove"
|
||
]
|
||
}
|
||
},
|
||
"response": []
|
||
},
|
||
{
|
||
"name": "Update Property Channel Mapping",
|
||
"request": {
|
||
"method": "POST",
|
||
"header": [
|
||
{
|
||
"key": "Content-Type",
|
||
"name": "Content-Type",
|
||
"value": "application/json",
|
||
"type": "text"
|
||
},
|
||
{
|
||
"key": "language",
|
||
"value": "{{language}}",
|
||
"type": "text"
|
||
},
|
||
{
|
||
"key": "authToken",
|
||
"value": "{{user_token}}",
|
||
"type": "text"
|
||
}
|
||
],
|
||
"body": {
|
||
"mode": "raw",
|
||
"raw": "{\n \"params\": {\n \"property_id\": 1,\n \"property_channel\": [\n {\n \"id\": 2,\n \"is_selected\": false\n },\n {\n \"id\": 3,\n \"is_selected\": true\n\n },\n {\n \"id\": 4,\n \"is_selected\": false\n },\n {\n \"id\": 5,\n \"is_selected\": false\n },\n {\n \"id\": 6,\n \"is_selected\": false\n },\n {\n \"id\": 8,\n \"is_selected\": false\n }\n ]\n }\n}",
|
||
"options": {
|
||
"raw": {
|
||
"language": "json"
|
||
}
|
||
}
|
||
},
|
||
"url": {
|
||
"raw": "{{base_url}}/app/v1/property/property-channel-mapping/update",
|
||
"host": [
|
||
"{{base_url}}"
|
||
],
|
||
"path": [
|
||
"app",
|
||
"v1",
|
||
"property",
|
||
"property-channel-mapping",
|
||
"update"
|
||
]
|
||
}
|
||
},
|
||
"response": []
|
||
}
|
||
]
|
||
},
|
||
{
|
||
"name": "CHANNEL GROUP",
|
||
"item": [
|
||
{
|
||
"name": "Get Channel Group",
|
||
"request": {
|
||
"method": "POST",
|
||
"header": [
|
||
{
|
||
"key": "authToken",
|
||
"type": "text",
|
||
"value": "{{user_token}}"
|
||
},
|
||
{
|
||
"key": "Content-Type",
|
||
"name": "Content-Type",
|
||
"type": "text",
|
||
"value": "application/json"
|
||
},
|
||
{
|
||
"key": "language",
|
||
"type": "text",
|
||
"value": "{{language}}"
|
||
},
|
||
{
|
||
"key": "multilingual",
|
||
"type": "text",
|
||
"value": "true"
|
||
}
|
||
],
|
||
"body": {
|
||
"mode": "raw",
|
||
"raw": "{\n \"params\": {\n \"property_id\": 230,\n \"group_id\": 16\n }\n}",
|
||
"options": {
|
||
"raw": {
|
||
"language": "json"
|
||
}
|
||
}
|
||
},
|
||
"url": {
|
||
"raw": "{{base_url}}/app/v1/property/channel-group/get?XDEBUG_SESSION_START=PHPSTORM",
|
||
"host": [
|
||
"{{base_url}}"
|
||
],
|
||
"path": [
|
||
"app",
|
||
"v1",
|
||
"property",
|
||
"channel-group",
|
||
"get"
|
||
],
|
||
"query": [
|
||
{
|
||
"key": "XDEBUG_SESSION_START",
|
||
"value": "PHPSTORM"
|
||
}
|
||
]
|
||
}
|
||
},
|
||
"response": []
|
||
},
|
||
{
|
||
"name": "Create Channel Group",
|
||
"request": {
|
||
"method": "POST",
|
||
"header": [
|
||
{
|
||
"key": "authToken",
|
||
"type": "text",
|
||
"value": "{{user_token}}"
|
||
},
|
||
{
|
||
"key": "Content-Type",
|
||
"name": "Content-Type",
|
||
"type": "text",
|
||
"value": "application/json"
|
||
},
|
||
{
|
||
"key": "language",
|
||
"type": "text",
|
||
"value": "{{language}}"
|
||
},
|
||
{
|
||
"key": "multilingual",
|
||
"type": "text",
|
||
"value": "true"
|
||
}
|
||
],
|
||
"body": {
|
||
"mode": "raw",
|
||
"raw": "{\n \"params\": {\n \"property_id\": 230\n }\n}",
|
||
"options": {
|
||
"raw": {
|
||
"language": "json"
|
||
}
|
||
}
|
||
},
|
||
"url": {
|
||
"raw": "{{base_url}}/app/v1/property/channel-group/create?XDEBUG_SESSION_START=PHPSTORM",
|
||
"host": [
|
||
"{{base_url}}"
|
||
],
|
||
"path": [
|
||
"app",
|
||
"v1",
|
||
"property",
|
||
"channel-group",
|
||
"create"
|
||
],
|
||
"query": [
|
||
{
|
||
"key": "XDEBUG_SESSION_START",
|
||
"value": "PHPSTORM"
|
||
}
|
||
]
|
||
}
|
||
},
|
||
"response": []
|
||
},
|
||
{
|
||
"name": "Add Channel Group",
|
||
"request": {
|
||
"method": "POST",
|
||
"header": [
|
||
{
|
||
"key": "authToken",
|
||
"type": "text",
|
||
"value": "{{user_token}}"
|
||
},
|
||
{
|
||
"key": "Content-Type",
|
||
"name": "Content-Type",
|
||
"type": "text",
|
||
"value": "application/json"
|
||
},
|
||
{
|
||
"key": "language",
|
||
"type": "text",
|
||
"value": "{{language}}"
|
||
},
|
||
{
|
||
"key": "multilingual",
|
||
"type": "text",
|
||
"value": "true"
|
||
}
|
||
],
|
||
"body": {
|
||
"mode": "raw",
|
||
"raw": "{\n \"params\": {\n \"property_id\": 217,\n \"name\": \"My Third Channel Group\",\n \"channels\": [1,2,3]\n }\n}",
|
||
"options": {
|
||
"raw": {
|
||
"language": "json"
|
||
}
|
||
}
|
||
},
|
||
"url": {
|
||
"raw": "{{base_url}}/app/v1/property/channel-group/add?XDEBUG_SESSION_START=PHPSTORM",
|
||
"host": [
|
||
"{{base_url}}"
|
||
],
|
||
"path": [
|
||
"app",
|
||
"v1",
|
||
"property",
|
||
"channel-group",
|
||
"add"
|
||
],
|
||
"query": [
|
||
{
|
||
"key": "XDEBUG_SESSION_START",
|
||
"value": "PHPSTORM"
|
||
}
|
||
]
|
||
}
|
||
},
|
||
"response": []
|
||
},
|
||
{
|
||
"name": "Update Channel Group",
|
||
"request": {
|
||
"method": "POST",
|
||
"header": [
|
||
{
|
||
"key": "authToken",
|
||
"type": "text",
|
||
"value": "{{user_token}}"
|
||
},
|
||
{
|
||
"key": "Content-Type",
|
||
"name": "Content-Type",
|
||
"type": "text",
|
||
"value": "application/json"
|
||
},
|
||
{
|
||
"key": "language",
|
||
"type": "text",
|
||
"value": "{{language}}"
|
||
},
|
||
{
|
||
"key": "multilingual",
|
||
"type": "text",
|
||
"value": "true"
|
||
}
|
||
],
|
||
"body": {
|
||
"mode": "raw",
|
||
"raw": "{\n \"params\": {\n \"property_id\": 217,\n \"group_id\": 10,\n \"name\": \"My 3 Channel Group\",\n \"channels\": [2]\n }\n}",
|
||
"options": {
|
||
"raw": {
|
||
"language": "json"
|
||
}
|
||
}
|
||
},
|
||
"url": {
|
||
"raw": "{{base_url}}/app/v1/property/channel-group/update?XDEBUG_SESSION_START=PHPSTORM",
|
||
"host": [
|
||
"{{base_url}}"
|
||
],
|
||
"path": [
|
||
"app",
|
||
"v1",
|
||
"property",
|
||
"channel-group",
|
||
"update"
|
||
],
|
||
"query": [
|
||
{
|
||
"key": "XDEBUG_SESSION_START",
|
||
"value": "PHPSTORM"
|
||
}
|
||
]
|
||
}
|
||
},
|
||
"response": []
|
||
}
|
||
]
|
||
},
|
||
{
|
||
"name": "CHANNEL CONTACT",
|
||
"item": [
|
||
{
|
||
"name": "Get Channel Contact",
|
||
"request": {
|
||
"method": "POST",
|
||
"header": [
|
||
{
|
||
"key": "authToken",
|
||
"type": "text",
|
||
"value": "{{user_token}}"
|
||
},
|
||
{
|
||
"key": "Content-Type",
|
||
"name": "Content-Type",
|
||
"type": "text",
|
||
"value": "application/json"
|
||
},
|
||
{
|
||
"key": "language",
|
||
"type": "text",
|
||
"value": "{{language}}"
|
||
},
|
||
{
|
||
"key": "multilingual",
|
||
"type": "text",
|
||
"value": "true"
|
||
}
|
||
],
|
||
"body": {
|
||
"mode": "raw",
|
||
"raw": "{\n \"params\": {\n \"property_id\": 217,\n \"channel_id\": 2,\n \"id\":1\n }\n}",
|
||
"options": {
|
||
"raw": {
|
||
"language": "json"
|
||
}
|
||
}
|
||
},
|
||
"url": {
|
||
"raw": "{{base_url}}/app/v1/property/channel-contact/get?XDEBUG_SESSION_START=PHPSTORM",
|
||
"host": [
|
||
"{{base_url}}"
|
||
],
|
||
"path": [
|
||
"app",
|
||
"v1",
|
||
"property",
|
||
"channel-contact",
|
||
"get"
|
||
],
|
||
"query": [
|
||
{
|
||
"key": "XDEBUG_SESSION_START",
|
||
"value": "PHPSTORM"
|
||
}
|
||
]
|
||
}
|
||
},
|
||
"response": []
|
||
},
|
||
{
|
||
"name": "Add Channel Contact",
|
||
"request": {
|
||
"method": "POST",
|
||
"header": [
|
||
{
|
||
"key": "authToken",
|
||
"type": "text",
|
||
"value": "{{user_token}}"
|
||
},
|
||
{
|
||
"key": "Content-Type",
|
||
"name": "Content-Type",
|
||
"type": "text",
|
||
"value": "application/json"
|
||
},
|
||
{
|
||
"key": "language",
|
||
"type": "text",
|
||
"value": "{{language}}"
|
||
},
|
||
{
|
||
"key": "multilingual",
|
||
"type": "text",
|
||
"value": "true"
|
||
}
|
||
],
|
||
"body": {
|
||
"mode": "raw",
|
||
"raw": "{\n \"params\": {\n \"property_id\": 217,\n \"channel_id\": 2,\n \"name\":\"Burhan Çetin\",\n \"email\":\"mail@burhancetin.com\"\n }\n}",
|
||
"options": {
|
||
"raw": {
|
||
"language": "json"
|
||
}
|
||
}
|
||
},
|
||
"url": {
|
||
"raw": "{{base_url}}/app/v1/property/channel-contact/add?XDEBUG_SESSION_START=PHPSTORM",
|
||
"host": [
|
||
"{{base_url}}"
|
||
],
|
||
"path": [
|
||
"app",
|
||
"v1",
|
||
"property",
|
||
"channel-contact",
|
||
"add"
|
||
],
|
||
"query": [
|
||
{
|
||
"key": "XDEBUG_SESSION_START",
|
||
"value": "PHPSTORM"
|
||
}
|
||
]
|
||
}
|
||
},
|
||
"response": []
|
||
},
|
||
{
|
||
"name": "Update Channel Contact",
|
||
"request": {
|
||
"method": "POST",
|
||
"header": [
|
||
{
|
||
"key": "authToken",
|
||
"type": "text",
|
||
"value": "{{user_token}}"
|
||
},
|
||
{
|
||
"key": "Content-Type",
|
||
"name": "Content-Type",
|
||
"type": "text",
|
||
"value": "application/json"
|
||
},
|
||
{
|
||
"key": "language",
|
||
"type": "text",
|
||
"value": "{{language}}"
|
||
},
|
||
{
|
||
"key": "multilingual",
|
||
"type": "text",
|
||
"value": "true"
|
||
}
|
||
],
|
||
"body": {
|
||
"mode": "raw",
|
||
"raw": "{\n \"params\": {\n \"property_id\": 217,\n \"channel_id\": 2,\n \"id\":1,\n \"property_channel_mapping_id\": 194,\n \"name\":\"Burhan Çetoo\",\n \"email\":\"mail@burhancetin.commm\"\n }\n}",
|
||
"options": {
|
||
"raw": {
|
||
"language": "json"
|
||
}
|
||
}
|
||
},
|
||
"url": {
|
||
"raw": "{{base_url}}/app/v1/property/channel-contact/update?XDEBUG_SESSION_START=PHPSTORM",
|
||
"host": [
|
||
"{{base_url}}"
|
||
],
|
||
"path": [
|
||
"app",
|
||
"v1",
|
||
"property",
|
||
"channel-contact",
|
||
"update"
|
||
],
|
||
"query": [
|
||
{
|
||
"key": "XDEBUG_SESSION_START",
|
||
"value": "PHPSTORM"
|
||
}
|
||
]
|
||
}
|
||
},
|
||
"response": []
|
||
},
|
||
{
|
||
"name": "Delete Channel Contact",
|
||
"request": {
|
||
"method": "POST",
|
||
"header": [
|
||
{
|
||
"key": "authToken",
|
||
"type": "text",
|
||
"value": "{{user_token}}"
|
||
},
|
||
{
|
||
"key": "Content-Type",
|
||
"name": "Content-Type",
|
||
"type": "text",
|
||
"value": "application/json"
|
||
},
|
||
{
|
||
"key": "language",
|
||
"type": "text",
|
||
"value": "{{language}}"
|
||
},
|
||
{
|
||
"key": "multilingual",
|
||
"type": "text",
|
||
"value": "true"
|
||
}
|
||
],
|
||
"body": {
|
||
"mode": "raw",
|
||
"raw": "{\n \"params\": {\n \"property_id\": 217,\n \"channel_id\": 2,\n \"id\":1,\n \"property_channel_mapping_id\": 194\n }\n}",
|
||
"options": {
|
||
"raw": {
|
||
"language": "json"
|
||
}
|
||
}
|
||
},
|
||
"url": {
|
||
"raw": "{{base_url}}/app/v1/property/channel-contact/delete?XDEBUG_SESSION_START=PHPSTORM",
|
||
"host": [
|
||
"{{base_url}}"
|
||
],
|
||
"path": [
|
||
"app",
|
||
"v1",
|
||
"property",
|
||
"channel-contact",
|
||
"delete"
|
||
],
|
||
"query": [
|
||
{
|
||
"key": "XDEBUG_SESSION_START",
|
||
"value": "PHPSTORM"
|
||
}
|
||
]
|
||
}
|
||
},
|
||
"response": []
|
||
}
|
||
]
|
||
},
|
||
{
|
||
"name": "OFFER",
|
||
"item": [
|
||
{
|
||
"name": "Offer Dashboard",
|
||
"request": {
|
||
"method": "POST",
|
||
"header": [
|
||
{
|
||
"key": "authToken",
|
||
"type": "text",
|
||
"value": "{{user_token}}"
|
||
},
|
||
{
|
||
"key": "Content-Type",
|
||
"name": "Content-Type",
|
||
"type": "text",
|
||
"value": "application/json"
|
||
},
|
||
{
|
||
"key": "language",
|
||
"type": "text",
|
||
"value": "{{language}}"
|
||
},
|
||
{
|
||
"key": "multilingual",
|
||
"type": "text",
|
||
"value": "true"
|
||
}
|
||
],
|
||
"body": {
|
||
"mode": "raw",
|
||
"raw": "{\n \"params\": {\n\n \"property_id\": 1\n }\n}",
|
||
"options": {
|
||
"raw": {
|
||
"language": "json"
|
||
}
|
||
}
|
||
},
|
||
"url": {
|
||
"raw": "{{base_url}}/app/v1/property/offer/dashboard",
|
||
"host": [
|
||
"{{base_url}}"
|
||
],
|
||
"path": [
|
||
"app",
|
||
"v1",
|
||
"property",
|
||
"offer",
|
||
"dashboard"
|
||
]
|
||
}
|
||
},
|
||
"response": []
|
||
},
|
||
{
|
||
"name": "Get Offer List",
|
||
"request": {
|
||
"method": "POST",
|
||
"header": [
|
||
{
|
||
"key": "authToken",
|
||
"type": "text",
|
||
"value": "{{user_token}}"
|
||
},
|
||
{
|
||
"key": "Content-Type",
|
||
"name": "Content-Type",
|
||
"type": "text",
|
||
"value": "application/json"
|
||
},
|
||
{
|
||
"key": "language",
|
||
"type": "text",
|
||
"value": "{{language}}"
|
||
},
|
||
{
|
||
"key": "multilingual",
|
||
"type": "text",
|
||
"value": "true"
|
||
}
|
||
],
|
||
"body": {
|
||
"mode": "raw",
|
||
"raw": "{\n \"params\": {\n \"property_id\" : 1,\n \"ticket_code\" : \"\"\n }\n}",
|
||
"options": {
|
||
"raw": {
|
||
"language": "json"
|
||
}
|
||
}
|
||
},
|
||
"url": {
|
||
"raw": "{{base_url}}/app/v1/property/offer/list",
|
||
"host": [
|
||
"{{base_url}}"
|
||
],
|
||
"path": [
|
||
"app",
|
||
"v1",
|
||
"property",
|
||
"offer",
|
||
"list"
|
||
]
|
||
}
|
||
},
|
||
"response": []
|
||
},
|
||
{
|
||
"name": "Create Offer Form",
|
||
"request": {
|
||
"method": "POST",
|
||
"header": [
|
||
{
|
||
"key": "authToken",
|
||
"type": "text",
|
||
"value": "{{user_token}}"
|
||
},
|
||
{
|
||
"key": "Content-Type",
|
||
"name": "Content-Type",
|
||
"type": "text",
|
||
"value": "application/json"
|
||
},
|
||
{
|
||
"key": "language",
|
||
"type": "text",
|
||
"value": "{{language}}"
|
||
},
|
||
{
|
||
"key": "multilingual",
|
||
"type": "text",
|
||
"value": "true"
|
||
}
|
||
],
|
||
"body": {
|
||
"mode": "raw",
|
||
"raw": "{\n \"params\": {\n\n \"property_id\": 1\n }\n}",
|
||
"options": {
|
||
"raw": {
|
||
"language": "json"
|
||
}
|
||
}
|
||
},
|
||
"url": {
|
||
"raw": "{{base_url}}/app/v1/property/offer/create",
|
||
"host": [
|
||
"{{base_url}}"
|
||
],
|
||
"path": [
|
||
"app",
|
||
"v1",
|
||
"property",
|
||
"offer",
|
||
"create"
|
||
]
|
||
}
|
||
},
|
||
"response": []
|
||
},
|
||
{
|
||
"name": "Store Offer",
|
||
"request": {
|
||
"method": "POST",
|
||
"header": [
|
||
{
|
||
"key": "authToken",
|
||
"type": "text",
|
||
"value": "{{user_token}}"
|
||
},
|
||
{
|
||
"key": "Content-Type",
|
||
"name": "Content-Type",
|
||
"type": "text",
|
||
"value": "application/json"
|
||
},
|
||
{
|
||
"key": "language",
|
||
"type": "text",
|
||
"value": "{{language}}"
|
||
},
|
||
{
|
||
"key": "multilingual",
|
||
"type": "text",
|
||
"value": "true"
|
||
}
|
||
],
|
||
"body": {
|
||
"mode": "raw",
|
||
"raw": "{\n \"params\": {\n \"property_id\": 1,\n \"title\": \"Deniyooom\",\n \"description\": \"Description\",\n \"expire_date\": \"2020-01-07\",\n \"language\": \"tr\",\n \"currency\": \"EUR\",\n \"payment_type_id\": 1,\n \"fact_mapping\": [46, 48 ],\n \"contact_mapping\": [13, 14, 15 ],\n \"room_mapping\": [2],\n \"accommodation_mapping\": [10,11],\n \"important_notes\": [\n \"note - 1\",\n \"note - 2\"\n ],\n \"photo_mapping\": [ 7, 8,10,11],\n \"cover_photos\": [1],\n \"has_cancellation_policy\" : false,\n \"cancellation_policy\": [\n \t{\n \"days_before\": \"5\",\n \"type\": \"FIX\",\n \"value\": 10\n },\n \t{\n \"days_before\": \"3\",\n \"type\": \"FIX\",\n \"value\": 20\n }\n ]\n }\n}",
|
||
"options": {
|
||
"raw": {
|
||
"language": "json"
|
||
}
|
||
}
|
||
},
|
||
"url": {
|
||
"raw": "{{base_url}}/app/v1/property/offer/store",
|
||
"host": [
|
||
"{{base_url}}"
|
||
],
|
||
"path": [
|
||
"app",
|
||
"v1",
|
||
"property",
|
||
"offer",
|
||
"store"
|
||
]
|
||
}
|
||
},
|
||
"response": []
|
||
},
|
||
{
|
||
"name": "Edit Offer Form",
|
||
"request": {
|
||
"method": "POST",
|
||
"header": [
|
||
{
|
||
"key": "authToken",
|
||
"type": "text",
|
||
"value": "{{user_token}}"
|
||
},
|
||
{
|
||
"key": "Content-Type",
|
||
"name": "Content-Type",
|
||
"type": "text",
|
||
"value": "application/json"
|
||
},
|
||
{
|
||
"key": "language",
|
||
"type": "text",
|
||
"value": "{{language}}"
|
||
},
|
||
{
|
||
"key": "multilingual",
|
||
"type": "text",
|
||
"value": "true"
|
||
}
|
||
],
|
||
"body": {
|
||
"mode": "raw",
|
||
"raw": "{\n \"params\": {\n\n\t\t\"locale\" :\"tr\",\n \"property_id\": 76,\n \"offer_id\" : 123\n }\n}",
|
||
"options": {
|
||
"raw": {
|
||
"language": "json"
|
||
}
|
||
}
|
||
},
|
||
"url": {
|
||
"raw": "{{base_url}}/app/v1/property/offer/edit",
|
||
"host": [
|
||
"{{base_url}}"
|
||
],
|
||
"path": [
|
||
"app",
|
||
"v1",
|
||
"property",
|
||
"offer",
|
||
"edit"
|
||
]
|
||
}
|
||
},
|
||
"response": []
|
||
},
|
||
{
|
||
"name": "Edit-Store Update Offer",
|
||
"request": {
|
||
"method": "POST",
|
||
"header": [
|
||
{
|
||
"key": "authToken",
|
||
"type": "text",
|
||
"value": "{{user_token}}"
|
||
},
|
||
{
|
||
"key": "Content-Type",
|
||
"name": "Content-Type",
|
||
"type": "text",
|
||
"value": "application/json"
|
||
},
|
||
{
|
||
"key": "language",
|
||
"type": "text",
|
||
"value": "{{language}}"
|
||
},
|
||
{
|
||
"key": "multilingual",
|
||
"type": "text",
|
||
"value": "true"
|
||
}
|
||
],
|
||
"body": {
|
||
"mode": "raw",
|
||
"raw": "{\n \"params\": {\n \"property_id\": 76,\n \"offer_id\" : 123,\n \"title\": \"Cover Deneme\",\n \"description\": \"Description\",\n \"expire_date\": \"2020-01-07\",\n \"language\": \"tr\",\n \"currency\": \"EUR\",\n \"status\" : true,\n \"payment_type_id\": 1,\n \"fact_mapping\": [46, 48 ],\n \"contact_mapping\": [13 ],\n \"room_mapping\": [1,2],\n \"accommodation_mapping\": [10,11],\n \"important_notes\": [\n \n ],\n \"photo_mapping\": [ 7,8],\n \"cover_photos\": [],\n \"has_cancellation_policy\" : true,\n \"cancellation_policy\": [\n \t{\n \"days_before\": \"5\",\n \"type\": \"FIX\",\n \"value\": 10\n }\n ]\n }\n}",
|
||
"options": {
|
||
"raw": {
|
||
"language": "json"
|
||
}
|
||
}
|
||
},
|
||
"url": {
|
||
"raw": "{{base_url}}/app/v1/property/offer/update",
|
||
"host": [
|
||
"{{base_url}}"
|
||
],
|
||
"path": [
|
||
"app",
|
||
"v1",
|
||
"property",
|
||
"offer",
|
||
"update"
|
||
]
|
||
}
|
||
},
|
||
"response": []
|
||
},
|
||
{
|
||
"name": "Update Offer Status",
|
||
"request": {
|
||
"method": "POST",
|
||
"header": [
|
||
{
|
||
"key": "authToken",
|
||
"type": "text",
|
||
"value": "{{user_token}}"
|
||
},
|
||
{
|
||
"key": "Content-Type",
|
||
"name": "Content-Type",
|
||
"type": "text",
|
||
"value": "application/json"
|
||
},
|
||
{
|
||
"key": "language",
|
||
"type": "text",
|
||
"value": "{{language}}"
|
||
},
|
||
{
|
||
"key": "multilingual",
|
||
"type": "text",
|
||
"value": "true"
|
||
}
|
||
],
|
||
"body": {
|
||
"mode": "raw",
|
||
"raw": "{\r\n \"params\": {\r\n \"property_id\": 76,\r\n \"offer_id\" : 123,\r\n \"status\" : 1\r\n }\r\n}",
|
||
"options": {
|
||
"raw": {
|
||
"language": "json"
|
||
}
|
||
}
|
||
},
|
||
"url": {
|
||
"raw": "{{base_url}}/app/v1/property/offer/status/update",
|
||
"host": [
|
||
"{{base_url}}"
|
||
],
|
||
"path": [
|
||
"app",
|
||
"v1",
|
||
"property",
|
||
"offer",
|
||
"status",
|
||
"update"
|
||
]
|
||
}
|
||
},
|
||
"response": []
|
||
},
|
||
{
|
||
"name": "Offer Approve",
|
||
"request": {
|
||
"method": "POST",
|
||
"header": [
|
||
{
|
||
"key": "authToken",
|
||
"type": "text",
|
||
"value": "{{user_token}}"
|
||
},
|
||
{
|
||
"key": "Content-Type",
|
||
"name": "Content-Type",
|
||
"type": "text",
|
||
"value": "application/json"
|
||
},
|
||
{
|
||
"key": "language",
|
||
"type": "text",
|
||
"value": "{{language}}"
|
||
},
|
||
{
|
||
"key": "multilingual",
|
||
"type": "text",
|
||
"value": "true"
|
||
}
|
||
],
|
||
"body": {
|
||
"mode": "raw",
|
||
"raw": "{\r\n \"params\": {\r\n \"offer_id\" : 129,\r\n \"offer_code\" : \"shoh4xsENgo6Tyed\"\r\n }\r\n}",
|
||
"options": {
|
||
"raw": {
|
||
"language": "json"
|
||
}
|
||
}
|
||
},
|
||
"url": {
|
||
"raw": "{{base_url}}/app/v1/offer/accept",
|
||
"host": [
|
||
"{{base_url}}"
|
||
],
|
||
"path": [
|
||
"app",
|
||
"v1",
|
||
"offer",
|
||
"accept"
|
||
]
|
||
}
|
||
},
|
||
"response": []
|
||
},
|
||
{
|
||
"name": "Get Offer Inventory",
|
||
"request": {
|
||
"method": "POST",
|
||
"header": [
|
||
{
|
||
"key": "authToken",
|
||
"type": "text",
|
||
"value": "{{user_token}}"
|
||
},
|
||
{
|
||
"key": "Content-Type",
|
||
"name": "Content-Type",
|
||
"type": "text",
|
||
"value": "application/json"
|
||
},
|
||
{
|
||
"key": "language",
|
||
"type": "text",
|
||
"value": "{{language}}"
|
||
},
|
||
{
|
||
"key": "multilingual",
|
||
"type": "text",
|
||
"value": "true"
|
||
}
|
||
],
|
||
"body": {
|
||
"mode": "raw",
|
||
"raw": "{\n \"params\": {\n \"property_id\": 217,\n \"offer_id\":330\n }\n}",
|
||
"options": {
|
||
"raw": {
|
||
"language": "json"
|
||
}
|
||
}
|
||
},
|
||
"url": {
|
||
"raw": "{{base_url}}/app/v1/property/offer/price/get?XDEBUG_SESSION_START=PHPSTORM",
|
||
"host": [
|
||
"{{base_url}}"
|
||
],
|
||
"path": [
|
||
"app",
|
||
"v1",
|
||
"property",
|
||
"offer",
|
||
"price",
|
||
"get"
|
||
],
|
||
"query": [
|
||
{
|
||
"key": "XDEBUG_SESSION_START",
|
||
"value": "PHPSTORM"
|
||
}
|
||
]
|
||
}
|
||
},
|
||
"response": []
|
||
},
|
||
{
|
||
"name": "Store Offer Inventory",
|
||
"request": {
|
||
"method": "POST",
|
||
"header": [
|
||
{
|
||
"key": "authToken",
|
||
"type": "text",
|
||
"value": "{{user_token}}"
|
||
},
|
||
{
|
||
"key": "Content-Type",
|
||
"name": "Content-Type",
|
||
"type": "text",
|
||
"value": "application/json"
|
||
},
|
||
{
|
||
"key": "language",
|
||
"type": "text",
|
||
"value": "{{language}}"
|
||
},
|
||
{
|
||
"key": "multilingual",
|
||
"type": "text",
|
||
"value": "true"
|
||
}
|
||
],
|
||
"body": {
|
||
"mode": "raw",
|
||
"raw": "{\n \"params\": {\n \"locale\": \"en\",\n \"property_id\": \"76\",\n \"offer_id\": \"122\",\n \"start_date\": \"2020-11-11\",\n \"end_date\": \"2020-11-20\",\n \"room_price\": [\n {\n \"room_id\": 118,\n \"room_name\": \"Premium King Suite\",\n \"accommodation\": [\n {\n \"id\": 14,\n \"name\": \"Full Board\",\n \"number_of_rooms\": 5,\n \"price\": {\n \"2020-11-11\": 100,\n \"2020-11-12\": 100,\n\n \"2020-11-14\": 100,\n \"2020-11-15\": 50\n }\n },\n {\n \"id\": 13,\n \"name\": \"Only Room\",\n \"number_of_rooms\": 7,\n \"price\": {\n \"2020-11-11\": 400,\n \"2020-11-12\": 400,\n \"2020-11-13\": 400,\n \"2020-11-14\": 400,\n \"2020-11-15\": \"\"\n }\n },\n {\n \"id\": 404,\n \"name\": \"Self Catering\",\n \"number_of_rooms\": 3,\n \"price\": {\n \"2020-11-11\": 200,\n \"2020-11-12\": 20,\n \"2020-11-13\": 200,\n \"2020-11-14\": 200,\n \"2020-11-15\": null\n }\n }\n ]\n }\n ]\n }\n}",
|
||
"options": {
|
||
"raw": {
|
||
"language": "json"
|
||
}
|
||
}
|
||
},
|
||
"url": {
|
||
"raw": "{{base_url}}/app/v1/property/offer/price/store",
|
||
"host": [
|
||
"{{base_url}}"
|
||
],
|
||
"path": [
|
||
"app",
|
||
"v1",
|
||
"property",
|
||
"offer",
|
||
"price",
|
||
"store"
|
||
]
|
||
}
|
||
},
|
||
"response": []
|
||
},
|
||
{
|
||
"name": "Publish Offer HTML",
|
||
"request": {
|
||
"method": "POST",
|
||
"header": [
|
||
{
|
||
"key": "authToken",
|
||
"type": "text",
|
||
"value": "{{user_token}}"
|
||
},
|
||
{
|
||
"key": "Content-Type",
|
||
"name": "Content-Type",
|
||
"type": "text",
|
||
"value": "application/json"
|
||
},
|
||
{
|
||
"key": "language",
|
||
"type": "text",
|
||
"value": "{{language}}"
|
||
},
|
||
{
|
||
"key": "multilingual",
|
||
"type": "text",
|
||
"value": "true"
|
||
}
|
||
],
|
||
"body": {
|
||
"mode": "raw",
|
||
"raw": "{\n \"params\": {\n \"offer_code\" : \"KIRCbqgXjgjfn1Ic\"\n }\n}",
|
||
"options": {
|
||
"raw": {
|
||
"language": "json"
|
||
}
|
||
}
|
||
},
|
||
"url": {
|
||
"raw": "{{base_url}}/app/v1/offer/publish",
|
||
"host": [
|
||
"{{base_url}}"
|
||
],
|
||
"path": [
|
||
"app",
|
||
"v1",
|
||
"offer",
|
||
"publish"
|
||
]
|
||
}
|
||
},
|
||
"response": []
|
||
}
|
||
]
|
||
},
|
||
{
|
||
"name": "MyWEB",
|
||
"item": [
|
||
{
|
||
"name": "MyWeb Contents",
|
||
"item": [
|
||
{
|
||
"name": "Home",
|
||
"request": {
|
||
"method": "POST",
|
||
"header": [
|
||
{
|
||
"key": "authToken",
|
||
"type": "text",
|
||
"value": "96c51655-fe4f-007d-3b0c-79359dd136be"
|
||
}
|
||
],
|
||
"body": {
|
||
"mode": "raw",
|
||
"raw": "{\n \"params\": {\n\n }\n}",
|
||
"options": {
|
||
"raw": {
|
||
"language": "json"
|
||
}
|
||
}
|
||
},
|
||
"url": {
|
||
"raw": "{{base_url}}/web/home",
|
||
"host": [
|
||
"{{base_url}}"
|
||
],
|
||
"path": [
|
||
"web",
|
||
"home"
|
||
]
|
||
}
|
||
},
|
||
"response": []
|
||
},
|
||
{
|
||
"name": "About Us",
|
||
"request": {
|
||
"method": "POST",
|
||
"header": [
|
||
{
|
||
"key": "authToken",
|
||
"type": "text",
|
||
"value": "96c51655-fe4f-007d-3b0c-79359dd136be"
|
||
}
|
||
],
|
||
"body": {
|
||
"mode": "raw",
|
||
"raw": "{\n \"params\": {\n \"mode\" : \"live\"\n }\n}",
|
||
"options": {
|
||
"raw": {
|
||
"language": "json"
|
||
}
|
||
}
|
||
},
|
||
"url": {
|
||
"raw": "{{base_url}}/web/about-us",
|
||
"host": [
|
||
"{{base_url}}"
|
||
],
|
||
"path": [
|
||
"web",
|
||
"about-us"
|
||
]
|
||
}
|
||
},
|
||
"response": []
|
||
},
|
||
{
|
||
"name": "Contact",
|
||
"request": {
|
||
"method": "POST",
|
||
"header": [
|
||
{
|
||
"key": "authToken",
|
||
"type": "text",
|
||
"value": "96c51655-fe4f-007d-3b0c-79359dd136be"
|
||
}
|
||
],
|
||
"body": {
|
||
"mode": "raw",
|
||
"raw": "{\n \"params\": { }\n}",
|
||
"options": {
|
||
"raw": {
|
||
"language": "json"
|
||
}
|
||
}
|
||
},
|
||
"url": {
|
||
"raw": "{{base_url}}/web/contact",
|
||
"host": [
|
||
"{{base_url}}"
|
||
],
|
||
"path": [
|
||
"web",
|
||
"contact"
|
||
]
|
||
}
|
||
},
|
||
"response": []
|
||
},
|
||
{
|
||
"name": "Place Category",
|
||
"request": {
|
||
"method": "POST",
|
||
"header": [
|
||
{
|
||
"key": "authToken",
|
||
"type": "text",
|
||
"value": "96c51655-fe4f-007d-3b0c-79359dd136be"
|
||
}
|
||
],
|
||
"body": {
|
||
"mode": "raw",
|
||
"raw": "{\n \"params\": {\n \"place_category_id\" : 2\n }\n}",
|
||
"options": {
|
||
"raw": {
|
||
"language": "json"
|
||
}
|
||
}
|
||
},
|
||
"url": {
|
||
"raw": "{{base_url}}/web/place-category",
|
||
"host": [
|
||
"{{base_url}}"
|
||
],
|
||
"path": [
|
||
"web",
|
||
"place-category"
|
||
]
|
||
}
|
||
},
|
||
"response": []
|
||
},
|
||
{
|
||
"name": "Place",
|
||
"request": {
|
||
"method": "POST",
|
||
"header": [
|
||
{
|
||
"key": "authToken",
|
||
"type": "text",
|
||
"value": "96c51655-fe4f-007d-3b0c-79359dd136be"
|
||
}
|
||
],
|
||
"body": {
|
||
"mode": "raw",
|
||
"raw": "{\n \"params\": {\n \"place_id\" : 7\n }\n}",
|
||
"options": {
|
||
"raw": {
|
||
"language": "json"
|
||
}
|
||
}
|
||
},
|
||
"url": {
|
||
"raw": "{{base_url}}/web/place",
|
||
"host": [
|
||
"{{base_url}}"
|
||
],
|
||
"path": [
|
||
"web",
|
||
"place"
|
||
]
|
||
}
|
||
},
|
||
"response": []
|
||
},
|
||
{
|
||
"name": "Gallery",
|
||
"request": {
|
||
"method": "POST",
|
||
"header": [
|
||
{
|
||
"key": "authToken",
|
||
"type": "text",
|
||
"value": "96c51655-fe4f-007d-3b0c-79359dd136be"
|
||
}
|
||
],
|
||
"body": {
|
||
"mode": "raw",
|
||
"raw": "{\n \"params\": { }\n}",
|
||
"options": {
|
||
"raw": {
|
||
"language": "json"
|
||
}
|
||
}
|
||
},
|
||
"url": {
|
||
"raw": "{{base_url}}/web/gallery",
|
||
"host": [
|
||
"{{base_url}}"
|
||
],
|
||
"path": [
|
||
"web",
|
||
"gallery"
|
||
]
|
||
}
|
||
},
|
||
"response": []
|
||
},
|
||
{
|
||
"name": "Rooms",
|
||
"request": {
|
||
"method": "POST",
|
||
"header": [
|
||
{
|
||
"key": "authToken",
|
||
"type": "text",
|
||
"value": "96c51655-fe4f-007d-3b0c-79359dd136be"
|
||
}
|
||
],
|
||
"body": {
|
||
"mode": "raw",
|
||
"raw": "{\n \"params\": { }\n}",
|
||
"options": {
|
||
"raw": {
|
||
"language": "json"
|
||
}
|
||
}
|
||
},
|
||
"url": {
|
||
"raw": "{{base_url}}/web/rooms",
|
||
"host": [
|
||
"{{base_url}}"
|
||
],
|
||
"path": [
|
||
"web",
|
||
"rooms"
|
||
]
|
||
}
|
||
},
|
||
"response": []
|
||
},
|
||
{
|
||
"name": "Room Detail",
|
||
"request": {
|
||
"method": "POST",
|
||
"header": [
|
||
{
|
||
"key": "authToken",
|
||
"type": "text",
|
||
"value": "96c51655-fe4f-007d-3b0c-79359dd136be"
|
||
}
|
||
],
|
||
"body": {
|
||
"mode": "raw",
|
||
"raw": "{\n \"params\": { \n \"room_id\" : 1,\n \"currentLanguage\" : \"en\"\n }\n}",
|
||
"options": {
|
||
"raw": {
|
||
"language": "json"
|
||
}
|
||
}
|
||
},
|
||
"url": {
|
||
"raw": "{{base_url}}/web/room-detail",
|
||
"host": [
|
||
"{{base_url}}"
|
||
],
|
||
"path": [
|
||
"web",
|
||
"room-detail"
|
||
]
|
||
}
|
||
},
|
||
"response": []
|
||
},
|
||
{
|
||
"name": "Language Keys",
|
||
"request": {
|
||
"method": "POST",
|
||
"header": [],
|
||
"body": {
|
||
"mode": "raw",
|
||
"raw": "{\n \"params\": { }\n}",
|
||
"options": {
|
||
"raw": {
|
||
"language": "json"
|
||
}
|
||
}
|
||
},
|
||
"url": {
|
||
"raw": "{{base_url}}/web/languages",
|
||
"host": [
|
||
"{{base_url}}"
|
||
],
|
||
"path": [
|
||
"web",
|
||
"languages"
|
||
]
|
||
}
|
||
},
|
||
"response": []
|
||
},
|
||
{
|
||
"name": "Executive Detail",
|
||
"request": {
|
||
"method": "POST",
|
||
"header": [
|
||
{
|
||
"key": "authToken",
|
||
"type": "text",
|
||
"value": "96c51655-fe4f-007d-3b0c-79359dd136be"
|
||
}
|
||
],
|
||
"body": {
|
||
"mode": "raw",
|
||
"raw": "{\n \"params\": { \n \"executive_id\" : 1\n }\n}",
|
||
"options": {
|
||
"raw": {
|
||
"language": "json"
|
||
}
|
||
}
|
||
},
|
||
"url": {
|
||
"raw": "{{base_url}}/web/executive-detail",
|
||
"host": [
|
||
"{{base_url}}"
|
||
],
|
||
"path": [
|
||
"web",
|
||
"executive-detail"
|
||
]
|
||
}
|
||
},
|
||
"response": []
|
||
},
|
||
{
|
||
"name": "Contact Form",
|
||
"request": {
|
||
"method": "POST",
|
||
"header": [
|
||
{
|
||
"key": "authToken",
|
||
"type": "text",
|
||
"value": "96c51655-fe4f-007d-3b0c-79359dd136be"
|
||
},
|
||
{
|
||
"key": "language",
|
||
"value": "{{language}}",
|
||
"type": "text"
|
||
}
|
||
],
|
||
"body": {
|
||
"mode": "raw",
|
||
"raw": "{\n \"params\": {\n \"name\" : \"\",\n \"surname\" : \"Duman\",\n \"email\" : \"sas@deneme.com\",\n \"phone\" : \"465413132\",\n \"message\" : \"sdsds\"\n\n\n }\n}",
|
||
"options": {
|
||
"raw": {
|
||
"language": "json"
|
||
}
|
||
}
|
||
},
|
||
"url": {
|
||
"raw": "{{base_url}}/web/contact-form",
|
||
"host": [
|
||
"{{base_url}}"
|
||
],
|
||
"path": [
|
||
"web",
|
||
"contact-form"
|
||
]
|
||
}
|
||
},
|
||
"response": []
|
||
}
|
||
]
|
||
},
|
||
{
|
||
"name": "Create New Web",
|
||
"request": {
|
||
"method": "POST",
|
||
"header": [
|
||
{
|
||
"key": "authToken",
|
||
"type": "text",
|
||
"value": "{{user_token}}"
|
||
},
|
||
{
|
||
"key": "Content-Type",
|
||
"name": "Content-Type",
|
||
"type": "text",
|
||
"value": "application/json"
|
||
},
|
||
{
|
||
"key": "language",
|
||
"type": "text",
|
||
"value": "{{language}}"
|
||
},
|
||
{
|
||
"key": "multilingual",
|
||
"type": "text",
|
||
"value": "true"
|
||
}
|
||
],
|
||
"body": {
|
||
"mode": "raw",
|
||
"raw": "{\n \"params\": {\n \"property_id\": 67,\n \"domain\" : \"yadigargundogdu.photography\",\n \"default_language\" : \"en\",\n \"template_id\" : 1\n }\n}",
|
||
"options": {
|
||
"raw": {
|
||
"language": "json"
|
||
}
|
||
}
|
||
},
|
||
"url": {
|
||
"raw": "{{base_url}}/app/v1/property/web/create",
|
||
"host": [
|
||
"{{base_url}}"
|
||
],
|
||
"path": [
|
||
"app",
|
||
"v1",
|
||
"property",
|
||
"web",
|
||
"create"
|
||
]
|
||
}
|
||
},
|
||
"response": []
|
||
},
|
||
{
|
||
"name": "List Web Pages",
|
||
"request": {
|
||
"method": "POST",
|
||
"header": [
|
||
{
|
||
"key": "authToken",
|
||
"type": "text",
|
||
"value": "{{user_token}}"
|
||
},
|
||
{
|
||
"key": "Content-Type",
|
||
"name": "Content-Type",
|
||
"type": "text",
|
||
"value": "application/json"
|
||
},
|
||
{
|
||
"key": "language",
|
||
"type": "text",
|
||
"value": "{{language}}"
|
||
},
|
||
{
|
||
"key": "multilingual",
|
||
"type": "text",
|
||
"value": "true"
|
||
}
|
||
],
|
||
"body": {
|
||
"mode": "raw",
|
||
"raw": "{\n \"params\": {\n \"property_id\": 1\n }\n}",
|
||
"options": {
|
||
"raw": {
|
||
"language": "json"
|
||
}
|
||
}
|
||
},
|
||
"url": {
|
||
"raw": "{{base_url}}/app/v1/property/web/list",
|
||
"host": [
|
||
"{{base_url}}"
|
||
],
|
||
"path": [
|
||
"app",
|
||
"v1",
|
||
"property",
|
||
"web",
|
||
"list"
|
||
]
|
||
}
|
||
},
|
||
"response": []
|
||
},
|
||
{
|
||
"name": "Get Web Page",
|
||
"request": {
|
||
"method": "POST",
|
||
"header": [
|
||
{
|
||
"key": "authToken",
|
||
"type": "text",
|
||
"value": "{{user_token}}"
|
||
},
|
||
{
|
||
"key": "Content-Type",
|
||
"name": "Content-Type",
|
||
"type": "text",
|
||
"value": "application/json"
|
||
},
|
||
{
|
||
"key": "language",
|
||
"type": "text",
|
||
"value": "{{language}}"
|
||
},
|
||
{
|
||
"key": "multilingual",
|
||
"type": "text",
|
||
"value": "true"
|
||
}
|
||
],
|
||
"body": {
|
||
"mode": "raw",
|
||
"raw": "{\n \"params\": {\n \"property_id\": 1,\n \"property_web_id\" : 1\n }\n}",
|
||
"options": {
|
||
"raw": {
|
||
"language": "json"
|
||
}
|
||
}
|
||
},
|
||
"url": {
|
||
"raw": "{{base_url}}/app/v1/property/web/get",
|
||
"host": [
|
||
"{{base_url}}"
|
||
],
|
||
"path": [
|
||
"app",
|
||
"v1",
|
||
"property",
|
||
"web",
|
||
"get"
|
||
]
|
||
}
|
||
},
|
||
"response": []
|
||
},
|
||
{
|
||
"name": "Edit Content",
|
||
"request": {
|
||
"method": "POST",
|
||
"header": [
|
||
{
|
||
"key": "authToken",
|
||
"type": "text",
|
||
"value": "{{user_token}}"
|
||
},
|
||
{
|
||
"key": "Content-Type",
|
||
"name": "Content-Type",
|
||
"type": "text",
|
||
"value": "application/json"
|
||
},
|
||
{
|
||
"key": "language",
|
||
"type": "text",
|
||
"value": "{{language}}"
|
||
},
|
||
{
|
||
"key": "multilingual",
|
||
"type": "text",
|
||
"value": "true"
|
||
}
|
||
],
|
||
"body": {
|
||
"mode": "raw",
|
||
"raw": "{\n \"params\": {\n \"property_id\": 1,\n \"property_web_id\" : 1\n }\n}",
|
||
"options": {
|
||
"raw": {
|
||
"language": "json"
|
||
}
|
||
}
|
||
},
|
||
"url": {
|
||
"raw": "{{base_url}}/app/v1/property/web/get-edit-content",
|
||
"host": [
|
||
"{{base_url}}"
|
||
],
|
||
"path": [
|
||
"app",
|
||
"v1",
|
||
"property",
|
||
"web",
|
||
"get-edit-content"
|
||
]
|
||
}
|
||
},
|
||
"response": []
|
||
},
|
||
{
|
||
"name": "Update Content",
|
||
"request": {
|
||
"method": "POST",
|
||
"header": [
|
||
{
|
||
"key": "authToken",
|
||
"type": "text",
|
||
"value": "{{user_token}}"
|
||
},
|
||
{
|
||
"key": "Content-Type",
|
||
"name": "Content-Type",
|
||
"type": "text",
|
||
"value": "application/json"
|
||
},
|
||
{
|
||
"key": "language",
|
||
"type": "text",
|
||
"value": "{{language}}"
|
||
},
|
||
{
|
||
"key": "multilingual",
|
||
"type": "text",
|
||
"value": "true"
|
||
}
|
||
],
|
||
"body": {
|
||
"mode": "raw",
|
||
"raw": "{\n \"params\": {\n \"property_id\": \"1\",\n \"property_web_id\": 1,\n \"action\": \"publish\",\n \"photo_mapping\": [\n 69,\n 70,\n 124,\n 4292,\n 4293,\n 4315,\n 5674,\n 5675\n ],\n \"cover_photos\": [\n 5675\n ],\n \"languages\": [\n \"en\",\n \"de\",\n \"tr\"\n ],\n \"menus\": [\n {\n \"id\": 1,\n \"order_number\": 1,\n \"menu_type\": \"MAIN\",\n \"menu_code\": \"LVL1\"\n },\n {\n \"id\": 2,\n \"order_number\": 2,\n \"menu_type\": \"MAIN\",\n \"menu_code\": \"LVL1\"\n },\n {\n \"id\": 7,\n \"order_number\": 3,\n \"menu_type\": \"MAIN\",\n \"menu_code\": \"LVL1\"\n },\n {\n \"id\": 3,\n \"order_number\": 4,\n \"menu_type\": \"MAIN\",\n \"menu_code\": \"LVL1\"\n },\n {\n \"id\": 4,\n \"order_number\": 5,\n \"menu_type\": \"MAIN\",\n \"menu_code\": \"LVL1\"\n },\n {\n \"id\": 6,\n \"order_number\": 6,\n \"menu_type\": \"MAIN\",\n \"menu_code\": \"LVL1\"\n },\n {\n \"id\": 3,\n \"order_number\": 10,\n \"menu_type\": \"PLCCAT\",\n \"menu_code\": \"TOP\"\n },\n {\n \"id\": 1,\n \"order_number\": 9,\n \"menu_type\": \"PLC\",\n \"menu_code\": \"TOP\"\n },\n {\n \"id\": 2,\n \"order_number\": 8,\n \"menu_type\": \"PLC\",\n \"menu_code\": \"TOP\"\n },\n {\n \"id\": 3,\n \"order_number\": 7,\n \"menu_type\": \"PLC\",\n \"menu_code\": \"TOP\"\n },\n {\n \"id\": 4,\n \"order_number\": 6,\n \"menu_type\": \"PLC\",\n \"menu_code\": \"TOP\"\n },\n {\n \"id\": 5,\n \"order_number\": 11,\n \"menu_type\": \"PLC\",\n \"menu_code\": \"TOP\"\n },\n {\n \"id\": 142,\n \"order_number\": 13,\n \"menu_type\": \"PLC\",\n \"menu_code\": \"LVL1\"\n },\n {\n \"id\": 143,\n \"order_number\": 14,\n \"menu_type\": \"PLC\",\n \"menu_code\": \"LVL1\"\n }\n ],\n \"colors\": [\n {\n \"color_number\": 1,\n \"color_code\": \"#d13d14\"\n },\n {\n \"color_number\": 2,\n \"color_code\": \"#413232\"\n },\n {\n \"color_number\": 3,\n \"color_code\": \"#ff6868\"\n }\n ],\n \"about_us\": [\n {\n \"language_code\": \"en\",\n \"value\": \"123a\"\n },\n {\n \"language_code\": \"de\",\n \"value\": null\n },\n {\n \"language_code\": \"es\",\n \"value\": null\n },\n {\n \"language_code\": \"tr\",\n \"value\": null\n }\n ],\n \"additional_info\": {\n \"myweb_contact_email\": \"nurulalhkiyan@gasd.com1a\",\n \"kvkk_mersis_no\" : \"123\",\n \"kvkk_data_controller\" : \"ssdfdsf\",\n \"kvkk_contact_person\" : \"karacaer\"\n },\n \"property_country_code\": \"TR\"\n }\n}",
|
||
"options": {
|
||
"raw": {
|
||
"language": "json"
|
||
}
|
||
}
|
||
},
|
||
"url": {
|
||
"raw": "{{base_url}}/app/v1/property/web/update-content",
|
||
"host": [
|
||
"{{base_url}}"
|
||
],
|
||
"path": [
|
||
"app",
|
||
"v1",
|
||
"property",
|
||
"web",
|
||
"update-content"
|
||
]
|
||
}
|
||
},
|
||
"response": []
|
||
},
|
||
{
|
||
"name": "Update Web",
|
||
"request": {
|
||
"method": "POST",
|
||
"header": [
|
||
{
|
||
"key": "authToken",
|
||
"type": "text",
|
||
"value": "{{user_token}}"
|
||
},
|
||
{
|
||
"key": "Content-Type",
|
||
"name": "Content-Type",
|
||
"type": "text",
|
||
"value": "application/json"
|
||
},
|
||
{
|
||
"key": "language",
|
||
"type": "text",
|
||
"value": "{{language}}"
|
||
},
|
||
{
|
||
"key": "multilingual",
|
||
"type": "text",
|
||
"value": "true"
|
||
}
|
||
],
|
||
"body": {
|
||
"mode": "raw",
|
||
"raw": "{\n \"params\": {\n \"property_id\": 1,\n \"property_web_id\": 10,\n \"domain\" : \"myweb.local\",\n \"default_language\" : null,\n \"template_id\" : 1\n }\n}",
|
||
"options": {
|
||
"raw": {
|
||
"language": "json"
|
||
}
|
||
}
|
||
},
|
||
"url": {
|
||
"raw": "{{base_url}}/app/v1/property/web/update",
|
||
"host": [
|
||
"{{base_url}}"
|
||
],
|
||
"path": [
|
||
"app",
|
||
"v1",
|
||
"property",
|
||
"web",
|
||
"update"
|
||
]
|
||
}
|
||
},
|
||
"response": []
|
||
},
|
||
{
|
||
"name": "Check Domain",
|
||
"request": {
|
||
"method": "POST",
|
||
"header": [],
|
||
"body": {
|
||
"mode": "raw",
|
||
"raw": "{\n \"params\": {\n \"domain\": \"myweb.extranetwork.local\"\n }\n}",
|
||
"options": {
|
||
"raw": {
|
||
"language": "json"
|
||
}
|
||
}
|
||
},
|
||
"url": {
|
||
"raw": "{{base_url}}/web/check-domain",
|
||
"host": [
|
||
"{{base_url}}"
|
||
],
|
||
"path": [
|
||
"web",
|
||
"check-domain"
|
||
]
|
||
}
|
||
},
|
||
"response": []
|
||
},
|
||
{
|
||
"name": "Publish Web",
|
||
"request": {
|
||
"method": "POST",
|
||
"header": [
|
||
{
|
||
"key": "authToken",
|
||
"type": "text",
|
||
"value": "{{user_token}}"
|
||
},
|
||
{
|
||
"key": "Content-Type",
|
||
"name": "Content-Type",
|
||
"type": "text",
|
||
"value": "application/json"
|
||
},
|
||
{
|
||
"key": "language",
|
||
"type": "text",
|
||
"value": "{{language}}"
|
||
},
|
||
{
|
||
"key": "multilingual",
|
||
"type": "text",
|
||
"value": "true"
|
||
}
|
||
],
|
||
"body": {
|
||
"mode": "raw",
|
||
"raw": "{\n \"params\": {\n \"property_id\": 1,\n \"property_web_id\": 11,\n \"is_publish\" : 1\n }\n}",
|
||
"options": {
|
||
"raw": {
|
||
"language": "json"
|
||
}
|
||
}
|
||
},
|
||
"url": {
|
||
"raw": "{{base_url}}/app/v1/property/web/publish",
|
||
"host": [
|
||
"{{base_url}}"
|
||
],
|
||
"path": [
|
||
"app",
|
||
"v1",
|
||
"property",
|
||
"web",
|
||
"publish"
|
||
]
|
||
}
|
||
},
|
||
"response": []
|
||
}
|
||
]
|
||
},
|
||
{
|
||
"name": "BOOKING ENGINE",
|
||
"item": [
|
||
{
|
||
"name": "Booking Engine Dashboard",
|
||
"request": {
|
||
"method": "POST",
|
||
"header": [
|
||
{
|
||
"key": "Content-Type",
|
||
"type": "text",
|
||
"value": "application/json"
|
||
},
|
||
{
|
||
"key": "language",
|
||
"type": "text",
|
||
"value": "{{language}}"
|
||
},
|
||
{
|
||
"key": "multilingual",
|
||
"type": "text",
|
||
"value": "true"
|
||
},
|
||
{
|
||
"key": "authToken",
|
||
"type": "text",
|
||
"value": "{{user_token}}"
|
||
}
|
||
],
|
||
"body": {
|
||
"mode": "raw",
|
||
"raw": "{\n \"params\": {\n \"property_id\" : 1,\n \"booking_id\" : 1\n }\n}"
|
||
},
|
||
"url": {
|
||
"raw": "{{base_url}}/app/v1/property/booking-engine/dashboard",
|
||
"host": [
|
||
"{{base_url}}"
|
||
],
|
||
"path": [
|
||
"app",
|
||
"v1",
|
||
"property",
|
||
"booking-engine",
|
||
"dashboard"
|
||
]
|
||
}
|
||
},
|
||
"response": []
|
||
},
|
||
{
|
||
"name": "Check Property Status",
|
||
"request": {
|
||
"method": "POST",
|
||
"header": [],
|
||
"body": {
|
||
"mode": "raw",
|
||
"raw": "{\n \"params\": {\n \"token\": \"54725498-cf8f-4f0a-83d5-e02f50db4d1a\"\n }\n} ",
|
||
"options": {
|
||
"raw": {
|
||
"language": "json"
|
||
}
|
||
}
|
||
},
|
||
"url": {
|
||
"raw": "{{base_url}}/booking-engine/property-token",
|
||
"host": [
|
||
"{{base_url}}"
|
||
],
|
||
"path": [
|
||
"booking-engine",
|
||
"property-token"
|
||
]
|
||
}
|
||
},
|
||
"response": []
|
||
},
|
||
{
|
||
"name": "Search",
|
||
"request": {
|
||
"method": "POST",
|
||
"header": [
|
||
{
|
||
"key": "bookingEngineToken",
|
||
"value": "de432418-04a8-afa4-3b77-a07f70af2e8a",
|
||
"type": "text"
|
||
},
|
||
{
|
||
"key": "channelToken",
|
||
"value": "ece3ef02-42e7-92b7-f379-08226ed7a0f3",
|
||
"type": "text"
|
||
}
|
||
],
|
||
"body": {
|
||
"mode": "raw",
|
||
"raw": "{\n \"date\": {\n \"checkIn\": \"2020-12-01\",\n \"checkOut\": \"2020-12-02\"\n },\n \"rooms\": [\n {\n \"adults\": 2,\n \"children\": 1,\n \"age\": [\n 5\n ]\n },\n {\n \"adults\": 2,\n \"children\": 2,\n \"age\": [\n 15,\n 5\n ]\n },\n {\n \"adults\": 1,\n \"children\": 0\n },\n {\n \"adults\": 2,\n \"children\": 0\n },\n {\n \"adults\": 3,\n \"children\": 1,\n \"age\": [\n 15,\n 5\n ]\n },\n {\n \"adults\": 3,\n \"children\": 0\n }\n ],\n \"property\": [\n 1\n ]\n}",
|
||
"options": {
|
||
"raw": {
|
||
"language": "json"
|
||
}
|
||
}
|
||
},
|
||
"url": {
|
||
"raw": "{{base_url}}/v1/search",
|
||
"host": [
|
||
"{{base_url}}"
|
||
],
|
||
"path": [
|
||
"v1",
|
||
"search"
|
||
]
|
||
}
|
||
},
|
||
"response": []
|
||
},
|
||
{
|
||
"name": "Booking Engine Contract File Upload",
|
||
"request": {
|
||
"method": "POST",
|
||
"header": [
|
||
{
|
||
"key": "authToken",
|
||
"value": "{{user_token}}",
|
||
"type": "text"
|
||
},
|
||
{
|
||
"key": "Content-Type",
|
||
"value": "application/json",
|
||
"type": "text"
|
||
},
|
||
{
|
||
"key": "language",
|
||
"value": "{{language}}",
|
||
"type": "text"
|
||
},
|
||
{
|
||
"key": "multilingual",
|
||
"value": "true",
|
||
"type": "text"
|
||
}
|
||
],
|
||
"body": {
|
||
"mode": "formdata",
|
||
"formdata": [
|
||
{
|
||
"key": "property_id",
|
||
"value": "217",
|
||
"type": "text"
|
||
},
|
||
{
|
||
"key": "contract_file",
|
||
"type": "file",
|
||
"src": "/home/burhan/Documents/Burhan-Cetin-Profile.pdf"
|
||
}
|
||
]
|
||
},
|
||
"url": {
|
||
"raw": "{{base_url}}/app/v1/property/booking-engine/contract-file-upload?XDEBUG_SESSION_START=PHPSTORM",
|
||
"host": [
|
||
"{{base_url}}"
|
||
],
|
||
"path": [
|
||
"app",
|
||
"v1",
|
||
"property",
|
||
"booking-engine",
|
||
"contract-file-upload"
|
||
],
|
||
"query": [
|
||
{
|
||
"key": "XDEBUG_SESSION_START",
|
||
"value": "PHPSTORM"
|
||
}
|
||
]
|
||
}
|
||
},
|
||
"response": []
|
||
}
|
||
]
|
||
},
|
||
{
|
||
"name": "BOOKING",
|
||
"item": [
|
||
{
|
||
"name": "Booking Get List",
|
||
"request": {
|
||
"method": "POST",
|
||
"header": [
|
||
{
|
||
"key": "Content-Type",
|
||
"value": "application/json",
|
||
"type": "text"
|
||
},
|
||
{
|
||
"key": "language",
|
||
"value": "{{language}}",
|
||
"type": "text"
|
||
},
|
||
{
|
||
"key": "multilingual",
|
||
"value": "true",
|
||
"type": "text"
|
||
},
|
||
{
|
||
"key": "authToken",
|
||
"value": "{{user_token}}",
|
||
"type": "text"
|
||
}
|
||
],
|
||
"body": {
|
||
"mode": "raw",
|
||
"raw": "{\n \"params\": {\n \"property_id\" : 1\n }\n}"
|
||
},
|
||
"url": {
|
||
"raw": "{{base_url}}/app/v1/property/booking/list",
|
||
"host": [
|
||
"{{base_url}}"
|
||
],
|
||
"path": [
|
||
"app",
|
||
"v1",
|
||
"property",
|
||
"booking",
|
||
"list"
|
||
]
|
||
}
|
||
},
|
||
"response": []
|
||
},
|
||
{
|
||
"name": "Booking Get Detail",
|
||
"request": {
|
||
"method": "POST",
|
||
"header": [
|
||
{
|
||
"key": "Content-Type",
|
||
"value": "application/json",
|
||
"type": "text"
|
||
},
|
||
{
|
||
"key": "language",
|
||
"value": "{{language}}",
|
||
"type": "text"
|
||
},
|
||
{
|
||
"key": "multilingual",
|
||
"value": "true",
|
||
"type": "text"
|
||
},
|
||
{
|
||
"key": "authToken",
|
||
"value": "{{user_token}}",
|
||
"type": "text"
|
||
}
|
||
],
|
||
"body": {
|
||
"mode": "raw",
|
||
"raw": "{\n \"params\": {\n \"property_id\" : 1,\n \"booking_id\" : 138\n }\n}"
|
||
},
|
||
"url": {
|
||
"raw": "{{base_url}}/app/v1/property/booking/detail",
|
||
"host": [
|
||
"{{base_url}}"
|
||
],
|
||
"path": [
|
||
"app",
|
||
"v1",
|
||
"property",
|
||
"booking",
|
||
"detail"
|
||
]
|
||
}
|
||
},
|
||
"response": []
|
||
},
|
||
{
|
||
"name": "Property Transactions",
|
||
"request": {
|
||
"method": "POST",
|
||
"header": [
|
||
{
|
||
"key": "Content-Type",
|
||
"value": "application/json",
|
||
"type": "text"
|
||
},
|
||
{
|
||
"key": "language",
|
||
"value": "{{language}}",
|
||
"type": "text"
|
||
},
|
||
{
|
||
"key": "multilingual",
|
||
"value": "true",
|
||
"type": "text"
|
||
},
|
||
{
|
||
"key": "authToken",
|
||
"value": "{{user_token}}",
|
||
"type": "text"
|
||
}
|
||
],
|
||
"body": {
|
||
"mode": "raw",
|
||
"raw": "{\n \"params\": {\n \"property_id\" : 1\n }\n}"
|
||
},
|
||
"url": {
|
||
"raw": "{{base_url}}/app/v1/property/transaction/list",
|
||
"host": [
|
||
"{{base_url}}"
|
||
],
|
||
"path": [
|
||
"app",
|
||
"v1",
|
||
"property",
|
||
"transaction",
|
||
"list"
|
||
]
|
||
}
|
||
},
|
||
"response": []
|
||
},
|
||
{
|
||
"name": "Booking Ticket Get",
|
||
"request": {
|
||
"method": "POST",
|
||
"header": [
|
||
{
|
||
"key": "Content-Type",
|
||
"value": "application/json",
|
||
"type": "text"
|
||
},
|
||
{
|
||
"key": "language",
|
||
"value": "{{language}}",
|
||
"type": "text"
|
||
},
|
||
{
|
||
"key": "multilingual",
|
||
"value": "true",
|
||
"type": "text"
|
||
},
|
||
{
|
||
"key": "authToken",
|
||
"value": "{{user_token}}",
|
||
"type": "text"
|
||
}
|
||
],
|
||
"body": {
|
||
"mode": "raw",
|
||
"raw": "{\n \"params\": {\n \"user_id\": null,\n \"booking_code\": \"BKG210601-CD3SVN3K\"\n }\n}"
|
||
},
|
||
"url": {
|
||
"raw": "{{base_url}}/app/v1/booking/ticket",
|
||
"host": [
|
||
"{{base_url}}"
|
||
],
|
||
"path": [
|
||
"app",
|
||
"v1",
|
||
"booking",
|
||
"ticket"
|
||
]
|
||
}
|
||
},
|
||
"response": []
|
||
},
|
||
{
|
||
"name": "Booking Ticket Create",
|
||
"request": {
|
||
"method": "POST",
|
||
"header": [
|
||
{
|
||
"key": "Content-Type",
|
||
"value": "application/json",
|
||
"type": "text"
|
||
},
|
||
{
|
||
"key": "language",
|
||
"value": "tr",
|
||
"type": "text"
|
||
},
|
||
{
|
||
"key": "multilingual",
|
||
"value": "true",
|
||
"type": "text",
|
||
"disabled": true
|
||
},
|
||
{
|
||
"key": "authToken",
|
||
"value": "{{user_token}}",
|
||
"type": "text",
|
||
"disabled": true
|
||
}
|
||
],
|
||
"body": {
|
||
"mode": "raw",
|
||
"raw": "{\n \"params\": {\n \"booking_code\": \"BKG210601-CD3SVN3K\",\n \"user_id\": null,\n \"message\": \"1 gecelik konaklamanın iptalini rica ediyorum\",\n \"is_note\": true,\n \"ip_address\": \"192.168.1.100\"\n }\n}"
|
||
},
|
||
"url": {
|
||
"raw": "{{base_url}}/app/v1/booking/ticket/create",
|
||
"host": [
|
||
"{{base_url}}"
|
||
],
|
||
"path": [
|
||
"app",
|
||
"v1",
|
||
"booking",
|
||
"ticket",
|
||
"create"
|
||
]
|
||
}
|
||
},
|
||
"response": []
|
||
},
|
||
{
|
||
"name": "Booking Update",
|
||
"request": {
|
||
"method": "POST",
|
||
"header": [
|
||
{
|
||
"key": "Content-Type",
|
||
"value": "application/json",
|
||
"type": "text"
|
||
},
|
||
{
|
||
"key": "language",
|
||
"value": "tr",
|
||
"type": "text"
|
||
},
|
||
{
|
||
"key": "multilingual",
|
||
"value": "true",
|
||
"type": "text"
|
||
},
|
||
{
|
||
"key": "authToken",
|
||
"value": "{{user_token}}",
|
||
"type": "text"
|
||
}
|
||
],
|
||
"body": {
|
||
"mode": "raw",
|
||
"raw": "{\n \"params\": {\n \"property_id\" : 1,\n \"booking_id\" : 133,\n \"total\" : 125,\n \"currency_code\" : \"EUR\",\n \"status\" : 0\n }\n}"
|
||
},
|
||
"url": {
|
||
"raw": "{{base_url}}/app/v1/property/booking/update",
|
||
"host": [
|
||
"{{base_url}}"
|
||
],
|
||
"path": [
|
||
"app",
|
||
"v1",
|
||
"property",
|
||
"booking",
|
||
"update"
|
||
]
|
||
}
|
||
},
|
||
"response": []
|
||
}
|
||
]
|
||
},
|
||
{
|
||
"name": "PAYMENT",
|
||
"item": [
|
||
{
|
||
"name": "Payment Dashboard",
|
||
"request": {
|
||
"method": "POST",
|
||
"header": [
|
||
{
|
||
"key": "Content-Type",
|
||
"type": "text",
|
||
"value": "application/json"
|
||
},
|
||
{
|
||
"key": "language",
|
||
"type": "text",
|
||
"value": "{{language}}"
|
||
},
|
||
{
|
||
"key": "multilingual",
|
||
"type": "text",
|
||
"value": "true"
|
||
},
|
||
{
|
||
"key": "authToken",
|
||
"type": "text",
|
||
"value": "{{user_token}}"
|
||
}
|
||
],
|
||
"body": {
|
||
"mode": "raw",
|
||
"raw": "{\n \"params\": {\n \"property_id\" : 1\n }\n}"
|
||
},
|
||
"url": {
|
||
"raw": "{{base_url}}/app/v1/property/payment/dashboard",
|
||
"host": [
|
||
"{{base_url}}"
|
||
],
|
||
"path": [
|
||
"app",
|
||
"v1",
|
||
"property",
|
||
"payment",
|
||
"dashboard"
|
||
]
|
||
}
|
||
},
|
||
"response": []
|
||
},
|
||
{
|
||
"name": "Get Payment Type List",
|
||
"request": {
|
||
"method": "POST",
|
||
"header": [
|
||
{
|
||
"key": "Content-Type",
|
||
"value": "application/json",
|
||
"type": "text"
|
||
},
|
||
{
|
||
"key": "language",
|
||
"value": "{{language}}",
|
||
"type": "text"
|
||
},
|
||
{
|
||
"key": "multilingual",
|
||
"value": "true",
|
||
"type": "text"
|
||
},
|
||
{
|
||
"key": "authToken",
|
||
"value": "{{user_token}}",
|
||
"type": "text"
|
||
}
|
||
],
|
||
"body": {
|
||
"mode": "raw",
|
||
"raw": "{\n \"params\": {\n \"property_id\" : 1\n }\n}"
|
||
},
|
||
"url": {
|
||
"raw": "{{base_url}}/app/v1/property/payment-type/list",
|
||
"host": [
|
||
"{{base_url}}"
|
||
],
|
||
"path": [
|
||
"app",
|
||
"v1",
|
||
"property",
|
||
"payment-type",
|
||
"list"
|
||
]
|
||
}
|
||
},
|
||
"response": []
|
||
},
|
||
{
|
||
"name": "Get Payment Type",
|
||
"request": {
|
||
"method": "POST",
|
||
"header": [
|
||
{
|
||
"key": "Content-Type",
|
||
"type": "text",
|
||
"value": "application/json"
|
||
},
|
||
{
|
||
"key": "language",
|
||
"type": "text",
|
||
"value": "{{language}}"
|
||
},
|
||
{
|
||
"key": "multilingual",
|
||
"type": "text",
|
||
"value": "true"
|
||
},
|
||
{
|
||
"key": "authToken",
|
||
"type": "text",
|
||
"value": "{{user_token}}"
|
||
}
|
||
],
|
||
"body": {
|
||
"mode": "raw",
|
||
"raw": "{\n \"params\": {\n \"property_id\" : 1,\n \"payment_type_id\" : 1\n }\n}"
|
||
},
|
||
"url": {
|
||
"raw": "{{base_url}}/app/v1/property/payment-type/get",
|
||
"host": [
|
||
"{{base_url}}"
|
||
],
|
||
"path": [
|
||
"app",
|
||
"v1",
|
||
"property",
|
||
"payment-type",
|
||
"get"
|
||
]
|
||
}
|
||
},
|
||
"response": []
|
||
},
|
||
{
|
||
"name": "Get Payment Mapping List",
|
||
"request": {
|
||
"method": "POST",
|
||
"header": [
|
||
{
|
||
"key": "Content-Type",
|
||
"value": "application/json",
|
||
"type": "text"
|
||
},
|
||
{
|
||
"key": "language",
|
||
"value": "{{language}}",
|
||
"type": "text"
|
||
},
|
||
{
|
||
"key": "multilingual",
|
||
"value": "true",
|
||
"type": "text"
|
||
},
|
||
{
|
||
"key": "authToken",
|
||
"value": "{{user_token}}",
|
||
"type": "text"
|
||
}
|
||
],
|
||
"body": {
|
||
"mode": "raw",
|
||
"raw": "{\n \"params\": {\n \"property_id\" : 1,\n \"property_payment_mappisng_id\" : 1\n }\n}"
|
||
},
|
||
"url": {
|
||
"raw": "{{base_url}}/app/v1/property/payment-mapping/list",
|
||
"host": [
|
||
"{{base_url}}"
|
||
],
|
||
"path": [
|
||
"app",
|
||
"v1",
|
||
"property",
|
||
"payment-mapping",
|
||
"list"
|
||
]
|
||
}
|
||
},
|
||
"response": []
|
||
},
|
||
{
|
||
"name": "Create Payment Mapping",
|
||
"request": {
|
||
"method": "POST",
|
||
"header": [
|
||
{
|
||
"key": "Content-Type",
|
||
"value": "application/json",
|
||
"type": "text"
|
||
},
|
||
{
|
||
"key": "language",
|
||
"value": "{{language}}",
|
||
"type": "text"
|
||
},
|
||
{
|
||
"key": "multilingual",
|
||
"value": "true",
|
||
"type": "text"
|
||
},
|
||
{
|
||
"key": "authToken",
|
||
"value": "{{user_token}}",
|
||
"type": "text"
|
||
}
|
||
],
|
||
"body": {
|
||
"mode": "raw",
|
||
"raw": "{\n \"params\": {\n \"property_id\": \"1\",\n \"payment_type_id\": 1,\n \"currency\": \"TRY\",\n \"fields\": {\n \"clientId\": \"2\",\n \"storeKey\": \"3\"\n },\n \"is_default\": false\n }\n}"
|
||
},
|
||
"url": {
|
||
"raw": "{{base_url}}/app/v1/property/payment-mapping/create",
|
||
"host": [
|
||
"{{base_url}}"
|
||
],
|
||
"path": [
|
||
"app",
|
||
"v1",
|
||
"property",
|
||
"payment-mapping",
|
||
"create"
|
||
]
|
||
}
|
||
},
|
||
"response": []
|
||
},
|
||
{
|
||
"name": "Update Payment Mapping",
|
||
"request": {
|
||
"method": "POST",
|
||
"header": [
|
||
{
|
||
"key": "Content-Type",
|
||
"type": "text",
|
||
"value": "application/json"
|
||
},
|
||
{
|
||
"key": "language",
|
||
"type": "text",
|
||
"value": "{{language}}"
|
||
},
|
||
{
|
||
"key": "multilingual",
|
||
"type": "text",
|
||
"value": "true"
|
||
},
|
||
{
|
||
"key": "authToken",
|
||
"type": "text",
|
||
"value": "{{user_token}}"
|
||
}
|
||
],
|
||
"body": {
|
||
"mode": "raw",
|
||
"raw": "{\n \"params\": {\n \"property_id\": 1,\n \"property_payment_mapping_id\": 6,\n \"is_default\" : true,\n \"fields\": {\n \"clientId\": \"99\",\n \"storeKey\": \"gDg1N\"\n }\n }\n}"
|
||
},
|
||
"url": {
|
||
"raw": "{{base_url}}/app/v1/property/payment-mapping/update",
|
||
"host": [
|
||
"{{base_url}}"
|
||
],
|
||
"path": [
|
||
"app",
|
||
"v1",
|
||
"property",
|
||
"payment-mapping",
|
||
"update"
|
||
]
|
||
}
|
||
},
|
||
"response": []
|
||
},
|
||
{
|
||
"name": "Update Payment Mapping Status",
|
||
"request": {
|
||
"method": "POST",
|
||
"header": [
|
||
{
|
||
"key": "Content-Type",
|
||
"type": "text",
|
||
"value": "application/json"
|
||
},
|
||
{
|
||
"key": "language",
|
||
"type": "text",
|
||
"value": "{{language}}"
|
||
},
|
||
{
|
||
"key": "multilingual",
|
||
"type": "text",
|
||
"value": "true"
|
||
},
|
||
{
|
||
"key": "authToken",
|
||
"type": "text",
|
||
"value": "{{user_token}}"
|
||
}
|
||
],
|
||
"body": {
|
||
"mode": "raw",
|
||
"raw": "{\n \"params\": {\n \"property_id\": 1,\n \"property_payment_mapping_id\": 11,\n \"set_status\" : 1\n }\n}"
|
||
},
|
||
"url": {
|
||
"raw": "{{base_url}}/app/v1/property/payment-mapping/update-status",
|
||
"host": [
|
||
"{{base_url}}"
|
||
],
|
||
"path": [
|
||
"app",
|
||
"v1",
|
||
"property",
|
||
"payment-mapping",
|
||
"update-status"
|
||
]
|
||
}
|
||
},
|
||
"response": []
|
||
},
|
||
{
|
||
"name": "Set Default Payment Mapping",
|
||
"request": {
|
||
"method": "POST",
|
||
"header": [
|
||
{
|
||
"key": "Content-Type",
|
||
"type": "text",
|
||
"value": "application/json"
|
||
},
|
||
{
|
||
"key": "language",
|
||
"type": "text",
|
||
"value": "{{language}}"
|
||
},
|
||
{
|
||
"key": "multilingual",
|
||
"type": "text",
|
||
"value": "true"
|
||
},
|
||
{
|
||
"key": "authToken",
|
||
"type": "text",
|
||
"value": "{{user_token}}"
|
||
}
|
||
],
|
||
"body": {
|
||
"mode": "raw",
|
||
"raw": "{\n \"params\": {\n \"property_id\": 1,\n \"property_payment_mapping_id\": 2\n }\n}"
|
||
},
|
||
"url": {
|
||
"raw": "{{base_url}}/app/v1/property/payment-mapping/set-default",
|
||
"host": [
|
||
"{{base_url}}"
|
||
],
|
||
"path": [
|
||
"app",
|
||
"v1",
|
||
"property",
|
||
"payment-mapping",
|
||
"set-default"
|
||
]
|
||
}
|
||
},
|
||
"response": []
|
||
},
|
||
{
|
||
"name": "Update Payment Installments",
|
||
"request": {
|
||
"method": "POST",
|
||
"header": [
|
||
{
|
||
"key": "Content-Type",
|
||
"type": "text",
|
||
"value": "application/json"
|
||
},
|
||
{
|
||
"key": "language",
|
||
"type": "text",
|
||
"value": "{{language}}"
|
||
},
|
||
{
|
||
"key": "multilingual",
|
||
"type": "text",
|
||
"value": "true"
|
||
},
|
||
{
|
||
"key": "authToken",
|
||
"type": "text",
|
||
"value": "{{user_token}}"
|
||
}
|
||
],
|
||
"body": {
|
||
"mode": "raw",
|
||
"raw": "{\n \"params\": {\n \"property_id\": \"1\",\n \"property_payment_mapping_id\": 29,\n \"has_installments\": true,\n \"installments\": [\n {\n \"installment\": 1,\n \"commission\": \"120\"\n }\n ]\n }\n}"
|
||
},
|
||
"url": {
|
||
"raw": "{{base_url}}/app/v1/property/payment-installments/update",
|
||
"host": [
|
||
"{{base_url}}"
|
||
],
|
||
"path": [
|
||
"app",
|
||
"v1",
|
||
"property",
|
||
"payment-installments",
|
||
"update"
|
||
]
|
||
}
|
||
},
|
||
"response": []
|
||
},
|
||
{
|
||
"name": "Update Payment Installment Status",
|
||
"request": {
|
||
"method": "POST",
|
||
"header": [
|
||
{
|
||
"key": "Content-Type",
|
||
"type": "text",
|
||
"value": "application/json"
|
||
},
|
||
{
|
||
"key": "language",
|
||
"type": "text",
|
||
"value": "{{language}}"
|
||
},
|
||
{
|
||
"key": "multilingual",
|
||
"type": "text",
|
||
"value": "true"
|
||
},
|
||
{
|
||
"key": "authToken",
|
||
"type": "text",
|
||
"value": "{{user_token}}"
|
||
}
|
||
],
|
||
"body": {
|
||
"mode": "raw",
|
||
"raw": "{\n \"params\": {\n \"property_id\": \"1\",\n \"property_payment_mapping_id\": 29,\n \"installment_id\": 21, \n \"set_status\" : true\n }\n}"
|
||
},
|
||
"url": {
|
||
"raw": "{{base_url}}/app/v1/property/payment-installments/update-status",
|
||
"host": [
|
||
"{{base_url}}"
|
||
],
|
||
"path": [
|
||
"app",
|
||
"v1",
|
||
"property",
|
||
"payment-installments",
|
||
"update-status"
|
||
]
|
||
}
|
||
},
|
||
"response": []
|
||
},
|
||
{
|
||
"name": "Create Manual Payment",
|
||
"request": {
|
||
"method": "POST",
|
||
"header": [
|
||
{
|
||
"key": "Content-Type",
|
||
"type": "text",
|
||
"value": "application/json"
|
||
},
|
||
{
|
||
"key": "language",
|
||
"type": "text",
|
||
"value": "{{language}}"
|
||
},
|
||
{
|
||
"key": "multilingual",
|
||
"type": "text",
|
||
"value": "true"
|
||
},
|
||
{
|
||
"key": "authToken",
|
||
"type": "text",
|
||
"value": "{{user_token}}"
|
||
}
|
||
],
|
||
"body": {
|
||
"mode": "raw",
|
||
"raw": "{\n \"params\": {\n \"property_id\": 1,\n \"title\": \"Deronya Turizm Otel Ödemesi\",\n \"description\": \"Ödeme açıklaması Grand Yavuz Otel 10-11 Ocak\",\n \"email\": \"byumak@rezervasyon.com\",\n \"currency\" : \"TRY\",\n \"base_amount\": 100,\n \"commission\": 2.5, \n \"payment_method\" : \"online\",\n \"payment_type_mapping_id\" : 3\n \n }\n}"
|
||
},
|
||
"url": {
|
||
"raw": "{{base_url}}/app/v1/property/manual-payment/create",
|
||
"host": [
|
||
"{{base_url}}"
|
||
],
|
||
"path": [
|
||
"app",
|
||
"v1",
|
||
"property",
|
||
"manual-payment",
|
||
"create"
|
||
]
|
||
}
|
||
},
|
||
"response": []
|
||
},
|
||
{
|
||
"name": "Create Manual Payment Form",
|
||
"request": {
|
||
"method": "POST",
|
||
"header": [
|
||
{
|
||
"key": "Content-Type",
|
||
"type": "text",
|
||
"value": "application/json"
|
||
},
|
||
{
|
||
"key": "language",
|
||
"type": "text",
|
||
"value": "{{language}}"
|
||
},
|
||
{
|
||
"key": "multilingual",
|
||
"type": "text",
|
||
"value": "true"
|
||
},
|
||
{
|
||
"key": "authToken",
|
||
"type": "text",
|
||
"value": "{{user_token}}"
|
||
}
|
||
],
|
||
"body": {
|
||
"mode": "raw",
|
||
"raw": "{\n \"params\": {\n \"property_id\": 1\n \n }\n}"
|
||
},
|
||
"url": {
|
||
"raw": "{{base_url}}/app/v1/property/manual-payment/create-form",
|
||
"host": [
|
||
"{{base_url}}"
|
||
],
|
||
"path": [
|
||
"app",
|
||
"v1",
|
||
"property",
|
||
"manual-payment",
|
||
"create-form"
|
||
]
|
||
}
|
||
},
|
||
"response": []
|
||
},
|
||
{
|
||
"name": "Edit Manual Payment Form",
|
||
"request": {
|
||
"method": "POST",
|
||
"header": [
|
||
{
|
||
"key": "Content-Type",
|
||
"type": "text",
|
||
"value": "application/json"
|
||
},
|
||
{
|
||
"key": "language",
|
||
"type": "text",
|
||
"value": "{{language}}"
|
||
},
|
||
{
|
||
"key": "multilingual",
|
||
"type": "text",
|
||
"value": "true"
|
||
},
|
||
{
|
||
"key": "authToken",
|
||
"type": "text",
|
||
"value": "{{user_token}}"
|
||
}
|
||
],
|
||
"body": {
|
||
"mode": "raw",
|
||
"raw": "{\n \"params\": {\n \"property_id\": 1,\n \"payment_transaction_id\" : 46\n \n }\n}"
|
||
},
|
||
"url": {
|
||
"raw": "{{base_url}}/app/v1/property/manual-payment/edit-form",
|
||
"host": [
|
||
"{{base_url}}"
|
||
],
|
||
"path": [
|
||
"app",
|
||
"v1",
|
||
"property",
|
||
"manual-payment",
|
||
"edit-form"
|
||
]
|
||
}
|
||
},
|
||
"response": []
|
||
},
|
||
{
|
||
"name": "Get Manual Payment Detail",
|
||
"request": {
|
||
"method": "POST",
|
||
"header": [
|
||
{
|
||
"key": "Content-Type",
|
||
"type": "text",
|
||
"value": "application/json"
|
||
},
|
||
{
|
||
"key": "language",
|
||
"type": "text",
|
||
"value": "{{language}}"
|
||
},
|
||
{
|
||
"key": "multilingual",
|
||
"type": "text",
|
||
"value": "true"
|
||
},
|
||
{
|
||
"key": "authToken",
|
||
"type": "text",
|
||
"value": "{{user_token}}"
|
||
}
|
||
],
|
||
"body": {
|
||
"mode": "raw",
|
||
"raw": "{\n \"params\": {\n \"property_id\": 1,\n \"payment_transaction_id\" : 46\n \n }\n}"
|
||
},
|
||
"url": {
|
||
"raw": "{{base_url}}/app/v1/property/manual-payment/get",
|
||
"host": [
|
||
"{{base_url}}"
|
||
],
|
||
"path": [
|
||
"app",
|
||
"v1",
|
||
"property",
|
||
"manual-payment",
|
||
"get"
|
||
]
|
||
}
|
||
},
|
||
"response": []
|
||
},
|
||
{
|
||
"name": "Update Manual Payment",
|
||
"request": {
|
||
"method": "POST",
|
||
"header": [
|
||
{
|
||
"key": "Content-Type",
|
||
"type": "text",
|
||
"value": "application/json"
|
||
},
|
||
{
|
||
"key": "language",
|
||
"type": "text",
|
||
"value": "{{language}}"
|
||
},
|
||
{
|
||
"key": "multilingual",
|
||
"type": "text",
|
||
"value": "true"
|
||
},
|
||
{
|
||
"key": "authToken",
|
||
"type": "text",
|
||
"value": "{{user_token}}"
|
||
}
|
||
],
|
||
"body": {
|
||
"mode": "raw",
|
||
"raw": "{\n \"params\": {\n \"property_id\": 1,\n \"order_id\" : \"LNK210201-QXE31ZPA\",\n \"title\": \"Deronya Turizm Otel Ödemesi 2. deneme\",\n \"description\": \"Ödeme açıklaması Grand Yavuz Otel 15-20 Ocak\",\n \"email\": \"byumak@rezervasyon.com\",\n \"currency\" : \"TRY\",\n \"base_amount\": 150,\n \"commission\": 3, \n \"payment_method\" : \"online\",\n \"payment_type_mapping_id\" : 3\n\n \n }\n}"
|
||
},
|
||
"url": {
|
||
"raw": "{{base_url}}/app/v1/property/manual-payment/update",
|
||
"host": [
|
||
"{{base_url}}"
|
||
],
|
||
"path": [
|
||
"app",
|
||
"v1",
|
||
"property",
|
||
"manual-payment",
|
||
"update"
|
||
]
|
||
}
|
||
},
|
||
"response": []
|
||
}
|
||
]
|
||
},
|
||
{
|
||
"name": "PLACES",
|
||
"item": [
|
||
{
|
||
"name": "Get Place Categories",
|
||
"request": {
|
||
"method": "POST",
|
||
"header": [
|
||
{
|
||
"key": "Content-Type",
|
||
"value": "application/json",
|
||
"type": "text"
|
||
},
|
||
{
|
||
"key": "language",
|
||
"value": "{{language}}",
|
||
"type": "text"
|
||
},
|
||
{
|
||
"key": "multilingual",
|
||
"value": "true",
|
||
"type": "text"
|
||
},
|
||
{
|
||
"key": "authToken",
|
||
"value": "{{user_token}}",
|
||
"type": "text"
|
||
}
|
||
],
|
||
"body": {
|
||
"mode": "raw",
|
||
"raw": "{\n \"params\": {\n \"property_id\" : 1\n }\n}"
|
||
},
|
||
"url": {
|
||
"raw": "{{base_url}}/app/v1/property/place-categories/list",
|
||
"host": [
|
||
"{{base_url}}"
|
||
],
|
||
"path": [
|
||
"app",
|
||
"v1",
|
||
"property",
|
||
"place-categories",
|
||
"list"
|
||
]
|
||
}
|
||
},
|
||
"response": []
|
||
},
|
||
{
|
||
"name": "Get Place Categories Single Array",
|
||
"request": {
|
||
"method": "POST",
|
||
"header": [
|
||
{
|
||
"key": "Content-Type",
|
||
"value": "application/json",
|
||
"type": "text"
|
||
},
|
||
{
|
||
"key": "language",
|
||
"value": "{{language}}",
|
||
"type": "text"
|
||
},
|
||
{
|
||
"key": "multilingual",
|
||
"value": "true",
|
||
"type": "text"
|
||
},
|
||
{
|
||
"key": "authToken",
|
||
"value": "{{user_token}}",
|
||
"type": "text"
|
||
}
|
||
],
|
||
"body": {
|
||
"mode": "raw",
|
||
"raw": "{\n \"params\": {\n \"property_id\" : 1\n }\n}"
|
||
},
|
||
"url": {
|
||
"raw": "{{base_url}}/app/v1/property/place-categories/single-list",
|
||
"host": [
|
||
"{{base_url}}"
|
||
],
|
||
"path": [
|
||
"app",
|
||
"v1",
|
||
"property",
|
||
"place-categories",
|
||
"single-list"
|
||
]
|
||
}
|
||
},
|
||
"response": []
|
||
},
|
||
{
|
||
"name": "List Places",
|
||
"request": {
|
||
"method": "POST",
|
||
"header": [
|
||
{
|
||
"key": "Content-Type",
|
||
"type": "text",
|
||
"value": "application/json"
|
||
},
|
||
{
|
||
"key": "language",
|
||
"type": "text",
|
||
"value": "{{language}}"
|
||
},
|
||
{
|
||
"key": "multilingual",
|
||
"type": "text",
|
||
"value": "true"
|
||
},
|
||
{
|
||
"key": "authToken",
|
||
"type": "text",
|
||
"value": "{{user_token}}"
|
||
}
|
||
],
|
||
"body": {
|
||
"mode": "raw",
|
||
"raw": "{\n \"params\": {\n \"property_id\" : 1\n }\n}"
|
||
},
|
||
"url": {
|
||
"raw": "{{base_url}}/app/v1/property/place/list",
|
||
"host": [
|
||
"{{base_url}}"
|
||
],
|
||
"path": [
|
||
"app",
|
||
"v1",
|
||
"property",
|
||
"place",
|
||
"list"
|
||
]
|
||
}
|
||
},
|
||
"response": []
|
||
},
|
||
{
|
||
"name": "Get Place Working Hours",
|
||
"request": {
|
||
"method": "POST",
|
||
"header": [
|
||
{
|
||
"key": "Content-Type",
|
||
"type": "text",
|
||
"value": "application/json"
|
||
},
|
||
{
|
||
"key": "language",
|
||
"type": "text",
|
||
"value": "{{language}}"
|
||
},
|
||
{
|
||
"key": "multilingual",
|
||
"type": "text",
|
||
"value": "true"
|
||
},
|
||
{
|
||
"key": "authToken",
|
||
"type": "text",
|
||
"value": "{{user_token}}"
|
||
}
|
||
],
|
||
"body": {
|
||
"mode": "raw",
|
||
"raw": "{\n \"params\": {\n \"property_id\" : 1\n }\n}"
|
||
},
|
||
"url": {
|
||
"raw": "{{base_url}}/app/v1/property/place-working-hour/list",
|
||
"host": [
|
||
"{{base_url}}"
|
||
],
|
||
"path": [
|
||
"app",
|
||
"v1",
|
||
"property",
|
||
"place-working-hour",
|
||
"list"
|
||
]
|
||
}
|
||
},
|
||
"response": []
|
||
},
|
||
{
|
||
"name": "Create Place",
|
||
"request": {
|
||
"method": "POST",
|
||
"header": [
|
||
{
|
||
"key": "Content-Type",
|
||
"type": "text",
|
||
"value": "application/json"
|
||
},
|
||
{
|
||
"key": "language",
|
||
"type": "text",
|
||
"value": "{{language}}"
|
||
},
|
||
{
|
||
"key": "multilingual",
|
||
"type": "text",
|
||
"value": "true"
|
||
},
|
||
{
|
||
"key": "authToken",
|
||
"type": "text",
|
||
"value": "{{user_token}}"
|
||
}
|
||
],
|
||
"body": {
|
||
"mode": "raw",
|
||
"raw": "{\n \"params\": {\n \"property_id\": \"1\",\n \"place_category_id\": 36,\n \"place_working_hour_id\": 3,\n \"name\": \"Yes Yeni Restoran - 88\",\n \"include\" : 1,\n \"reservation_requirement\": 0,\n \"field_values\": {\n \"1\": {\n \"field_id\": 1,\n \"field_value\": 1,\n \"field_name\": \"Square Measure\"\n },\n \"2\": {\n \"field_id\": 2,\n \"field_value\": \"20\",\n \"field_name\": \"Capacity\"\n },\n \"3\": {\n \"field_id\": 3,\n \"field_value\": \"15\",\n \"field_name\": \"Age Range\"\n },\n \"4\": {\n \"field_id\": 4,\n \"field_value\": [\n 6,\n 8\n ],\n \"field_name\": \"Music\"\n },\n \"20\": {\n \"field_id\": 20,\n \"field_value\": \"150\",\n \"field_name\": \"Measure\"\n },\n \"21\": {\n \"field_id\": 21,\n \"field_value\": \"200\",\n \"field_name\": \"For Property Unit\"\n },\n \"21_unit\": {\n \"field_id\": \"21_unit\",\n \"field_value\": null,\n \"field_name\": \"For Property Unit\",\n \"field_unit_value\" : 2\n },\n \"22\": {\n \"field_id\": 22,\n \"field_value\": [7,8],\n \"field_name\": \"Slider\"\n }\n }\n }\n}"
|
||
},
|
||
"url": {
|
||
"raw": "{{base_url}}/app/v1/property/place/create",
|
||
"host": [
|
||
"{{base_url}}"
|
||
],
|
||
"path": [
|
||
"app",
|
||
"v1",
|
||
"property",
|
||
"place",
|
||
"create"
|
||
]
|
||
}
|
||
},
|
||
"response": []
|
||
},
|
||
{
|
||
"name": "Update Place",
|
||
"request": {
|
||
"method": "POST",
|
||
"header": [
|
||
{
|
||
"key": "Content-Type",
|
||
"type": "text",
|
||
"value": "application/json"
|
||
},
|
||
{
|
||
"key": "language",
|
||
"type": "text",
|
||
"value": "{{language}}"
|
||
},
|
||
{
|
||
"key": "multilingual",
|
||
"type": "text",
|
||
"value": "true"
|
||
},
|
||
{
|
||
"key": "authToken",
|
||
"type": "text",
|
||
"value": "{{user_token}}"
|
||
}
|
||
],
|
||
"body": {
|
||
"mode": "raw",
|
||
"raw": "{\n \"params\": {\n \"property_id\": \"217\",\n \"property_place_id\": 169,\n \"place_category_id\": 37,\n \"place_working_hour_id\": 2,\n \"include\": 1,\n \"name\": \"Nobu\",\n \"reservation_requirement\": 0,\n \"field_values\": {\n \"1\": {\n \"field_id\": 1,\n \"field_name\": \"Square Measure\",\n \"field_value\": null,\n \"field_unit_value\": null,\n \"field_unit_short_name\": null,\n \"field_place_category_id\": 1,\n \"field_label\": \"Square Measure\",\n \"field_language_key\": \"place_category_field-square_measure\",\n \"field_element\": \"inputunit\",\n \"field_type\": null,\n \"field_attribute\": {\n \"units\": [\n 1,\n 2\n ],\n \"unit_label\": \"place_category_field-measure\"\n },\n \"field_order_number\": 1,\n \"field_status\": 1,\n \"field_units\": [\n {\n \"id\": 1,\n \"name\": \"Square Meter\",\n \"language_key\": \"property-unit-square_meter\",\n \"short_name\": \"sqm\",\n \"is_selected\": false\n },\n {\n \"id\": 2,\n \"name\": \"Square Feet\",\n \"language_key\": \"property-unit-square_feet\",\n \"short_name\": \"sqf\",\n \"is_selected\": false\n }\n ],\n \"options\": {\n \"1\": {\n \"option_id\": 1,\n \"option_name\": \"Square Meters\",\n \"option_language_key\": \"place_category_field_option-square_meters\",\n \"option_status\": 1,\n \"option_is_selected\": false\n },\n \"2\": {\n \"option_id\": 2,\n \"option_name\": \"Square Feet\",\n \"option_language_key\": \"place_category_field_option-square_feet\",\n \"option_status\": 1,\n \"option_is_selected\": false\n }\n }\n },\n \"2\": {\n \"field_id\": 2,\n \"field_name\": \"Capacity\",\n \"field_value\": null,\n \"field_unit_value\": null,\n \"field_unit_short_name\": null,\n \"field_place_category_id\": 2,\n \"field_label\": \"Capacity \",\n \"field_language_key\": \"place_category_field-capacity\",\n \"field_element\": \"input\",\n \"field_type\": \"number\",\n \"field_attribute\": null,\n \"field_order_number\": 3,\n \"field_status\": 1,\n \"field_units\": null\n },\n \"3\": {\n \"field_id\": 3,\n \"field_name\": \"Age Range\",\n \"field_value\": [],\n \"field_unit_value\": null,\n \"field_unit_short_name\": null,\n \"field_place_category_id\": 3,\n \"field_label\": \"Age Range\",\n \"field_language_key\": \"place_category_field-age_range\",\n \"field_element\": \"slider\",\n \"field_type\": null,\n \"field_attribute\": {\n \"slider\": {\n \"min\": 1,\n \"max\": 100,\n \"step\": 1\n }\n },\n \"field_order_number\": 4,\n \"field_status\": 1,\n \"field_units\": null,\n \"options\": {\n \"3\": {\n \"option_id\": 3,\n \"option_name\": \"Unlimited\",\n \"option_language_key\": \"place_category_field_option-unlimited\",\n \"option_status\": 1,\n \"option_is_selected\": false\n },\n \"4\": {\n \"option_id\": 4,\n \"option_name\": \"0-100\",\n \"option_language_key\": \"place_category_field_option-0_100\",\n \"option_status\": 1,\n \"option_is_selected\": false\n }\n }\n },\n \"1_unit\": {\n \"field_id\": \"1_unit\",\n \"field_name\": \"Square Measure\",\n \"field_value\": null,\n \"field_unit_value\": null,\n \"field_unit_short_name\": null,\n \"field_place_category_id\": 1,\n \"field_label\": \"Square Measure\",\n \"field_language_key\": \"place_category_field-square_measure\",\n \"field_type\": null,\n \"field_attribute\": {\n \"units\": [\n 1,\n 2\n ],\n \"unit_label\": \"place_category_field-measure\"\n },\n \"field_order_number\": 1,\n \"field_status\": 1,\n \"field_units\": [\n {\n \"id\": 1,\n \"name\": \"Square Meter\",\n \"language_key\": \"property-unit-square_meter\",\n \"short_name\": \"sqm\",\n \"is_selected\": false\n },\n {\n \"id\": 2,\n \"name\": \"Square Feet\",\n \"language_key\": \"property-unit-square_feet\",\n \"short_name\": \"sqf\",\n \"is_selected\": false\n }\n ],\n \"options\": {\n \"1\": {\n \"option_id\": 1,\n \"option_name\": \"Square Meters\",\n \"option_language_key\": \"place_category_field_option-square_meters\",\n \"option_status\": 1,\n \"option_is_selected\": false\n },\n \"2\": {\n \"option_id\": 2,\n \"option_name\": \"Square Feet\",\n \"option_language_key\": \"place_category_field_option-square_feet\",\n \"option_status\": 1,\n \"option_is_selected\": false\n }\n }\n }\n }\n }\n}"
|
||
},
|
||
"url": {
|
||
"raw": "{{base_url}}/app/v1/property/place/update?XDEBUG_SESSION_START=PHPSTORM",
|
||
"host": [
|
||
"{{base_url}}"
|
||
],
|
||
"path": [
|
||
"app",
|
||
"v1",
|
||
"property",
|
||
"place",
|
||
"update"
|
||
],
|
||
"query": [
|
||
{
|
||
"key": "XDEBUG_SESSION_START",
|
||
"value": "PHPSTORM"
|
||
}
|
||
]
|
||
}
|
||
},
|
||
"response": []
|
||
},
|
||
{
|
||
"name": "Update Place Status",
|
||
"request": {
|
||
"method": "POST",
|
||
"header": [
|
||
{
|
||
"key": "Content-Type",
|
||
"type": "text",
|
||
"value": "application/json"
|
||
},
|
||
{
|
||
"key": "language",
|
||
"type": "text",
|
||
"value": "{{language}}"
|
||
},
|
||
{
|
||
"key": "multilingual",
|
||
"type": "text",
|
||
"value": "true"
|
||
},
|
||
{
|
||
"key": "authToken",
|
||
"type": "text",
|
||
"value": "{{user_token}}"
|
||
}
|
||
],
|
||
"body": {
|
||
"mode": "raw",
|
||
"raw": "{\n \"params\": {\n \"property_id\" : 1,\n \"property_place_id\" : 1 ,\n \"set_status\" : 1\n }\n}"
|
||
},
|
||
"url": {
|
||
"raw": "{{base_url}}/app/v1/property/place/update-status",
|
||
"host": [
|
||
"{{base_url}}"
|
||
],
|
||
"path": [
|
||
"app",
|
||
"v1",
|
||
"property",
|
||
"place",
|
||
"update-status"
|
||
]
|
||
}
|
||
},
|
||
"response": []
|
||
},
|
||
{
|
||
"name": "Delete Place",
|
||
"request": {
|
||
"method": "POST",
|
||
"header": [
|
||
{
|
||
"key": "Content-Type",
|
||
"type": "text",
|
||
"value": "application/json"
|
||
},
|
||
{
|
||
"key": "language",
|
||
"type": "text",
|
||
"value": "{{language}}"
|
||
},
|
||
{
|
||
"key": "multilingual",
|
||
"type": "text",
|
||
"value": "true"
|
||
},
|
||
{
|
||
"key": "authToken",
|
||
"type": "text",
|
||
"value": "{{user_token}}"
|
||
}
|
||
],
|
||
"body": {
|
||
"mode": "raw",
|
||
"raw": "{\n \"params\": {\n \"property_id\" : 1,\n \"property_place_id\" : 1\n }\n}"
|
||
},
|
||
"url": {
|
||
"raw": "{{base_url}}/app/v1/property/place/delete",
|
||
"host": [
|
||
"{{base_url}}"
|
||
],
|
||
"path": [
|
||
"app",
|
||
"v1",
|
||
"property",
|
||
"place",
|
||
"delete"
|
||
]
|
||
}
|
||
},
|
||
"response": []
|
||
},
|
||
{
|
||
"name": "Edit Place",
|
||
"request": {
|
||
"method": "POST",
|
||
"header": [
|
||
{
|
||
"key": "Content-Type",
|
||
"type": "text",
|
||
"value": "application/json"
|
||
},
|
||
{
|
||
"key": "language",
|
||
"type": "text",
|
||
"value": "{{language}}"
|
||
},
|
||
{
|
||
"key": "multilingual",
|
||
"type": "text",
|
||
"value": "true"
|
||
},
|
||
{
|
||
"key": "authToken",
|
||
"type": "text",
|
||
"value": "{{user_token}}"
|
||
}
|
||
],
|
||
"body": {
|
||
"mode": "raw",
|
||
"raw": "{\n \"params\": {\n \"property_id\" : 1,\n \"property_place_id\" : 7\n }\n}"
|
||
},
|
||
"url": {
|
||
"raw": "{{base_url}}/app/v1/property/place/edit",
|
||
"host": [
|
||
"{{base_url}}"
|
||
],
|
||
"path": [
|
||
"app",
|
||
"v1",
|
||
"property",
|
||
"place",
|
||
"edit"
|
||
]
|
||
}
|
||
},
|
||
"response": []
|
||
},
|
||
{
|
||
"name": "Get Photo List",
|
||
"request": {
|
||
"method": "POST",
|
||
"header": [
|
||
{
|
||
"key": "authToken",
|
||
"type": "text",
|
||
"value": "{{user_token}}"
|
||
},
|
||
{
|
||
"key": "Content-Type",
|
||
"type": "text",
|
||
"value": "application/json"
|
||
},
|
||
{
|
||
"key": "language",
|
||
"type": "text",
|
||
"value": "{{language}}"
|
||
},
|
||
{
|
||
"key": "multilingual",
|
||
"type": "text",
|
||
"value": "true"
|
||
}
|
||
],
|
||
"body": {
|
||
"mode": "raw",
|
||
"raw": "{\n \"params\": {\n \"property_id\": 1,\n \"place_id\" : 1\n }\n}"
|
||
},
|
||
"url": {
|
||
"raw": "{{base_url}}/app/v1/property/place-photo/list",
|
||
"host": [
|
||
"{{base_url}}"
|
||
],
|
||
"path": [
|
||
"app",
|
||
"v1",
|
||
"property",
|
||
"place-photo",
|
||
"list"
|
||
]
|
||
}
|
||
},
|
||
"response": []
|
||
},
|
||
{
|
||
"name": "Update Photo Mapping",
|
||
"request": {
|
||
"method": "POST",
|
||
"header": [
|
||
{
|
||
"key": "authToken",
|
||
"value": "{{user_token}}",
|
||
"type": "text"
|
||
},
|
||
{
|
||
"key": "Content-Type",
|
||
"value": "application/json",
|
||
"type": "text"
|
||
},
|
||
{
|
||
"key": "language",
|
||
"value": "{{language}}",
|
||
"type": "text"
|
||
},
|
||
{
|
||
"key": "multilingual",
|
||
"value": "true",
|
||
"type": "text"
|
||
}
|
||
],
|
||
"body": {
|
||
"mode": "raw",
|
||
"raw": "{\n \"params\": {\n \"property_id\": 1,\n \"place_id\": 1,\n \"property_place_photo\": [\n {\n \"id\": 1,\n \"is_selected\": true\n },\n {\n \"id\": 8,\n \"is_selected\": true\n }\n ]\n }\n}"
|
||
},
|
||
"url": {
|
||
"raw": "{{base_url}}/app/v1/property/place-photo-mapping/update",
|
||
"host": [
|
||
"{{base_url}}"
|
||
],
|
||
"path": [
|
||
"app",
|
||
"v1",
|
||
"property",
|
||
"place-photo-mapping",
|
||
"update"
|
||
]
|
||
}
|
||
},
|
||
"response": []
|
||
},
|
||
{
|
||
"name": "Get Place Facilities",
|
||
"request": {
|
||
"method": "POST",
|
||
"header": [
|
||
{
|
||
"key": "Content-Type",
|
||
"type": "text",
|
||
"value": "application/json"
|
||
},
|
||
{
|
||
"key": "language",
|
||
"type": "text",
|
||
"value": "{{language}}"
|
||
},
|
||
{
|
||
"key": "multilingual",
|
||
"type": "text",
|
||
"value": "true"
|
||
},
|
||
{
|
||
"key": "authToken",
|
||
"type": "text",
|
||
"value": "{{user_token}}"
|
||
}
|
||
],
|
||
"body": {
|
||
"mode": "raw",
|
||
"raw": "{\n \"params\": {\n \"property_id\" : 1,\n \"place_id\" : 8\n }\n}"
|
||
},
|
||
"url": {
|
||
"raw": "{{base_url}}/app/v1/property/place-facilities/list",
|
||
"host": [
|
||
"{{base_url}}"
|
||
],
|
||
"path": [
|
||
"app",
|
||
"v1",
|
||
"property",
|
||
"place-facilities",
|
||
"list"
|
||
]
|
||
}
|
||
},
|
||
"response": []
|
||
},
|
||
{
|
||
"name": "Get Place Category Fields",
|
||
"request": {
|
||
"method": "POST",
|
||
"header": [
|
||
{
|
||
"key": "Content-Type",
|
||
"type": "text",
|
||
"value": "application/json"
|
||
},
|
||
{
|
||
"key": "language",
|
||
"type": "text",
|
||
"value": "{{language}}"
|
||
},
|
||
{
|
||
"key": "multilingual",
|
||
"type": "text",
|
||
"value": "true"
|
||
},
|
||
{
|
||
"key": "authToken",
|
||
"type": "text",
|
||
"value": "{{user_token}}"
|
||
}
|
||
],
|
||
"body": {
|
||
"mode": "raw",
|
||
"raw": "{\n \"params\": {\n \"property_id\" : 1,\n \"place_category_id\" : 36,\n \"place_id\" : 7\n }\n}"
|
||
},
|
||
"url": {
|
||
"raw": "{{base_url}}/app/v1/property/place-category-fields/get",
|
||
"host": [
|
||
"{{base_url}}"
|
||
],
|
||
"path": [
|
||
"app",
|
||
"v1",
|
||
"property",
|
||
"place-category-fields",
|
||
"get"
|
||
]
|
||
}
|
||
},
|
||
"response": []
|
||
},
|
||
{
|
||
"name": "Update Place Facilities",
|
||
"request": {
|
||
"method": "POST",
|
||
"header": [
|
||
{
|
||
"key": "Content-Type",
|
||
"type": "text",
|
||
"value": "application/json"
|
||
},
|
||
{
|
||
"key": "language",
|
||
"type": "text",
|
||
"value": "{{language}}"
|
||
},
|
||
{
|
||
"key": "multilingual",
|
||
"type": "text",
|
||
"value": "true"
|
||
},
|
||
{
|
||
"key": "authToken",
|
||
"type": "text",
|
||
"value": "{{user_token}}"
|
||
}
|
||
],
|
||
"body": {
|
||
"mode": "raw",
|
||
"raw": "{\n \"params\": {\n \"property_id\" : 1,\n \"place_id\" : 2,\n \"place_fact_title_fact_mapping_id\" : 5,\n \"is_selected\" : true\n }\n}"
|
||
},
|
||
"url": {
|
||
"raw": "{{base_url}}/app/v1/property/place-facilities/update",
|
||
"host": [
|
||
"{{base_url}}"
|
||
],
|
||
"path": [
|
||
"app",
|
||
"v1",
|
||
"property",
|
||
"place-facilities",
|
||
"update"
|
||
]
|
||
}
|
||
},
|
||
"response": []
|
||
},
|
||
{
|
||
"name": "Add Field Mapping (For Admin)",
|
||
"request": {
|
||
"method": "POST",
|
||
"header": [
|
||
{
|
||
"key": "Content-Type",
|
||
"value": "application/json",
|
||
"type": "text"
|
||
},
|
||
{
|
||
"key": "language",
|
||
"value": "{{language}}",
|
||
"type": "text"
|
||
},
|
||
{
|
||
"key": "multilingual",
|
||
"value": "true",
|
||
"type": "text"
|
||
},
|
||
{
|
||
"key": "authToken",
|
||
"value": "{{user_token}}",
|
||
"type": "text"
|
||
}
|
||
],
|
||
"body": {
|
||
"mode": "raw",
|
||
"raw": "{\n \"params\": {\n \"property_id\" : 1,\n \"add_field_id\" : 20,\n \"before_field\" : 1\n }\n}"
|
||
},
|
||
"url": {
|
||
"raw": "{{base_url}}/app/v1/property/place-field-mapping/add",
|
||
"host": [
|
||
"{{base_url}}"
|
||
],
|
||
"path": [
|
||
"app",
|
||
"v1",
|
||
"property",
|
||
"place-field-mapping",
|
||
"add"
|
||
]
|
||
}
|
||
},
|
||
"response": []
|
||
}
|
||
]
|
||
},
|
||
{
|
||
"name": "AWARDS CERTIFICATES",
|
||
"item": [
|
||
{
|
||
"name": "Get Award Certificate Categories",
|
||
"request": {
|
||
"method": "POST",
|
||
"header": [
|
||
{
|
||
"key": "authToken",
|
||
"type": "text",
|
||
"value": "{{user_token}}"
|
||
},
|
||
{
|
||
"key": "Content-Type",
|
||
"name": "Content-Type",
|
||
"type": "text",
|
||
"value": "application/json"
|
||
},
|
||
{
|
||
"key": "language",
|
||
"type": "text",
|
||
"value": "{{language}}"
|
||
},
|
||
{
|
||
"key": "multilingual",
|
||
"type": "text",
|
||
"value": "true"
|
||
}
|
||
],
|
||
"body": {
|
||
"mode": "raw",
|
||
"raw": "{\n \"params\": {\n \"property_id\" : 1\n }\n}",
|
||
"options": {
|
||
"raw": {
|
||
"language": "json"
|
||
}
|
||
}
|
||
},
|
||
"url": {
|
||
"raw": "{{base_url}}/app/v1/property/awards-certificates/categories",
|
||
"host": [
|
||
"{{base_url}}"
|
||
],
|
||
"path": [
|
||
"app",
|
||
"v1",
|
||
"property",
|
||
"awards-certificates",
|
||
"categories"
|
||
]
|
||
}
|
||
},
|
||
"response": []
|
||
},
|
||
{
|
||
"name": "Create Award Certificate",
|
||
"request": {
|
||
"method": "POST",
|
||
"header": [
|
||
{
|
||
"key": "authToken",
|
||
"type": "text",
|
||
"value": "{{user_token}}"
|
||
},
|
||
{
|
||
"key": "Content-Type",
|
||
"name": "Content-Type",
|
||
"type": "text",
|
||
"value": "application/json"
|
||
},
|
||
{
|
||
"key": "language",
|
||
"type": "text",
|
||
"value": "{{language}}"
|
||
},
|
||
{
|
||
"key": "multilingual",
|
||
"type": "text",
|
||
"value": "true"
|
||
}
|
||
],
|
||
"body": {
|
||
"mode": "formdata",
|
||
"formdata": [
|
||
{
|
||
"key": "property_id",
|
||
"value": "1",
|
||
"type": "text"
|
||
},
|
||
{
|
||
"key": "category_id",
|
||
"value": "3",
|
||
"type": "text"
|
||
},
|
||
{
|
||
"key": "name",
|
||
"value": "Merhaba-88",
|
||
"type": "text"
|
||
},
|
||
{
|
||
"key": "date",
|
||
"value": "2020",
|
||
"type": "text"
|
||
},
|
||
{
|
||
"key": "url",
|
||
"value": "",
|
||
"type": "text"
|
||
},
|
||
{
|
||
"key": "file",
|
||
"type": "file",
|
||
"src": "/D:/My Files/Downloads/yok-ogrenci-belgesi-sorgulama.pdf"
|
||
}
|
||
]
|
||
},
|
||
"url": {
|
||
"raw": "{{base_url}}/app/v1/property/awards-certificates/create",
|
||
"host": [
|
||
"{{base_url}}"
|
||
],
|
||
"path": [
|
||
"app",
|
||
"v1",
|
||
"property",
|
||
"awards-certificates",
|
||
"create"
|
||
]
|
||
}
|
||
},
|
||
"response": []
|
||
},
|
||
{
|
||
"name": "List Award Certificate",
|
||
"request": {
|
||
"method": "POST",
|
||
"header": [
|
||
{
|
||
"key": "authToken",
|
||
"type": "text",
|
||
"value": "{{user_token}}"
|
||
},
|
||
{
|
||
"key": "Content-Type",
|
||
"name": "Content-Type",
|
||
"type": "text",
|
||
"value": "application/json"
|
||
},
|
||
{
|
||
"key": "language",
|
||
"type": "text",
|
||
"value": "{{language}}"
|
||
},
|
||
{
|
||
"key": "multilingual",
|
||
"type": "text",
|
||
"value": "true"
|
||
}
|
||
],
|
||
"body": {
|
||
"mode": "raw",
|
||
"raw": "{\n \"params\": {\n \"property_id\" : 1\n }\n}",
|
||
"options": {
|
||
"raw": {
|
||
"language": "json"
|
||
}
|
||
}
|
||
},
|
||
"url": {
|
||
"raw": "{{base_url}}/app/v1/property/awards-certificates/list",
|
||
"host": [
|
||
"{{base_url}}"
|
||
],
|
||
"path": [
|
||
"app",
|
||
"v1",
|
||
"property",
|
||
"awards-certificates",
|
||
"list"
|
||
]
|
||
}
|
||
},
|
||
"response": []
|
||
},
|
||
{
|
||
"name": "Update Award Certificate",
|
||
"request": {
|
||
"method": "POST",
|
||
"header": [
|
||
{
|
||
"key": "authToken",
|
||
"type": "text",
|
||
"value": "{{user_token}}"
|
||
},
|
||
{
|
||
"key": "Content-Type",
|
||
"name": "Content-Type",
|
||
"type": "text",
|
||
"value": "application/json"
|
||
},
|
||
{
|
||
"key": "language",
|
||
"type": "text",
|
||
"value": "{{language}}"
|
||
},
|
||
{
|
||
"key": "multilingual",
|
||
"type": "text",
|
||
"value": "true"
|
||
}
|
||
],
|
||
"body": {
|
||
"mode": "formdata",
|
||
"formdata": [
|
||
{
|
||
"key": "property_id",
|
||
"value": "1",
|
||
"type": "text"
|
||
},
|
||
{
|
||
"key": "category_id",
|
||
"value": "2",
|
||
"type": "text"
|
||
},
|
||
{
|
||
"key": "name",
|
||
"value": "Hello Emice",
|
||
"type": "text"
|
||
},
|
||
{
|
||
"key": "date",
|
||
"value": "2020",
|
||
"type": "text"
|
||
},
|
||
{
|
||
"key": "url",
|
||
"value": "http://myweb.extranetwork.local/tr/place/yes-yeni-place-7",
|
||
"type": "text",
|
||
"disabled": true
|
||
},
|
||
{
|
||
"key": "file",
|
||
"type": "file",
|
||
"src": "/D:/My Files/Downloads/yok-ogrenci-belgesi-sorgulama.pdf"
|
||
},
|
||
{
|
||
"key": "award_certificate_id",
|
||
"value": "1",
|
||
"type": "text"
|
||
}
|
||
]
|
||
},
|
||
"url": {
|
||
"raw": "{{base_url}}/app/v1/property/awards-certificates/update",
|
||
"host": [
|
||
"{{base_url}}"
|
||
],
|
||
"path": [
|
||
"app",
|
||
"v1",
|
||
"property",
|
||
"awards-certificates",
|
||
"update"
|
||
]
|
||
}
|
||
},
|
||
"response": []
|
||
},
|
||
{
|
||
"name": "Delete Award Certificate Photo",
|
||
"request": {
|
||
"method": "POST",
|
||
"header": [
|
||
{
|
||
"key": "authToken",
|
||
"type": "text",
|
||
"value": "{{user_token}}"
|
||
},
|
||
{
|
||
"key": "Content-Type",
|
||
"name": "Content-Type",
|
||
"type": "text",
|
||
"value": "application/json"
|
||
},
|
||
{
|
||
"key": "language",
|
||
"type": "text",
|
||
"value": "{{language}}"
|
||
},
|
||
{
|
||
"key": "multilingual",
|
||
"type": "text",
|
||
"value": "true"
|
||
}
|
||
],
|
||
"body": {
|
||
"mode": "raw",
|
||
"raw": "{\n \"params\": {\n \"property_id\" : 1,\n \"award_certificate_id\" : 1\n }\n}",
|
||
"options": {
|
||
"raw": {
|
||
"language": "json"
|
||
}
|
||
}
|
||
},
|
||
"url": {
|
||
"raw": "{{base_url}}/app/v1/property/awards-certificates/delete-photo",
|
||
"host": [
|
||
"{{base_url}}"
|
||
],
|
||
"path": [
|
||
"app",
|
||
"v1",
|
||
"property",
|
||
"awards-certificates",
|
||
"delete-photo"
|
||
]
|
||
}
|
||
},
|
||
"response": []
|
||
},
|
||
{
|
||
"name": "Update Award Certificate Status",
|
||
"request": {
|
||
"method": "POST",
|
||
"header": [
|
||
{
|
||
"key": "Content-Type",
|
||
"type": "text",
|
||
"value": "application/json"
|
||
},
|
||
{
|
||
"key": "language",
|
||
"type": "text",
|
||
"value": "{{language}}"
|
||
},
|
||
{
|
||
"key": "multilingual",
|
||
"type": "text",
|
||
"value": "true"
|
||
},
|
||
{
|
||
"key": "authToken",
|
||
"type": "text",
|
||
"value": "{{user_token}}"
|
||
}
|
||
],
|
||
"body": {
|
||
"mode": "raw",
|
||
"raw": "{\n \"params\": {\n \"property_id\" : 1,\n \"award_certificate_id\" : 10 ,\n \"set_status\" : 0\n }\n}"
|
||
},
|
||
"url": {
|
||
"raw": "{{base_url}}/app/v1/property/awards-certificates/update-status",
|
||
"host": [
|
||
"{{base_url}}"
|
||
],
|
||
"path": [
|
||
"app",
|
||
"v1",
|
||
"property",
|
||
"awards-certificates",
|
||
"update-status"
|
||
]
|
||
}
|
||
},
|
||
"response": []
|
||
}
|
||
]
|
||
},
|
||
{
|
||
"name": "BOOKING ENGINE API 1.0",
|
||
"item": [
|
||
{
|
||
"name": "LINK",
|
||
"item": [
|
||
{
|
||
"name": "paymentLinkInitialize",
|
||
"request": {
|
||
"method": "POST",
|
||
"header": [
|
||
{
|
||
"key": "channelToken",
|
||
"type": "text",
|
||
"value": "ece3ef02-42e7-92b7-f379-08226ed7a0f3",
|
||
"disabled": true
|
||
},
|
||
{
|
||
"key": "bookingEngineToken",
|
||
"type": "text",
|
||
"value": "de432418-04a8-afa4-3b77-a07f70af2e8a",
|
||
"disabled": true
|
||
},
|
||
{
|
||
"key": "language",
|
||
"type": "text",
|
||
"value": "tr"
|
||
}
|
||
],
|
||
"body": {
|
||
"mode": "raw",
|
||
"raw": "{\r\n \"orderCode\": \"LNK210104-ZTYFSJQR\",\r\n \"responseUrl\": \"http://api.extranetwork.local/testResponse\",\r\n \"creditCard\": {\r\n \"cardHolder\": \"Burhan Yumak\",\r\n \"cardNumber\": \"378282246310005\",\r\n \"cardExpireMonth\": \"11\",\r\n \"cardExpireYear\": \"2022\",\r\n \"cardCvv\": \"592\",\r\n \"installment\": 0\r\n }\r\n}",
|
||
"options": {
|
||
"raw": {
|
||
"language": "json"
|
||
}
|
||
}
|
||
},
|
||
"url": {
|
||
"raw": "http://api.extranetwork.local/v1/paymentLinkInitialize",
|
||
"protocol": "http",
|
||
"host": [
|
||
"api",
|
||
"extranetwork",
|
||
"local"
|
||
],
|
||
"path": [
|
||
"v1",
|
||
"paymentLinkInitialize"
|
||
]
|
||
}
|
||
},
|
||
"response": []
|
||
},
|
||
{
|
||
"name": "paymentLinkConfirm",
|
||
"request": {
|
||
"method": "POST",
|
||
"header": [
|
||
{
|
||
"key": "channelToken",
|
||
"type": "text",
|
||
"value": "ece3ef02-42e7-92b7-f379-08226ed7a0f3",
|
||
"disabled": true
|
||
},
|
||
{
|
||
"key": "bookingEngineToken",
|
||
"type": "text",
|
||
"value": "de432418-04a8-afa4-3b77-a07f70af2e8a",
|
||
"disabled": true
|
||
},
|
||
{
|
||
"key": "language",
|
||
"type": "text",
|
||
"value": "tr"
|
||
}
|
||
],
|
||
"body": {
|
||
"mode": "raw",
|
||
"raw": "{\r\n \"orderCode\": \"LNK210104-ZTYFSJQR\",\r\n \"paymentCode\": \"ENWPYM210130_L2YKUY6U\"\r\n}",
|
||
"options": {
|
||
"raw": {
|
||
"language": "json"
|
||
}
|
||
}
|
||
},
|
||
"url": {
|
||
"raw": "http://api.extranetwork.local/v1/paymentLinkConfirm",
|
||
"protocol": "http",
|
||
"host": [
|
||
"api",
|
||
"extranetwork",
|
||
"local"
|
||
],
|
||
"path": [
|
||
"v1",
|
||
"paymentLinkConfirm"
|
||
]
|
||
}
|
||
},
|
||
"response": []
|
||
},
|
||
{
|
||
"name": "PaymentLinkDetail",
|
||
"request": {
|
||
"method": "GET",
|
||
"header": [
|
||
{
|
||
"key": "channelToken",
|
||
"type": "text",
|
||
"value": "ece3ef02-42e7-92b7-f379-08226ed7a0f3"
|
||
},
|
||
{
|
||
"key": "bookingEngineToken",
|
||
"type": "text",
|
||
"value": "de432418-04a8-afa4-3b77-a07f70af2e8a"
|
||
},
|
||
{
|
||
"key": "language",
|
||
"type": "text",
|
||
"value": "tr"
|
||
}
|
||
],
|
||
"url": {
|
||
"raw": "http://api.extranetwork.local/v1/paymentLinkDetail/LNK210201-YLC9Z585",
|
||
"protocol": "http",
|
||
"host": [
|
||
"api",
|
||
"extranetwork",
|
||
"local"
|
||
],
|
||
"path": [
|
||
"v1",
|
||
"paymentLinkDetail",
|
||
"LNK210201-YLC9Z585"
|
||
]
|
||
}
|
||
},
|
||
"response": []
|
||
}
|
||
]
|
||
},
|
||
{
|
||
"name": "Search",
|
||
"request": {
|
||
"method": "POST",
|
||
"header": [
|
||
{
|
||
"key": "channelToken",
|
||
"value": "ece3ef02-42e7-92b7-f379-08226ed7a0f3",
|
||
"type": "text"
|
||
},
|
||
{
|
||
"key": "bookingEngineToken",
|
||
"value": "de432418-04a8-afa4-3b77-a07f70af2e8a",
|
||
"type": "text"
|
||
},
|
||
{
|
||
"key": "language",
|
||
"value": "tr",
|
||
"type": "text"
|
||
}
|
||
],
|
||
"body": {
|
||
"mode": "raw",
|
||
"raw": "{\r\n \"date\": {\r\n \"checkIn\": \"2021-03-01\",\r\n \"checkOut\": \"2021-03-02\"\r\n },\r\n \"rooms\": [\r\n {\r\n \"adults\": 1,\r\n \"children\": 0,\r\n \"age\": [\r\n 1,1\r\n ]\r\n } \r\n ],\r\n \"property\": [\r\n 1\r\n ]\r\n}",
|
||
"options": {
|
||
"raw": {
|
||
"language": "json"
|
||
}
|
||
}
|
||
},
|
||
"url": {
|
||
"raw": "http://api.extranetwork.local/v1/search",
|
||
"protocol": "http",
|
||
"host": [
|
||
"api",
|
||
"extranetwork",
|
||
"local"
|
||
],
|
||
"path": [
|
||
"v1",
|
||
"search"
|
||
]
|
||
}
|
||
},
|
||
"response": []
|
||
},
|
||
{
|
||
"name": "PaymentInstallment",
|
||
"request": {
|
||
"method": "POST",
|
||
"header": [
|
||
{
|
||
"key": "channelToken",
|
||
"value": "ece3ef02-42e7-92b7-f379-08226ed7a0f3",
|
||
"type": "text"
|
||
},
|
||
{
|
||
"key": "bookingEngineToken",
|
||
"value": "de432418-04a8-afa4-3b77-a07f70af2e8a",
|
||
"type": "text"
|
||
},
|
||
{
|
||
"key": "language",
|
||
"value": "tr",
|
||
"type": "text"
|
||
}
|
||
],
|
||
"body": {
|
||
"mode": "raw",
|
||
"raw": "{\r\n \"cardBinNumber\": \"409070\",\r\n \"amount\": 94.5,\r\n \"currency\": \"EUR\"\r\n}",
|
||
"options": {
|
||
"raw": {
|
||
"language": "json"
|
||
}
|
||
}
|
||
},
|
||
"url": {
|
||
"raw": "http://api.extranetwork.local/v1/bookingPaymentInstallment",
|
||
"protocol": "http",
|
||
"host": [
|
||
"api",
|
||
"extranetwork",
|
||
"local"
|
||
],
|
||
"path": [
|
||
"v1",
|
||
"bookingPaymentInstallment"
|
||
]
|
||
}
|
||
},
|
||
"response": []
|
||
},
|
||
{
|
||
"name": "Booking",
|
||
"request": {
|
||
"method": "POST",
|
||
"header": [
|
||
{
|
||
"key": "channelToken",
|
||
"value": "ece3ef02-42e7-92b7-f379-08226ed7a0f3",
|
||
"type": "text"
|
||
},
|
||
{
|
||
"key": "bookingEngineToken",
|
||
"value": "de432418-04a8-afa4-3b77-a07f70af2e8a",
|
||
"type": "text"
|
||
},
|
||
{
|
||
"key": "language",
|
||
"value": "tr",
|
||
"type": "text"
|
||
}
|
||
],
|
||
"body": {
|
||
"mode": "raw",
|
||
"raw": "{\r\n \"bookingCodeX\": \"ENW201204-GDSHIB0G\",\r\n \"searchKey\": \"08529f47939d8ced9e0b54841a6afbad\",\r\n \"propertyId\": 1,\r\n \"contactInfo\": {\r\n \"name\": \"Burhan\",\r\n \"surName\": \"Yumak\",\r\n \"phoneCode\": \"90\",\r\n \"phoneNumber\": \"5326264616\",\r\n \"email\": \"burhan@extranetwork.com\",\r\n \"note\": \"sdsds\"\r\n },\r\n \"roomInfo\": [\r\n {\r\n \"occupancyCode\": \"A\",\r\n \"rateKey\": \"721be6ca282b15dab37bd8ec2f6501ec\",\r\n \"paxes\": [\r\n {\r\n \"type\": \"ADT\",\r\n \"name\": \"Burhan\",\r\n \"surName\": \"Yumak\",\r\n \"gender\": \"F\",\r\n \"citizen\": \"TR\",\r\n \"birthDate\": \"1984-09-17\"\r\n }\r\n ]\r\n }\r\n ],\r\n \"paymentInfo\": {\r\n \"paymentCode\": \"CRD\",\r\n \"responseUrl\": \"http://api.extranetwork.local/testResponse\",\r\n \"creditCard\": {\r\n \"cardHolder\": \"Burhan Yumak\",\r\n \"cardNumber\": \"4000000000003063\",\r\n \"cardExpireMonth\": \"11\",\r\n \"cardExpireYear\": \"2022\",\r\n \"cardCvv\": \"592\",\r\n \"installment\": 0\r\n }\r\n }\r\n}",
|
||
"options": {
|
||
"raw": {
|
||
"language": "json"
|
||
}
|
||
}
|
||
},
|
||
"url": {
|
||
"raw": "http://api.extranetwork.local/v1/booking",
|
||
"protocol": "http",
|
||
"host": [
|
||
"api",
|
||
"extranetwork",
|
||
"local"
|
||
],
|
||
"path": [
|
||
"v1",
|
||
"booking"
|
||
]
|
||
}
|
||
},
|
||
"response": []
|
||
},
|
||
{
|
||
"name": "BookingConfirm",
|
||
"request": {
|
||
"method": "POST",
|
||
"header": [
|
||
{
|
||
"key": "channelToken",
|
||
"value": "ece3ef02-42e7-92b7-f379-08226ed7a0f3",
|
||
"type": "text"
|
||
},
|
||
{
|
||
"key": "bookingEngineToken",
|
||
"value": "de432418-04a8-afa4-3b77-a07f70af2e8a",
|
||
"type": "text"
|
||
},
|
||
{
|
||
"key": "language",
|
||
"value": "tr",
|
||
"type": "text"
|
||
}
|
||
],
|
||
"body": {
|
||
"mode": "raw",
|
||
"raw": "{\r\n \"bookingCode\": \"ENW201207-RC2Y10N4\",\r\n \"paymentCode\": \"ENWPYM201207-KSGG6PUD\"\r\n}",
|
||
"options": {
|
||
"raw": {
|
||
"language": "json"
|
||
}
|
||
}
|
||
},
|
||
"url": {
|
||
"raw": "http://api.extranetwork.local/v1/bookingConfirm",
|
||
"protocol": "http",
|
||
"host": [
|
||
"api",
|
||
"extranetwork",
|
||
"local"
|
||
],
|
||
"path": [
|
||
"v1",
|
||
"bookingConfirm"
|
||
]
|
||
}
|
||
},
|
||
"response": []
|
||
},
|
||
{
|
||
"name": "BookingDetail",
|
||
"request": {
|
||
"method": "GET",
|
||
"header": [
|
||
{
|
||
"key": "channelToken",
|
||
"value": "ece3ef02-42e7-92b7-f379-08226ed7a0f3",
|
||
"type": "text"
|
||
},
|
||
{
|
||
"key": "bookingEngineToken",
|
||
"value": "de432418-04a8-afa4-3b77-a07f70af2e8a",
|
||
"type": "text"
|
||
},
|
||
{
|
||
"key": "language",
|
||
"value": "tr",
|
||
"type": "text"
|
||
}
|
||
],
|
||
"url": {
|
||
"raw": "http://api.extranetwork.local/v1/bookingDetail/ENW201120-6NGD9TZY",
|
||
"protocol": "http",
|
||
"host": [
|
||
"api",
|
||
"extranetwork",
|
||
"local"
|
||
],
|
||
"path": [
|
||
"v1",
|
||
"bookingDetail",
|
||
"ENW201120-6NGD9TZY"
|
||
]
|
||
}
|
||
},
|
||
"response": []
|
||
}
|
||
]
|
||
},
|
||
{
|
||
"name": "PROMOTION",
|
||
"item": [
|
||
{
|
||
"name": "Promotion Type List",
|
||
"request": {
|
||
"method": "POST",
|
||
"header": [
|
||
{
|
||
"key": "authToken",
|
||
"type": "text",
|
||
"value": "{{user_token}}"
|
||
},
|
||
{
|
||
"key": "Content-Type",
|
||
"name": "Content-Type",
|
||
"type": "text",
|
||
"value": "application/json"
|
||
},
|
||
{
|
||
"key": "language",
|
||
"type": "text",
|
||
"value": "{{language}}"
|
||
},
|
||
{
|
||
"key": "multilingual",
|
||
"type": "text",
|
||
"value": "true"
|
||
}
|
||
],
|
||
"body": {
|
||
"mode": "raw",
|
||
"raw": "{\n \"params\": {\n \"property_id\": 1,\n \"parent_id\" : 1\n }\n}",
|
||
"options": {
|
||
"raw": {
|
||
"language": "json"
|
||
}
|
||
}
|
||
},
|
||
"url": {
|
||
"raw": "{{base_url}}/app/v1/property/promotion-type/list",
|
||
"host": [
|
||
"{{base_url}}"
|
||
],
|
||
"path": [
|
||
"app",
|
||
"v1",
|
||
"property",
|
||
"promotion-type",
|
||
"list"
|
||
]
|
||
}
|
||
},
|
||
"response": []
|
||
},
|
||
{
|
||
"name": "Promotion List",
|
||
"request": {
|
||
"method": "POST",
|
||
"header": [
|
||
{
|
||
"key": "authToken",
|
||
"type": "text",
|
||
"value": "{{user_token}}"
|
||
},
|
||
{
|
||
"key": "Content-Type",
|
||
"name": "Content-Type",
|
||
"type": "text",
|
||
"value": "application/json"
|
||
},
|
||
{
|
||
"key": "language",
|
||
"type": "text",
|
||
"value": "{{language}}"
|
||
},
|
||
{
|
||
"key": "multilingual",
|
||
"type": "text",
|
||
"value": "true"
|
||
}
|
||
],
|
||
"body": {
|
||
"mode": "raw",
|
||
"raw": "{\n \"params\": {\n \"property_id\": 1\n }\n}",
|
||
"options": {
|
||
"raw": {
|
||
"language": "json"
|
||
}
|
||
}
|
||
},
|
||
"url": {
|
||
"raw": "{{base_url}}/app/v1/property/property-promotion/list",
|
||
"host": [
|
||
"{{base_url}}"
|
||
],
|
||
"path": [
|
||
"app",
|
||
"v1",
|
||
"property",
|
||
"property-promotion",
|
||
"list"
|
||
]
|
||
}
|
||
},
|
||
"response": []
|
||
},
|
||
{
|
||
"name": "Add Property Promotion",
|
||
"request": {
|
||
"method": "POST",
|
||
"header": [
|
||
{
|
||
"key": "authToken",
|
||
"type": "text",
|
||
"value": "{{user_token}}"
|
||
},
|
||
{
|
||
"key": "Content-Type",
|
||
"name": "Content-Type",
|
||
"type": "text",
|
||
"value": "application/json"
|
||
},
|
||
{
|
||
"key": "language",
|
||
"type": "text",
|
||
"value": "{{language}}"
|
||
},
|
||
{
|
||
"key": "multilingual",
|
||
"type": "text",
|
||
"value": "true"
|
||
}
|
||
],
|
||
"body": {
|
||
"mode": "raw",
|
||
"raw": "{\n \"params\": {\n \"property_id\": 1,\n \"promotion_type_id\": 2,\n \"start_date\": \"2021-07-01\",\n \"end_date\": \"2021-07-15\",\n \"reservation_start_date\": \"2021-01-30\",\n \"reservation_end_date\": \"2021-03-30\",\n \"day_before\": 10,\n \"amount\": 10,\n \"min_stay\": 1,\n \"days\": [1,3],\n \"params\": null,\n \"detail\": null\n }\n}",
|
||
"options": {
|
||
"raw": {
|
||
"language": "json"
|
||
}
|
||
}
|
||
},
|
||
"url": {
|
||
"raw": "{{base_url}}/app/v1/property/property-promotion/create",
|
||
"host": [
|
||
"{{base_url}}"
|
||
],
|
||
"path": [
|
||
"app",
|
||
"v1",
|
||
"property",
|
||
"property-promotion",
|
||
"create"
|
||
]
|
||
}
|
||
},
|
||
"response": []
|
||
},
|
||
{
|
||
"name": "Get Room-Rate-Channel Promotion",
|
||
"request": {
|
||
"method": "POST",
|
||
"header": [
|
||
{
|
||
"key": "authToken",
|
||
"type": "text",
|
||
"value": "{{user_token}}"
|
||
},
|
||
{
|
||
"key": "Content-Type",
|
||
"name": "Content-Type",
|
||
"type": "text",
|
||
"value": "application/json"
|
||
},
|
||
{
|
||
"key": "language",
|
||
"type": "text",
|
||
"value": "{{language}}"
|
||
},
|
||
{
|
||
"key": "multilingual",
|
||
"type": "text",
|
||
"value": "true"
|
||
}
|
||
],
|
||
"body": {
|
||
"mode": "raw",
|
||
"raw": "{\n \"params\": {\n \"property_id\" : 1,\n \"channel_id\" : 1\n }\n}",
|
||
"options": {
|
||
"raw": {
|
||
"language": "json"
|
||
}
|
||
}
|
||
},
|
||
"url": {
|
||
"raw": "{{base_url}}/app/v1/property/room-rate-channel-promotion/list",
|
||
"host": [
|
||
"{{base_url}}"
|
||
],
|
||
"path": [
|
||
"app",
|
||
"v1",
|
||
"property",
|
||
"room-rate-channel-promotion",
|
||
"list"
|
||
]
|
||
}
|
||
},
|
||
"response": []
|
||
},
|
||
{
|
||
"name": "Update Promotoion",
|
||
"request": {
|
||
"method": "POST",
|
||
"header": [
|
||
{
|
||
"key": "authToken",
|
||
"type": "text",
|
||
"value": "{{user_token}}"
|
||
},
|
||
{
|
||
"key": "Content-Type",
|
||
"name": "Content-Type",
|
||
"type": "text",
|
||
"value": "application/json"
|
||
},
|
||
{
|
||
"key": "language",
|
||
"type": "text",
|
||
"value": "{{language}}"
|
||
},
|
||
{
|
||
"key": "multilingual",
|
||
"type": "text",
|
||
"value": "true"
|
||
}
|
||
],
|
||
"body": {
|
||
"mode": "raw",
|
||
"raw": "{\n \"params\": {\n \"property_id\": 1,\n \"promotion_id\": 1,\n \"start_date\": \"2021-07-01\",\n \"end_date\": \"2021-07-15\",\n \"reservation_start_date\": \"2021-01-30\",\n \"reservation_end_date\": \"2021-03-30\",\n \"day_before\": 50,\n \"amount\": 150,\n \"min_stay\": 2,\n \"days\": [1, 3, 4],\n \"params\": null,\n \"detail\": null\n }\n}",
|
||
"options": {
|
||
"raw": {
|
||
"language": "json"
|
||
}
|
||
}
|
||
},
|
||
"url": {
|
||
"raw": "{{base_url}}/app/v1/property/property-promotion/update",
|
||
"host": [
|
||
"{{base_url}}"
|
||
],
|
||
"path": [
|
||
"app",
|
||
"v1",
|
||
"property",
|
||
"property-promotion",
|
||
"update"
|
||
]
|
||
}
|
||
},
|
||
"response": []
|
||
},
|
||
{
|
||
"name": "Update Room-Rate-Channel Promotion",
|
||
"request": {
|
||
"method": "POST",
|
||
"header": [
|
||
{
|
||
"key": "authToken",
|
||
"type": "text",
|
||
"value": "{{user_token}}"
|
||
},
|
||
{
|
||
"key": "Content-Type",
|
||
"name": "Content-Type",
|
||
"type": "text",
|
||
"value": "application/json"
|
||
},
|
||
{
|
||
"key": "language",
|
||
"type": "text",
|
||
"value": "{{language}}"
|
||
},
|
||
{
|
||
"key": "multilingual",
|
||
"type": "text",
|
||
"value": "true"
|
||
}
|
||
],
|
||
"body": {
|
||
"mode": "raw",
|
||
"raw": "{\n \"params\": {\n \"property_id\": \"1\",\n \"room_rate_channel_mapping_id\": 124,\n \"property_promotion_id\": 1,\n \"is_selected\": true\n }\n}",
|
||
"options": {
|
||
"raw": {
|
||
"language": "json"
|
||
}
|
||
}
|
||
},
|
||
"url": {
|
||
"raw": "{{base_url}}/app/v1/property/room-rate-channel-promotion/update",
|
||
"host": [
|
||
"{{base_url}}"
|
||
],
|
||
"path": [
|
||
"app",
|
||
"v1",
|
||
"property",
|
||
"room-rate-channel-promotion",
|
||
"update"
|
||
]
|
||
}
|
||
},
|
||
"response": []
|
||
}
|
||
]
|
||
},
|
||
{
|
||
"name": "Product",
|
||
"item": [
|
||
{
|
||
"name": "Get Property Products",
|
||
"request": {
|
||
"method": "POST",
|
||
"header": [
|
||
{
|
||
"key": "Content-Type",
|
||
"type": "text",
|
||
"value": "application/json"
|
||
},
|
||
{
|
||
"key": "language",
|
||
"type": "text",
|
||
"value": "{{language}}"
|
||
},
|
||
{
|
||
"key": "multilingual",
|
||
"type": "text",
|
||
"value": "true"
|
||
},
|
||
{
|
||
"key": "authToken",
|
||
"type": "text",
|
||
"value": "{{user_token}}"
|
||
}
|
||
],
|
||
"body": {
|
||
"mode": "raw",
|
||
"raw": "{\n \"params\": {\n \"property_id\" : 1\n }\n}"
|
||
},
|
||
"url": {
|
||
"raw": "{{base_url}}/app/v1/property/property-products/get?XDEBUG_SESSION_START=PHPSTORM",
|
||
"host": [
|
||
"{{base_url}}"
|
||
],
|
||
"path": [
|
||
"app",
|
||
"v1",
|
||
"property",
|
||
"property-products",
|
||
"get"
|
||
],
|
||
"query": [
|
||
{
|
||
"key": "XDEBUG_SESSION_START",
|
||
"value": "PHPSTORM"
|
||
}
|
||
]
|
||
}
|
||
},
|
||
"response": []
|
||
}
|
||
]
|
||
},
|
||
{
|
||
"name": "L O G I N",
|
||
"event": [
|
||
{
|
||
"listen": "test",
|
||
"script": {
|
||
"exec": [
|
||
"var jsonData = JSON.parse(responseBody);\r",
|
||
"pm.environment.set(\"user_token\", jsonData.data.token);"
|
||
],
|
||
"type": "text/javascript"
|
||
}
|
||
}
|
||
],
|
||
"request": {
|
||
"method": "POST",
|
||
"header": [
|
||
{
|
||
"key": "Content-Type",
|
||
"name": "Content-Type",
|
||
"value": "application/json",
|
||
"type": "text"
|
||
},
|
||
{
|
||
"key": "language",
|
||
"value": "{{language}}",
|
||
"type": "text"
|
||
}
|
||
],
|
||
"body": {
|
||
"mode": "raw",
|
||
"raw": "{\n \"email\": \"test1@rezervasyon.com\",\n \"password\": \"123456\",\n \"remember_me\" : true,\n \"onesignal_key\" : \"34nl2jlH1kn2a434nl2jlH1kn2a42jlH1kn2\"\n}",
|
||
"options": {
|
||
"raw": {
|
||
"language": "json"
|
||
}
|
||
}
|
||
},
|
||
"url": {
|
||
"raw": "{{base_url}}/app/v1/auth/login",
|
||
"host": [
|
||
"{{base_url}}"
|
||
],
|
||
"path": [
|
||
"app",
|
||
"v1",
|
||
"auth",
|
||
"login"
|
||
]
|
||
},
|
||
"description": "Token"
|
||
},
|
||
"response": []
|
||
},
|
||
{
|
||
"name": "Enw Contact Form",
|
||
"event": [
|
||
{
|
||
"listen": "test",
|
||
"script": {
|
||
"exec": [
|
||
"var jsonData = JSON.parse(responseBody);\r",
|
||
"pm.environment.set(\"user_token\", jsonData.data.token);"
|
||
],
|
||
"type": "text/javascript"
|
||
}
|
||
}
|
||
],
|
||
"request": {
|
||
"method": "POST",
|
||
"header": [
|
||
{
|
||
"key": "Content-Type",
|
||
"name": "Content-Type",
|
||
"type": "text",
|
||
"value": "application/json"
|
||
},
|
||
{
|
||
"key": "language",
|
||
"type": "text",
|
||
"value": "{{language}}"
|
||
}
|
||
],
|
||
"body": {
|
||
"mode": "raw",
|
||
"raw": "{\n \"params\" : {\n \"name\": \"your name\",\n \"surname\": \"your surname\",\n \"email\" : \"test@rezervasyon.com\",\n \"subject\" : \"your subject\"\n }\n}",
|
||
"options": {
|
||
"raw": {
|
||
"language": "json"
|
||
}
|
||
}
|
||
},
|
||
"url": {
|
||
"raw": "{{base_url}}/app/v1/contact-form",
|
||
"host": [
|
||
"{{base_url}}"
|
||
],
|
||
"path": [
|
||
"app",
|
||
"v1",
|
||
"contact-form"
|
||
]
|
||
},
|
||
"description": "Token"
|
||
},
|
||
"response": []
|
||
},
|
||
{
|
||
"name": "L O G O U T",
|
||
"request": {
|
||
"method": "POST",
|
||
"header": [
|
||
{
|
||
"key": "authToken",
|
||
"type": "text",
|
||
"value": "{{user_token}}"
|
||
},
|
||
{
|
||
"key": "Content-Type",
|
||
"name": "Content-Type",
|
||
"type": "text",
|
||
"value": "application/json"
|
||
},
|
||
{
|
||
"key": "language",
|
||
"type": "text",
|
||
"value": "{{language}}"
|
||
}
|
||
],
|
||
"body": {
|
||
"mode": "raw",
|
||
"raw": "",
|
||
"options": {
|
||
"raw": {
|
||
"language": "json"
|
||
}
|
||
}
|
||
},
|
||
"url": {
|
||
"raw": "{{base_url}}/app/v1/logout",
|
||
"host": [
|
||
"{{base_url}}"
|
||
],
|
||
"path": [
|
||
"app",
|
||
"v1",
|
||
"logout"
|
||
]
|
||
}
|
||
},
|
||
"response": []
|
||
},
|
||
{
|
||
"name": "Download Zip Archive",
|
||
"request": {
|
||
"method": "POST",
|
||
"header": [
|
||
{
|
||
"key": "authToken",
|
||
"type": "text",
|
||
"value": "{{user_token}}"
|
||
},
|
||
{
|
||
"key": "Content-Type",
|
||
"name": "Content-Type",
|
||
"type": "text",
|
||
"value": "application/json"
|
||
},
|
||
{
|
||
"key": "language",
|
||
"type": "text",
|
||
"value": "{{language}}"
|
||
},
|
||
{
|
||
"key": "multilingual",
|
||
"type": "text",
|
||
"value": "true"
|
||
}
|
||
],
|
||
"body": {
|
||
"mode": "raw",
|
||
"raw": "{\n \"params\": {\n \"property_id\": 1\n }\n}",
|
||
"options": {
|
||
"raw": {
|
||
"language": "json"
|
||
}
|
||
}
|
||
},
|
||
"url": {
|
||
"raw": "{{base_url}}/app/v1/property/download-property-photos",
|
||
"host": [
|
||
"{{base_url}}"
|
||
],
|
||
"path": [
|
||
"app",
|
||
"v1",
|
||
"property",
|
||
"download-property-photos"
|
||
]
|
||
}
|
||
},
|
||
"response": []
|
||
}
|
||
],
|
||
"event": [
|
||
{
|
||
"listen": "prerequest",
|
||
"script": {
|
||
"type": "text/javascript",
|
||
"exec": [
|
||
""
|
||
]
|
||
}
|
||
},
|
||
{
|
||
"listen": "test",
|
||
"script": {
|
||
"type": "text/javascript",
|
||
"exec": [
|
||
""
|
||
]
|
||
}
|
||
}
|
||
],
|
||
"variable": [
|
||
{
|
||
"key": "base_url",
|
||
"value": "http://api.extranetwork.local"
|
||
}
|
||
]
|
||
}
|