Skip to content

loadCountries_1

POST
/batch/subcountries/load
curl --request POST \
--url 'https://api.wink.travel/batch/subcountries/load?live=false' \
--header 'Content-Type: application/json' \
--header 'Wink-Version: 2.0' \
--data '{ "key": "example", "environment": "example" }'
live
boolean
Wink-Version
string
default: 2.0.0
Allowed values: 2.0
Media type application/json
object
key
required
string
>= 1 characters
environment
required
string
>= 1 characters
Example generated
{
"key": "example",
"environment": "example"
}

OK

Media type application/json
object
success

Whether call to endpoint was successful or not.

boolean
message

A message indicating more textual information. Mostly used to convey an error message.

string
""
Example
{
"success": false,
"message": ""
}

Bad Request

object
type
string format: uri
title
string
status
integer format: int32
detail
string
instance
string format: uri
properties
object
key
additional properties
Example generated
{
"type": "https://example.com",
"title": "example",
"status": 1,
"detail": "example",
"instance": "https://example.com",
"properties": {
"additionalProperty": "example"
}
}

Unauthorized

Media type */*
object
type
string format: uri
title
string
status
integer format: int32
detail
string
instance
string format: uri
properties
object
key
additional properties

Forbidden

Media type */*
object
type
string format: uri
title
string
status
integer format: int32
detail
string
instance
string format: uri
properties
object
key
additional properties

Internal Server Error

object
Example generated
{}