Add booking requests
This commit is contained in:
parent
c1b34eb2c1
commit
3cf51b35de
3 changed files with 75 additions and 2 deletions
25
README.md
25
README.md
|
|
@ -199,6 +199,31 @@ curl 'https://www.nightjet.com/nj-booking-ocp/offer/get' \
|
|||
--data-raw '{"njFrom":8011160,"njDep":1760461680000,"njTo":8700011,"maxChanges":0,"connections":1,"filter":{"njTrain":"NJ 40424","njDeparture":1760461680000},"objects":[{"type":"person","birthDate":"1995-08-11","cards":[]}],"relations":[],"lang":"en"}'
|
||||
```
|
||||
|
||||
request data
|
||||
|
||||
```json
|
||||
{
|
||||
"njFrom": 8011160,
|
||||
"njDep": 1760461680000,
|
||||
"njTo": 8700011,
|
||||
"maxChanges": 0,
|
||||
"connections": 1,
|
||||
"filter": {
|
||||
"njTrain": "NJ 40424",
|
||||
"njDeparture": 1760461680000
|
||||
},
|
||||
"objects": [
|
||||
{
|
||||
"type": "person",
|
||||
"birthDate": "1995-08-11",
|
||||
"cards": []
|
||||
}
|
||||
],
|
||||
"relations": [],
|
||||
"lang": "en"
|
||||
}
|
||||
```
|
||||
|
||||
### booking response
|
||||
|
||||
```json
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue