Dida Flight API Documentation. | Code | Description |
|---|---|
| 0 | success |
| 1001 | route has been closed |
| 1002 | channel has been closed |
| 1003 | search date over 1 year |
| 1004 | return date is less than from date |
| 1005 | request ip is not in the whitelist |
| 1006 | from date has been excluded |
| 1007 | channel is in the closed time |
| 1008 | opening time is not configured |
| 1009 | opening time is not configured today |
| 1010 | search od is not in whitelist routes |
| 1011 | no route |
| 1012 | resource opening time is not configured |
| 1013 | channel is not configured |
| 1014 | currency is not supported |
| 1015 | l2b is exceed |
| 1016 | please use IATA city code |
| 1017 | search od is in blacklist route |
| 1018 | cabinGrade not supported |
| 1019 | search od is not in whitelist route |
| 1900 | argument not valid |
| 1911 | bad request |
| 1999 | search exception |
| Code | Description |
|---|---|
| 0 | success |
| 2000 | parameter error |
| 2001 | request data error |
| 2002 | search route has expired |
| 2003 | request payload unauthorized |
| 2004 | request payload is empty |
| 2005 | cid is empty |
| 2006 | verify error |
| 2007 | verify call error |
| 2008 | price process error |
| 2009 | price change error |
| 2010 | airline not found error |
| 2012 | segment cabin diff |
| 2013 | filter by whitelist |
| 2014 | filter by route |
| 2017 | segment cabin lower case |
| 2018 | cid not allow book |
| 2019 | baggage format error |
| 2020 | validate without price |
| 2022 | exceed allowed children per adult |
| 2999 | verify exception |
| Code | Description |
|---|---|
| 0 | success |
| 3000 | request data error |
| 3001 | request payload is empty |
| 3002 | cid is empty |
| 3003 | request payload unauthorized |
| 3004 | verify not found |
| 3005 | book error (see sub codes below) |
| 3006 | book without price |
| 3007 | price process error |
| 3008 | card expiration less than 6 months |
| 3009 | price change error |
| 3010 | book with ancillary error |
| 3011 | passenger information error |
| 3012 | airline not found |
| 3013 | invalid dob |
| 3014 | flight date and time mismatched |
| 3015 | passenger name length exceeds limit |
| 3016 | repeat passenger error |
| 3017 | passenger information does not comply with airline rules |
| 3018 | segment cabin diff |
| 3019 | filter by whitelist |
| 3020 | filter by route |
| 3021 | filter by same route and passenger |
| 3022 | filter by same failed booking |
| 3023 | filter by different ancillary |
| 3028 | book with seat error |
| 3029 | seat price change |
| 3031 | filter by same route and passenger real book |
| 3032 | filter by ancillary and non economy |
| 3033 | filter by repeat pnr |
| 3034 | segment cabin lower case |
| 3035 | repeat pnr order already ticketed |
| 3036 | filter by pnr empty |
| 3037 | exceed allowed children per adult |
| 3038 | filter by different ancillary validate |
| 3039 | filter by repeat unpaid book |
| 3999 | book exception |
| Sub Code | Description |
|---|---|
| 300500 | flight no availability |
| 300501 | price verification failed |
| 300502 | flight information not match |
| 300503 | duplicate booking |
| 300504 | create reservation error |
| 300505 | connecting timeout error |
| 300599 | book error |
| Code | Description |
|---|---|
| 0 | success |
| 4000 | request data error |
| 4001 | request payload is empty |
| 4002 | cid is empty |
| 4003 | request payload unauthorized |
| 4004 | request no orderNo |
| 4005 | order not found |
| 4006 | order no pnr information |
| 4007 | payVerify call error |
| 4008 | currency mismatched error |
| 4009 | insufficient credit balance |
| 4010 | credit balance check error |
| 4011 | payVerify exceed time limit |
| 4014 | filter by same failed pay verify |
| 4999 | payVerify exception |