From 814ec806c22e2782390af5a4a05cb6281aabd5e1 Mon Sep 17 00:00:00 2001 From: Zhineng Li Date: Sun, 12 Jul 2026 16:56:35 +0800 Subject: update APIs 20260712 --- data/btripopen/2022-05-20/api-docs.php | 207 +++++++++++++++++++++++++++++++++ 1 file changed, 207 insertions(+) create mode 100644 data/btripopen/2022-05-20/api-docs.php (limited to 'data/btripopen/2022-05-20/api-docs.php') diff --git a/data/btripopen/2022-05-20/api-docs.php b/data/btripopen/2022-05-20/api-docs.php new file mode 100644 index 0000000..2c41b14 --- /dev/null +++ b/data/btripopen/2022-05-20/api-docs.php @@ -0,0 +1,207 @@ + '1.0', + 'info' => ['style' => 'ROA', 'product' => 'btripOpen', 'version' => '2022-05-20'], + 'components' => [ + 'schemas' => [], + ], + 'apis' => [ + 'BatchSubmitPreBill' => [ + 'path' => '/prebill/v1/batchSubmit', + 'methods' => ['put'], + 'schemes' => ['https'], + 'security' => [ + [ + 'soCorpToken' => [], + ], + ], + 'deprecated' => false, + 'parameters' => [ + [ + 'name' => 'x-acs-btrip-so-corp-token', + 'in' => 'header', + 'schema' => ['type' => 'string', 'required' => false], + ], + [ + 'name' => 'bill_batch', + 'in' => 'query', + 'schema' => ['type' => 'string', 'required' => true], + ], + [ + 'name' => 'dimension', + 'in' => 'query', + 'schema' => ['type' => 'integer', 'format' => 'int32', 'required' => true], + ], + [ + 'name' => 'values', + 'in' => 'query', + 'style' => 'json', + 'schema' => [ + 'type' => 'array', + 'required' => true, + 'items' => ['type' => 'string', 'required' => false], + ], + ], + [ + 'name' => 'customer_decision', + 'in' => 'query', + 'schema' => ['type' => 'integer', 'format' => 'int32', 'required' => false], + ], + [ + 'name' => 'app_ip', + 'in' => 'query', + 'schema' => ['type' => 'string', 'required' => false], + ], + ], + ], + 'CarApplyAdd' => [ + 'path' => '/apply/v1/car', + 'methods' => ['post'], + 'schemes' => ['https'], + 'security' => [ + [ + 'soCorpToken' => [], + ], + ], + 'deprecated' => false, + 'parameters' => [ + [ + 'name' => 'third_part_apply_id', + 'in' => 'formData', + 'schema' => ['type' => 'string', 'required' => true], + ], + [ + 'name' => 'title', + 'in' => 'formData', + 'schema' => ['type' => 'string', 'required' => true], + ], + [ + 'name' => 'cause', + 'in' => 'formData', + 'schema' => ['type' => 'string', 'required' => true], + ], + [ + 'name' => 'times_type', + 'in' => 'formData', + 'schema' => ['type' => 'integer', 'format' => 'int32', 'required' => true], + ], + [ + 'name' => 'times_total', + 'in' => 'formData', + 'schema' => ['type' => 'integer', 'format' => 'int32', 'required' => true], + ], + [ + 'name' => 'times_used', + 'in' => 'formData', + 'schema' => ['type' => 'integer', 'format' => 'int32', 'required' => true], + ], + [ + 'name' => 'status', + 'in' => 'formData', + 'schema' => ['type' => 'integer', 'format' => 'int32', 'required' => true], + ], + [ + 'name' => 'city', + 'in' => 'formData', + 'schema' => ['type' => 'string', 'required' => true], + ], + [ + 'name' => 'city_code_set', + 'in' => 'formData', + 'schema' => ['type' => 'string', 'required' => false], + ], + [ + 'name' => 'traveler_standard', + 'in' => 'formData', + 'style' => 'json', + 'schema' => [ + 'type' => 'array', + 'required' => false, + 'items' => [ + 'type' => 'object', + 'required' => false, + 'properties' => [ + 'car_city_set' => [ + 'type' => 'array', + 'required' => false, + 'items' => [ + 'type' => 'object', + 'required' => false, + 'properties' => [ + 'city_code' => ['type' => 'string', 'required' => true], + 'city_name' => ['type' => 'string', 'required' => true], + ], + ], + ], + 'user_id' => ['type' => 'string', 'required' => true], + ], + ], + ], + ], + [ + 'name' => 'date', + 'in' => 'formData', + 'schema' => ['type' => 'string', 'required' => true, 'pattern' => '^\\d{4}(-\\d{2}){2}\\s+\\d{2}(:\\d{2}){2}$'], + ], + [ + 'name' => 'finished_date', + 'in' => 'formData', + 'schema' => ['type' => 'string', 'required' => false, 'pattern' => '^\\d{4}(-\\d{2}){2}\\s+\\d{2}(:\\d{2}){2}$'], + ], + [ + 'name' => 'third_part_invoice_id', + 'in' => 'formData', + 'schema' => ['type' => 'string', 'required' => false], + ], + [ + 'name' => 'third_part_cost_center_id', + 'in' => 'formData', + 'schema' => ['type' => 'string', 'required' => false], + ], + [ + 'name' => 'project_code', + 'in' => 'formData', + 'schema' => ['type' => 'string', 'required' => false], + ], + [ + 'name' => 'project_name', + 'in' => 'formData', + 'schema' => ['type' => 'string', 'required' => false], + ], + [ + 'name' => 'user_id', + 'in' => 'formData', + 'schema' => ['type' => 'string', 'required' => true], + ], + [ + 'name' => 'x-acs-btrip-so-corp-token', + 'in' => 'header', + 'schema' => ['type' => 'string', 'required' => false], + ], + ], + ], + 'ConfirmPreBill' => [ + 'path' => '/prebill/v1/confirm', + 'methods' => ['put'], + 'schemes' => ['https'], + 'security' => [ + [ + 'soCorpToken' => [], + ], + ], + 'deprecated' => false, + 'parameters' => [ + [ + 'name' => 'x-acs-btrip-so-corp-token', + 'in' => 'header', + 'schema' => ['type' => 'string', 'required' => false], + ], + [ + 'name' => 'bill_batch', + 'in' => 'query', + 'schema' => ['type' => 'string', 'required' => true], + ], + ], + ], + ], + 'endpoints' => [], +]; -- cgit v1.2.3