Business Organisation Export API Guide [DEPRECATED]
Export Full Business Organisation Versions Csv, Zip and Json gz file to Amazon S3 Bucket
POST /v1/business-organisations/export/full
Example request
$ curl 'http://localhost:8080/v1/business-organisations/export/full' -i -X POST
Example response
HTTP/1.1 200 OK
Content-Type: application/json
Content-Length: 14
[ null, null ]
Export Actual Business Organisation Versions Csv, Zip and Json gz file to Amazon S3 Bucket
POST /v1/business-organisations/export/actual
Example request
$ curl 'http://localhost:8080/v1/business-organisations/export/actual' -i -X POST
Example response
HTTP/1.1 200 OK
Content-Type: application/json
Content-Length: 14
[ null, null ]
Export Timetable Year change Business Organisation Versions Csv, Zip and Json gz file to Amazon S3 Bucket
POST /v1/business-organisations/export/timetable-year-change
Example request
$ curl 'http://localhost:8080/v1/business-organisations/export/timetable-year-change' -i -X POST
Example response
HTTP/1.1 200 OK
Content-Type: application/json
Content-Length: 14
[ null, null ]
Atlas Amazon S3 Bucket Users onboarding
Atlas Amazon S3 Client
In order to access the Atlas S3 Bucket it is necessary to request the credentials from TechSupport-ATLAS@sbb.ch
Once you have the credentials you can access the bucket via:
For users without developer knowledge:
-
S3 Browser for Windows:
-
S3 Browser for Mac:
-
Web Browser:
For developers:
For more information please contact us: TechSupport-ATLAS@sbb.ch
Stream Business Organisation Json - Successfully
GET /v1/business-organisations/export/download-json/FUTURE_TIMETABLE
Path Variables
Path Variable | Type | Optional | Description |
---|---|---|---|
exportType |
String |
false |
Must be one of ["FULL","ACTUAL_DATE","FUTURE_TIMETABLE"] |
Example request
$ curl 'http://localhost:8080/v1/business-organisations/export/download-json/FUTURE_TIMETABLE' -i -X GET
Example response
HTTP/1.1 200 OK
Content-Type: application/json
Content-Length: 1531
[ {
"creationDate" : "2023-06-21T16:49:20.367888",
"creator" : "e552064",
"editionDate" : "2023-06-21T16:49:20.367888",
"editor" : "e552064",
"id" : 1000,
"sboid" : "ch:1:sboid:1100000",
"said" : "1100000",
"descriptionDe" : "BLS/SBB Thun - Brig/-Interlaken",
"descriptionFr" : "BLS/SBB Thun - Brig/-Interlaken",
"descriptionIt" : "BLS/SBB Thun - Brig/-Interlaken",
"descriptionEn" : "BLS/SBB Thun - Brig/-Interlaken",
"abbreviationDe" : "BLS/SBB",
"abbreviationFr" : "BLS/SBB",
"abbreviationIt" : "BLS/SBB",
"abbreviationEn" : "BLS/SBB",
"organisationNumber" : 500,
"contactEnterpriseEmail" : null,
"status" : "VALIDATED",
"businessTypes" : [ "RAILROAD" ],
"validFrom" : "1900-01-01",
"validTo" : "9999-12-31",
"etagVersion" : 0
}, {
"creationDate" : "2023-07-06T18:42:30.312078",
"creator" : "e552064",
"editionDate" : "2023-07-06T18:42:30.312078",
"editor" : "e552064",
"id" : 1001,
"sboid" : "ch:1:sboid:1100001",
"said" : "1100001",
"descriptionDe" : "Regionalverkehr Bern-Solothurn",
"descriptionFr" : "Regionalverkehr Bern-Solothurn",
"descriptionIt" : "Regionalverkehr Bern-Solothurn",
"descriptionEn" : "Regionalverkehr Bern-Solothurn",
"abbreviationDe" : "RBS",
"abbreviationFr" : "RBS",
"abbreviationIt" : "RBS",
"abbreviationEn" : "RBS",
"organisationNumber" : 88,
"contactEnterpriseEmail" : null,
"status" : "VALIDATED",
"businessTypes" : [ "RAILROAD" ],
"validFrom" : "2008-01-01",
"validTo" : "2088-01-01",
"etagVersion" : 0
} ]