Weave Code
Weaver
Helps Laravel developers discover, compare, and choose open-source packages. See popularity, security, maintainers, and scores at a glance to make better decisions.
Feedback
Share your thoughts, report bugs, or suggest improvements.
Subject
Message

Shipping Sdk Php Laravel Package

dinas/shipping-sdk-php

View on GitHub
Deep Wiki
Context7

Dinas\ShippingSdk\CarDocumentsApi

All URIs are relative to https://shipping.dinas.jp.

Method HTTP request Description
storeCarDocumentFiles() POST /api/cars/docs/file Store car document files
storeCarDocumentUrls() POST /api/cars/docs/url Store car document URLs

storeCarDocumentFiles()

storeCarDocumentFiles($items): \Dinas\ShippingSdk\Model\ActionResponse

Store car document files

Upload documents with validation dates for multiple cars

Example

<?php
require_once(__DIR__ . '/vendor/autoload.php');


// Configure Bearer (Token) authorization: bearerAuth
$config = Dinas\ShippingSdk\Configuration::getDefaultConfiguration()->setAccessToken('YOUR_ACCESS_TOKEN');


$apiInstance = new Dinas\ShippingSdk\Api\CarDocumentsApi(
    // If you want use custom http client, pass your client which implements `Psr\Http\Client\ClientInterface`.
    // This is optional, `Psr18ClientDiscovery` will be used to find http client. For instance `GuzzleHttp\Client` implements that interface
    new GuzzleHttp\Client(),
    $config
);
$items = array(new \Dinas\ShippingSdk\Model\\Dinas\ShippingSdk\Model\DocumentFile()); // \Dinas\ShippingSdk\Model\DocumentFile[]

try {
    $result = $apiInstance->storeCarDocumentFiles($items);
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling CarDocumentsApi->storeCarDocumentFiles: ', $e->getMessage(), PHP_EOL;
}

Parameters

Name Type Description Notes
items \Dinas\ShippingSdk\Model\DocumentFile[]

Return type

\Dinas\ShippingSdk\Model\ActionResponse

Authorization

bearerAuth

HTTP request headers

  • Content-Type: multipart/form-data
  • Accept: application/json

[Back to top] [Back to API list] [Back to Model list] [Back to README]

storeCarDocumentUrls()

storeCarDocumentUrls($document_url): \Dinas\ShippingSdk\Model\ActionResponse

Store car document URLs

Upload documents with validation dates for multiple cars

Example

<?php
require_once(__DIR__ . '/vendor/autoload.php');


// Configure Bearer (Token) authorization: bearerAuth
$config = Dinas\ShippingSdk\Configuration::getDefaultConfiguration()->setAccessToken('YOUR_ACCESS_TOKEN');


$apiInstance = new Dinas\ShippingSdk\Api\CarDocumentsApi(
    // If you want use custom http client, pass your client which implements `Psr\Http\Client\ClientInterface`.
    // This is optional, `Psr18ClientDiscovery` will be used to find http client. For instance `GuzzleHttp\Client` implements that interface
    new GuzzleHttp\Client(),
    $config
);
$document_url = array(new \Dinas\ShippingSdk\Model\DocumentUrl()); // \Dinas\ShippingSdk\Model\DocumentUrl[]

try {
    $result = $apiInstance->storeCarDocumentUrls($document_url);
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling CarDocumentsApi->storeCarDocumentUrls: ', $e->getMessage(), PHP_EOL;
}

Parameters

Name Type Description Notes
document_url \Dinas\ShippingSdk\Model\DocumentUrl[]

Return type

\Dinas\ShippingSdk\Model\ActionResponse

Authorization

bearerAuth

HTTP request headers

  • Content-Type: application/json
  • Accept: application/json

[Back to top] [Back to API list] [Back to Model list] [Back to README]

Weaver

How can I help you explore Laravel packages today?

Conversation history is not saved when not logged in.
Prompt
Add packages to context
No packages found.
oxygen/data
oxygen/core
jengo/base
xiloryx/log-collector
a21ns1g4ts/filament-stripe
la-php/laravel-admin
artisan-build/community-prompts
vleroy/smart
ayles-software/laravel-australian-public-holidays
cboxdk/laravel-id-spatie
cboxdk/laravel-id-billing
cboxdk/laravel-id-billing-bridge
simple-as-fuck/php-performance-log
hsluv/hsluv
seampact/codegen
seampact/hooks
seampact/ir
mehedimi/laravel-amp-mail
happones/laravel-vue-i18n-generator
jwerd/inertia-table