XUND API Documentation

POST /v1/specializations/convertLocalSpecializations

This endpoint can be used to convert one country’s specialization ids to another country’s.

Request

Request body parameters

Parameter name

Parameter type

Parameter description

sourceCountryCode

CountryCode?

The source and the target country code

targetCountryCode

sourceLocation

Location?

The source and target latitude-longitude pairs

targetLocation

localSpecializationIds

string[]

The array of Specialization ids to convert

Exactly one pair of sourceCountryCode and targetCountryCode or sourceLocation and targetLocation parameters is mandatory.

Response

Response Body data structure

Property name

Property type

Property description

localSpecializationIds

string[]

The sent specialization ids converted to the target location’s specialization ids.

Example response

Example response
JSON
{
    "localSpecializationIds": [
        "1695"
    ]
}