curl --request POST \
--url https://apix.spotzee.com/api/ext/generic/data/generate/airline \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/x-www-form-urlencoded' \
--data count=10 \
--data locale=en \
--data seed=12345 \
--data method=profile \
--data allowNumerics=false \
--data allowVisuallySimilarCharacters=false \
--data aircraftType=widebody \
--data addLeadingZeros=false \
--data length=3 \
--data lengthMin=2 \
--data lengthMax=4{
"status": "success",
"data": {
"airlines": [
{
"method": "profile",
"value": "KIFRWE",
"airline": {
"name": "American Airlines",
"iataCode": "AA"
},
"airplane": {
"name": "Airbus A321neo",
"iataTypeCode": "32Q"
},
"airport": {
"name": "Dallas Fort Worth International Airport",
"iataCode": "DFW"
},
"aircraftType": "widebody",
"flightNumber": "0425",
"flightCode": "AA0425",
"recordLocator": "KIFRWE",
"seat": "42K",
"allowNumerics": true,
"addLeadingZeros": true,
"length": 3
}
],
"generated": 1,
"locale": "en",
"seed": 12345,
"method": "profile"
},
"performance": {
"generationTime": 2,
"itemsGenerated": 1,
"locale": "en"
}
}Generates synthetic airline, airport, airplane, flight-number, booking-reference, aircraft-type, and seat fixtures for testing travel workflows, reservation systems, import fixtures, and sample datasets. Supported methods: profile, aircraftType, airline, airplane, airport, flightNumber, recordLocator, and seat. Flight-number length is capped at 1-4 digits and count remains capped at 100 items.
curl --request POST \
--url https://apix.spotzee.com/api/ext/generic/data/generate/airline \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/x-www-form-urlencoded' \
--data count=10 \
--data locale=en \
--data seed=12345 \
--data method=profile \
--data allowNumerics=false \
--data allowVisuallySimilarCharacters=false \
--data aircraftType=widebody \
--data addLeadingZeros=false \
--data length=3 \
--data lengthMin=2 \
--data lengthMax=4{
"status": "success",
"data": {
"airlines": [
{
"method": "profile",
"value": "KIFRWE",
"airline": {
"name": "American Airlines",
"iataCode": "AA"
},
"airplane": {
"name": "Airbus A321neo",
"iataTypeCode": "32Q"
},
"airport": {
"name": "Dallas Fort Worth International Airport",
"iataCode": "DFW"
},
"aircraftType": "widebody",
"flightNumber": "0425",
"flightCode": "AA0425",
"recordLocator": "KIFRWE",
"seat": "42K",
"allowNumerics": true,
"addLeadingZeros": true,
"length": 3
}
],
"generated": 1,
"locale": "en",
"seed": 12345,
"method": "profile"
},
"performance": {
"generationTime": 2,
"itemsGenerated": 1,
"locale": "en"
}
}Documentation Index
Fetch the complete documentation index at: https://docs.spotzee.com/llms.txt
Use this file to discover all available pages before exploring further.
Bearer token authentication. Use format: Bearer YOUR_API_KEY
Number of airline records to generate (1-100). Passed as string but must be numeric.
^[1-9]\d?$|^100$"10"
Locale for generated data (e.g., en, es, fr, de, pt_BR, zh_CN)
"en"
Seed for deterministic generation. Same seed produces same results.
"12345"
Airline generation method. Defaults to profile.
profile, aircraftType, airline, airplane, airport, flightNumber, recordLocator, seat "profile"
Allow numeric characters in generated record locators.
true, false "false"
Allow visually similar characters in generated record locators.
true, false "false"
Aircraft type for seat output.
narrowbody, regional, widebody "widebody"
Pad generated flight numbers up to four digits.
true, false "false"
Exact flight-number digit count. Range: 1-4.
^[1-9]\d*$"3"
Minimum flight-number digit count. Range: 1-4.
^[1-9]\d*$"2"
Maximum flight-number digit count. Range: 1-4.
^[1-9]\d*$"4"
Successfully generated airline data
success Hide child attributes
Hide child attributes
Resolved airline generation method.
profile, aircraftType, airline, airplane, airport, flightNumber, recordLocator, seat "profile"
Primary generated airline fixture value.
"KIFRWE"
Generated or resolved aircraft type.
narrowbody, regional, widebody "widebody"
Generated 1-4 digit flight number.
"0425"
Generated airline-code plus flight-number fixture.
"AA0425"
Generated booking reference or reservation code.
"KIFRWE"
Generated aircraft seat.
"42K"
Resolved record-locator numeric-character option.
true
Resolved record-locator visually-similar-character option.
false
Resolved flight-number leading-zero option.
true
Resolved exact flight-number digit count.
3
Resolved minimum flight-number digit count.
2
Resolved maximum flight-number digit count.
4
profile, aircraftType, airline, airplane, airport, flightNumber, recordLocator, seat Was this page helpful?