GET The Identifications of the Packages
This endpoint returns all available packages, including the ones that are in test mode. It returns the name in the language specified, the id of the package and if it is in test mode or not.
[ENDPOINT]/ToursysB2C/api/customQuotation/packageAvailability/
Headers
X-API-KEY (require d, String) generatedToken
module (required, Integer) Specifies the module. For B2C will always be 1
lang (optional, String) Language for the API to return the information.
Example Request
curl --location -g --request GET '{{endpoint}}/ToursysB2C/api/customQuotation/identificationsOfThePackages/ \
--header 'x-api-key: {{x-api-key}}'\
--header 'module: 1'\
--header 'lang: {{language}}'
--data '[
{
"packageId": 1,
"packageName": "name of package 1",
"testMode": false
},
{
"packageId": 2,
"packageName": "name of package 3",
"testMode": false
},
{
"packageId": 3,
"packageName": "name of package 3",
"testMode": true
},
{...}
['