Skip to content

Latest commit

 

History

History
1296 lines (913 loc) · 52.9 KB

ExpeditorProposalItemApi.md

File metadata and controls

1296 lines (913 loc) · 52.9 KB

MagDv\Cargomart\ExpeditorProposalItemApi

All URIs are relative to https://cargomart.ru.

Method HTTP request Description
apiV2ExpeditorEcnGet() GET /api/v2/expeditor-ecn Получение списка ЭТрН
apiV2ExpeditorEcnIdGet() GET /api/v2/expeditor-ecn/{id} Получение ЭТрН по ID
apiV2ExpeditorEcnIdHistoryGet() GET /api/v2/expeditor-ecn/{id}/history История ЭТрН
apiV2ExpeditorEcnIdSignPost() POST /api/v2/expeditor-ecn/{id}/sign Подписать ЭТрН
apiV2ExpeditorProposalIdBidGet() GET /api/v2/expeditor-proposal/{id}/bid Список ставок от перевозчиков.
apiV2ExpeditorProposalIdDenyBankingDetailsPost() POST /api/v2/expeditor-proposal/{id}/deny-banking-details Пометить банковские реквизиты ошибочными.
apiV2ExpeditorProposalIdEcnGet() GET /api/v2/expeditor-proposal/{id}/ecn Получение списка ЭТрН у заказа
apiV2ExpeditorProposalIdEcnPost() POST /api/v2/expeditor-proposal/{id}/ecn Создание ЭТрН для заказа.
apiV2ExpeditorProposalIdExpeditorOfferGet() GET /api/v2/expeditor-proposal/{id}/expeditor-offer Список предложений от перевозчиков для экспедитора.
apiV2ExpeditorProposalIdGet() GET /api/v2/expeditor-proposal/{id} Получение информации для карточки заказа Экспедитора.
apiV2ExpeditorProposalIdPatchPost() POST /api/v2/expeditor-proposal/{id}/patch Создание запроса на изменение заказа экспедитором.
apiV2ExpeditorProposalIdPinGet() GET /api/v2/expeditor-proposal/{id}/pin Список пользователей, пометивших флагом заказ перевозчика.
apiV2ExpeditorProposalIdRoadmapGet() GET /api/v2/expeditor-proposal/{id}/roadmap Получение роадмап
apiV2ExpeditorProposalIdRoutePathGet() GET /api/v2/expeditor-proposal/{id}/route-path Получение данных по точкам маршрута.
apiV2ExpeditorProposalIdSignedDocumentGet() GET /api/v2/expeditor-proposal/{id}/signed-document Получение списка документов заявки со списком титулов
apiV2ExpeditorProposalIdSimpleDocumentsGet() GET /api/v2/expeditor-proposal/{id}/simple-documents Получение списка документов заявки со списком титулов
apiV2ExpeditorProposalIdVisitorGet() GET /api/v2/expeditor-proposal/{id}/visitor Список пользователей, просмотревших заказ перевозчика.
getProposalActNonDeliveryCar() GET /api/v2/expeditor-proposal/{uuid}/digital-act-non-delivery-car Получить данные электронного акта о неподаче машины на погрузку
updateExpeditorProposalCarrierTrackingNumber() POST /api/v2/expeditor-proposal/{id}/original-docs-tracking-number Редактирование трек-номера перевозчика

apiV2ExpeditorEcnGet()

apiV2ExpeditorEcnGet($filter_index_from, $filter_index_to, $filter_type, $filter_status_group, $filter_status, $page, $per_page): \MagDv\Cargomart\Dto\OrderEcnListResponse

Получение списка ЭТрН

Example

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


// Configure API key authorization: CookieTokenAuth
$config = MagDv\Cargomart\Configuration::getDefaultConfiguration()->setApiKey('token', 'YOUR_API_KEY');
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
// $config = MagDv\Cargomart\Configuration::getDefaultConfiguration()->setApiKeyPrefix('token', 'Bearer');

// Configure API key authorization: HeaderAuthorizationAuth
$config = MagDv\Cargomart\Configuration::getDefaultConfiguration()->setApiKey('Authorization', 'YOUR_API_KEY');
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
// $config = MagDv\Cargomart\Configuration::getDefaultConfiguration()->setApiKeyPrefix('Authorization', 'Bearer');


$apiInstance = new MagDv\Cargomart\Api\ExpeditorProposalItemApi(
    // 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
);
$filter_index_from = 56; // int | Индекс пункта откуда.
$filter_index_to = 56; // int | Индекс пункта куда.
$filter_type = new \MagDv\Cargomart\Dto\\MagDv\Cargomart\Dto\EcnType(); // \MagDv\Cargomart\Dto\EcnType | Тип ТРН.
$filter_status_group = new \MagDv\Cargomart\Dto\\MagDv\Cargomart\Dto\EcnStatusGroup(); // \MagDv\Cargomart\Dto\EcnStatusGroup | Обобщенный статус ТРН.
$filter_status = new \MagDv\Cargomart\Dto\\MagDv\Cargomart\Dto\EcnStatus(); // \MagDv\Cargomart\Dto\EcnStatus | Статус ТРН.
$page = 1; // int | Номер страницы для постраничной навигации
$per_page = 20; // int | Количество элементов на страницу

try {
    $result = $apiInstance->apiV2ExpeditorEcnGet($filter_index_from, $filter_index_to, $filter_type, $filter_status_group, $filter_status, $page, $per_page);
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling ExpeditorProposalItemApi->apiV2ExpeditorEcnGet: ', $e->getMessage(), PHP_EOL;
}

Parameters

Name Type Description Notes
filter_index_from int Индекс пункта откуда. [optional]
filter_index_to int Индекс пункта куда. [optional]
filter_type \MagDv\Cargomart\Dto\EcnType Тип ТРН. [optional]
filter_status_group \MagDv\Cargomart\Dto\EcnStatusGroup Обобщенный статус ТРН. [optional]
filter_status \MagDv\Cargomart\Dto\EcnStatus Статус ТРН. [optional]
page int Номер страницы для постраничной навигации [optional] [default to 1]
per_page int Количество элементов на страницу [optional] [default to 20]

Return type

\MagDv\Cargomart\Dto\OrderEcnListResponse

Authorization

CookieTokenAuth, HeaderAuthorizationAuth

HTTP request headers

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

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

apiV2ExpeditorEcnIdGet()

apiV2ExpeditorEcnIdGet($id): \MagDv\Cargomart\Dto\OrderEcnResponse

Получение ЭТрН по ID

Example

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


// Configure API key authorization: CookieTokenAuth
$config = MagDv\Cargomart\Configuration::getDefaultConfiguration()->setApiKey('token', 'YOUR_API_KEY');
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
// $config = MagDv\Cargomart\Configuration::getDefaultConfiguration()->setApiKeyPrefix('token', 'Bearer');

// Configure API key authorization: HeaderAuthorizationAuth
$config = MagDv\Cargomart\Configuration::getDefaultConfiguration()->setApiKey('Authorization', 'YOUR_API_KEY');
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
// $config = MagDv\Cargomart\Configuration::getDefaultConfiguration()->setApiKeyPrefix('Authorization', 'Bearer');


$apiInstance = new MagDv\Cargomart\Api\ExpeditorProposalItemApi(
    // 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
);
$id = 'id_example'; // string | Идентификатор ЭТРН.

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

Parameters

Name Type Description Notes
id string Идентификатор ЭТРН.

Return type

\MagDv\Cargomart\Dto\OrderEcnResponse

Authorization

CookieTokenAuth, HeaderAuthorizationAuth

HTTP request headers

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

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

apiV2ExpeditorEcnIdHistoryGet()

apiV2ExpeditorEcnIdHistoryGet($id): \MagDv\Cargomart\Dto\OrderEcnHistoryResponse

История ЭТрН

Example

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


// Configure API key authorization: CookieTokenAuth
$config = MagDv\Cargomart\Configuration::getDefaultConfiguration()->setApiKey('token', 'YOUR_API_KEY');
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
// $config = MagDv\Cargomart\Configuration::getDefaultConfiguration()->setApiKeyPrefix('token', 'Bearer');

// Configure API key authorization: HeaderAuthorizationAuth
$config = MagDv\Cargomart\Configuration::getDefaultConfiguration()->setApiKey('Authorization', 'YOUR_API_KEY');
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
// $config = MagDv\Cargomart\Configuration::getDefaultConfiguration()->setApiKeyPrefix('Authorization', 'Bearer');


$apiInstance = new MagDv\Cargomart\Api\ExpeditorProposalItemApi(
    // 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
);
$id = 'id_example'; // string | Идентификатор Этрн.

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

Parameters

Name Type Description Notes
id string Идентификатор Этрн.

Return type

\MagDv\Cargomart\Dto\OrderEcnHistoryResponse

Authorization

CookieTokenAuth, HeaderAuthorizationAuth

HTTP request headers

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

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

apiV2ExpeditorEcnIdSignPost()

apiV2ExpeditorEcnIdSignPost($id, $expeditor_ecn_sign_request): \MagDv\Cargomart\Dto\OrderEcnResponse

Подписать ЭТрН

Example

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


// Configure API key authorization: CookieTokenAuth
$config = MagDv\Cargomart\Configuration::getDefaultConfiguration()->setApiKey('token', 'YOUR_API_KEY');
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
// $config = MagDv\Cargomart\Configuration::getDefaultConfiguration()->setApiKeyPrefix('token', 'Bearer');

// Configure API key authorization: HeaderAuthorizationAuth
$config = MagDv\Cargomart\Configuration::getDefaultConfiguration()->setApiKey('Authorization', 'YOUR_API_KEY');
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
// $config = MagDv\Cargomart\Configuration::getDefaultConfiguration()->setApiKeyPrefix('Authorization', 'Bearer');


$apiInstance = new MagDv\Cargomart\Api\ExpeditorProposalItemApi(
    // 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
);
$id = 'id_example'; // string | Идентификатор Этрн.
$expeditor_ecn_sign_request = new \MagDv\Cargomart\Dto\ExpeditorEcnSignRequest(); // \MagDv\Cargomart\Dto\ExpeditorEcnSignRequest

try {
    $result = $apiInstance->apiV2ExpeditorEcnIdSignPost($id, $expeditor_ecn_sign_request);
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling ExpeditorProposalItemApi->apiV2ExpeditorEcnIdSignPost: ', $e->getMessage(), PHP_EOL;
}

Parameters

Name Type Description Notes
id string Идентификатор Этрн.
expeditor_ecn_sign_request \MagDv\Cargomart\Dto\ExpeditorEcnSignRequest

Return type

\MagDv\Cargomart\Dto\OrderEcnResponse

Authorization

CookieTokenAuth, HeaderAuthorizationAuth

HTTP request headers

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

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

apiV2ExpeditorProposalIdBidGet()

apiV2ExpeditorProposalIdBidGet($id): \MagDv\Cargomart\Dto\BidListResponse

Список ставок от перевозчиков.

Example

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


// Configure API key authorization: CookieTokenAuth
$config = MagDv\Cargomart\Configuration::getDefaultConfiguration()->setApiKey('token', 'YOUR_API_KEY');
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
// $config = MagDv\Cargomart\Configuration::getDefaultConfiguration()->setApiKeyPrefix('token', 'Bearer');

// Configure API key authorization: HeaderAuthorizationAuth
$config = MagDv\Cargomart\Configuration::getDefaultConfiguration()->setApiKey('Authorization', 'YOUR_API_KEY');
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
// $config = MagDv\Cargomart\Configuration::getDefaultConfiguration()->setApiKeyPrefix('Authorization', 'Bearer');


$apiInstance = new MagDv\Cargomart\Api\ExpeditorProposalItemApi(
    // 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
);
$id = 'id_example'; // string | Идентификатор заказа Экспедитора.

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

Parameters

Name Type Description Notes
id string Идентификатор заказа Экспедитора.

Return type

\MagDv\Cargomart\Dto\BidListResponse

Authorization

CookieTokenAuth, HeaderAuthorizationAuth

HTTP request headers

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

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

apiV2ExpeditorProposalIdDenyBankingDetailsPost()

apiV2ExpeditorProposalIdDenyBankingDetailsPost($id, $deny_banking_details_request)

Пометить банковские реквизиты ошибочными.

Example

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


// Configure API key authorization: CookieTokenAuth
$config = MagDv\Cargomart\Configuration::getDefaultConfiguration()->setApiKey('token', 'YOUR_API_KEY');
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
// $config = MagDv\Cargomart\Configuration::getDefaultConfiguration()->setApiKeyPrefix('token', 'Bearer');

// Configure API key authorization: HeaderAuthorizationAuth
$config = MagDv\Cargomart\Configuration::getDefaultConfiguration()->setApiKey('Authorization', 'YOUR_API_KEY');
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
// $config = MagDv\Cargomart\Configuration::getDefaultConfiguration()->setApiKeyPrefix('Authorization', 'Bearer');


$apiInstance = new MagDv\Cargomart\Api\ExpeditorProposalItemApi(
    // 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
);
$id = 'id_example'; // string | Идентификатор заказа Экспедитора.
$deny_banking_details_request = new \MagDv\Cargomart\Dto\DenyBankingDetailsRequest(); // \MagDv\Cargomart\Dto\DenyBankingDetailsRequest

try {
    $apiInstance->apiV2ExpeditorProposalIdDenyBankingDetailsPost($id, $deny_banking_details_request);
} catch (Exception $e) {
    echo 'Exception when calling ExpeditorProposalItemApi->apiV2ExpeditorProposalIdDenyBankingDetailsPost: ', $e->getMessage(), PHP_EOL;
}

Parameters

Name Type Description Notes
id string Идентификатор заказа Экспедитора.
deny_banking_details_request \MagDv\Cargomart\Dto\DenyBankingDetailsRequest [optional]

Return type

void (empty response body)

Authorization

CookieTokenAuth, HeaderAuthorizationAuth

HTTP request headers

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

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

apiV2ExpeditorProposalIdEcnGet()

apiV2ExpeditorProposalIdEcnGet($id, $filter_index_from, $filter_index_to, $filter_type, $filter_status_group, $filter_is_active, $page, $per_page): \MagDv\Cargomart\Dto\OrderEcnListResponse

Получение списка ЭТрН у заказа

Example

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


// Configure API key authorization: CookieTokenAuth
$config = MagDv\Cargomart\Configuration::getDefaultConfiguration()->setApiKey('token', 'YOUR_API_KEY');
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
// $config = MagDv\Cargomart\Configuration::getDefaultConfiguration()->setApiKeyPrefix('token', 'Bearer');

// Configure API key authorization: HeaderAuthorizationAuth
$config = MagDv\Cargomart\Configuration::getDefaultConfiguration()->setApiKey('Authorization', 'YOUR_API_KEY');
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
// $config = MagDv\Cargomart\Configuration::getDefaultConfiguration()->setApiKeyPrefix('Authorization', 'Bearer');


$apiInstance = new MagDv\Cargomart\Api\ExpeditorProposalItemApi(
    // 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
);
$id = 'id_example'; // string | Идентификатор заказа.
$filter_index_from = 56; // int | Индекс пункта откуда.
$filter_index_to = 56; // int | Индекс пункта куда.
$filter_type = new \MagDv\Cargomart\Dto\\MagDv\Cargomart\Dto\EcnType(); // \MagDv\Cargomart\Dto\EcnType | Тип ТРН.
$filter_status_group = new \MagDv\Cargomart\Dto\\MagDv\Cargomart\Dto\EcnStatusGroup(); // \MagDv\Cargomart\Dto\EcnStatusGroup | Обобщенный статус ТРН.
$filter_is_active = True; // bool | Выбрать только активные.
$page = 1; // int | Номер страницы для постраничной навигации
$per_page = 20; // int | Количество элементов на страницу

try {
    $result = $apiInstance->apiV2ExpeditorProposalIdEcnGet($id, $filter_index_from, $filter_index_to, $filter_type, $filter_status_group, $filter_is_active, $page, $per_page);
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling ExpeditorProposalItemApi->apiV2ExpeditorProposalIdEcnGet: ', $e->getMessage(), PHP_EOL;
}

Parameters

Name Type Description Notes
id string Идентификатор заказа.
filter_index_from int Индекс пункта откуда. [optional]
filter_index_to int Индекс пункта куда. [optional]
filter_type \MagDv\Cargomart\Dto\EcnType Тип ТРН. [optional]
filter_status_group \MagDv\Cargomart\Dto\EcnStatusGroup Обобщенный статус ТРН. [optional]
filter_is_active bool Выбрать только активные. [optional]
page int Номер страницы для постраничной навигации [optional] [default to 1]
per_page int Количество элементов на страницу [optional] [default to 20]

Return type

\MagDv\Cargomart\Dto\OrderEcnListResponse

Authorization

CookieTokenAuth, HeaderAuthorizationAuth

HTTP request headers

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

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

apiV2ExpeditorProposalIdEcnPost()

apiV2ExpeditorProposalIdEcnPost($id, $ecn_additional_data): \MagDv\Cargomart\Dto\OrderEcnResponse

Создание ЭТрН для заказа.

Example

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


// Configure API key authorization: CookieTokenAuth
$config = MagDv\Cargomart\Configuration::getDefaultConfiguration()->setApiKey('token', 'YOUR_API_KEY');
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
// $config = MagDv\Cargomart\Configuration::getDefaultConfiguration()->setApiKeyPrefix('token', 'Bearer');

// Configure API key authorization: HeaderAuthorizationAuth
$config = MagDv\Cargomart\Configuration::getDefaultConfiguration()->setApiKey('Authorization', 'YOUR_API_KEY');
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
// $config = MagDv\Cargomart\Configuration::getDefaultConfiguration()->setApiKeyPrefix('Authorization', 'Bearer');


$apiInstance = new MagDv\Cargomart\Api\ExpeditorProposalItemApi(
    // 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
);
$id = 'id_example'; // string | Идентификатор заказа Экспедитора.
$ecn_additional_data = new \MagDv\Cargomart\Dto\EcnAdditionalData(); // \MagDv\Cargomart\Dto\EcnAdditionalData

try {
    $result = $apiInstance->apiV2ExpeditorProposalIdEcnPost($id, $ecn_additional_data);
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling ExpeditorProposalItemApi->apiV2ExpeditorProposalIdEcnPost: ', $e->getMessage(), PHP_EOL;
}

Parameters

Name Type Description Notes
id string Идентификатор заказа Экспедитора.
ecn_additional_data \MagDv\Cargomart\Dto\EcnAdditionalData

Return type

\MagDv\Cargomart\Dto\OrderEcnResponse

Authorization

CookieTokenAuth, HeaderAuthorizationAuth

HTTP request headers

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

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

apiV2ExpeditorProposalIdExpeditorOfferGet()

apiV2ExpeditorProposalIdExpeditorOfferGet($id): \MagDv\Cargomart\Dto\ProposalOffersListResponse

Список предложений от перевозчиков для экспедитора.

Example

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


// Configure API key authorization: CookieTokenAuth
$config = MagDv\Cargomart\Configuration::getDefaultConfiguration()->setApiKey('token', 'YOUR_API_KEY');
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
// $config = MagDv\Cargomart\Configuration::getDefaultConfiguration()->setApiKeyPrefix('token', 'Bearer');

// Configure API key authorization: HeaderAuthorizationAuth
$config = MagDv\Cargomart\Configuration::getDefaultConfiguration()->setApiKey('Authorization', 'YOUR_API_KEY');
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
// $config = MagDv\Cargomart\Configuration::getDefaultConfiguration()->setApiKeyPrefix('Authorization', 'Bearer');


$apiInstance = new MagDv\Cargomart\Api\ExpeditorProposalItemApi(
    // 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
);
$id = 'id_example'; // string | Идентификатор заказа Экспедитора.

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

Parameters

Name Type Description Notes
id string Идентификатор заказа Экспедитора.

Return type

\MagDv\Cargomart\Dto\ProposalOffersListResponse

Authorization

CookieTokenAuth, HeaderAuthorizationAuth

HTTP request headers

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

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

apiV2ExpeditorProposalIdGet()

apiV2ExpeditorProposalIdGet($id): \MagDv\Cargomart\Dto\ProposalCardResponse

Получение информации для карточки заказа Экспедитора.

Example

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


// Configure API key authorization: CookieTokenAuth
$config = MagDv\Cargomart\Configuration::getDefaultConfiguration()->setApiKey('token', 'YOUR_API_KEY');
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
// $config = MagDv\Cargomart\Configuration::getDefaultConfiguration()->setApiKeyPrefix('token', 'Bearer');

// Configure API key authorization: HeaderAuthorizationAuth
$config = MagDv\Cargomart\Configuration::getDefaultConfiguration()->setApiKey('Authorization', 'YOUR_API_KEY');
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
// $config = MagDv\Cargomart\Configuration::getDefaultConfiguration()->setApiKeyPrefix('Authorization', 'Bearer');


$apiInstance = new MagDv\Cargomart\Api\ExpeditorProposalItemApi(
    // 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
);
$id = 'id_example'; // string | Идентификатор заказа Экспедитора.

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

Parameters

Name Type Description Notes
id string Идентификатор заказа Экспедитора.

Return type

\MagDv\Cargomart\Dto\ProposalCardResponse

Authorization

CookieTokenAuth, HeaderAuthorizationAuth

HTTP request headers

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

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

apiV2ExpeditorProposalIdPatchPost()

apiV2ExpeditorProposalIdPatchPost($id, $order_patch_request): \MagDv\Cargomart\Dto\OrderPatchResponse

Создание запроса на изменение заказа экспедитором.

Example

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


// Configure API key authorization: CookieTokenAuth
$config = MagDv\Cargomart\Configuration::getDefaultConfiguration()->setApiKey('token', 'YOUR_API_KEY');
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
// $config = MagDv\Cargomart\Configuration::getDefaultConfiguration()->setApiKeyPrefix('token', 'Bearer');

// Configure API key authorization: HeaderAuthorizationAuth
$config = MagDv\Cargomart\Configuration::getDefaultConfiguration()->setApiKey('Authorization', 'YOUR_API_KEY');
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
// $config = MagDv\Cargomart\Configuration::getDefaultConfiguration()->setApiKeyPrefix('Authorization', 'Bearer');


$apiInstance = new MagDv\Cargomart\Api\ExpeditorProposalItemApi(
    // 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
);
$id = 'id_example'; // string | Идентификатор заказа Экспедитора.
$order_patch_request = new \MagDv\Cargomart\Dto\OrderPatchRequest(); // \MagDv\Cargomart\Dto\OrderPatchRequest

try {
    $result = $apiInstance->apiV2ExpeditorProposalIdPatchPost($id, $order_patch_request);
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling ExpeditorProposalItemApi->apiV2ExpeditorProposalIdPatchPost: ', $e->getMessage(), PHP_EOL;
}

Parameters

Name Type Description Notes
id string Идентификатор заказа Экспедитора.
order_patch_request \MagDv\Cargomart\Dto\OrderPatchRequest

Return type

\MagDv\Cargomart\Dto\OrderPatchResponse

Authorization

CookieTokenAuth, HeaderAuthorizationAuth

HTTP request headers

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

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

apiV2ExpeditorProposalIdPinGet()

apiV2ExpeditorProposalIdPinGet($id): \MagDv\Cargomart\Dto\ProposalUsersListResponse

Список пользователей, пометивших флагом заказ перевозчика.

Example

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


// Configure API key authorization: CookieTokenAuth
$config = MagDv\Cargomart\Configuration::getDefaultConfiguration()->setApiKey('token', 'YOUR_API_KEY');
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
// $config = MagDv\Cargomart\Configuration::getDefaultConfiguration()->setApiKeyPrefix('token', 'Bearer');

// Configure API key authorization: HeaderAuthorizationAuth
$config = MagDv\Cargomart\Configuration::getDefaultConfiguration()->setApiKey('Authorization', 'YOUR_API_KEY');
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
// $config = MagDv\Cargomart\Configuration::getDefaultConfiguration()->setApiKeyPrefix('Authorization', 'Bearer');


$apiInstance = new MagDv\Cargomart\Api\ExpeditorProposalItemApi(
    // 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
);
$id = 'id_example'; // string | Идентификатор заказа Экспедитора.

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

Parameters

Name Type Description Notes
id string Идентификатор заказа Экспедитора.

Return type

\MagDv\Cargomart\Dto\ProposalUsersListResponse

Authorization

CookieTokenAuth, HeaderAuthorizationAuth

HTTP request headers

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

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

apiV2ExpeditorProposalIdRoadmapGet()

apiV2ExpeditorProposalIdRoadmapGet($id): \MagDv\Cargomart\Dto\OrderRoadmapListResponse

Получение роадмап

Example

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


// Configure API key authorization: CookieTokenAuth
$config = MagDv\Cargomart\Configuration::getDefaultConfiguration()->setApiKey('token', 'YOUR_API_KEY');
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
// $config = MagDv\Cargomart\Configuration::getDefaultConfiguration()->setApiKeyPrefix('token', 'Bearer');

// Configure API key authorization: HeaderAuthorizationAuth
$config = MagDv\Cargomart\Configuration::getDefaultConfiguration()->setApiKey('Authorization', 'YOUR_API_KEY');
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
// $config = MagDv\Cargomart\Configuration::getDefaultConfiguration()->setApiKeyPrefix('Authorization', 'Bearer');


$apiInstance = new MagDv\Cargomart\Api\ExpeditorProposalItemApi(
    // 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
);
$id = 'id_example'; // string | Идентификатор шаблона или базового заказа.

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

Parameters

Name Type Description Notes
id string Идентификатор шаблона или базового заказа.

Return type

\MagDv\Cargomart\Dto\OrderRoadmapListResponse

Authorization

CookieTokenAuth, HeaderAuthorizationAuth

HTTP request headers

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

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

apiV2ExpeditorProposalIdRoutePathGet()

apiV2ExpeditorProposalIdRoutePathGet($id): \MagDv\Cargomart\Dto\ItineraryListResponse

Получение данных по точкам маршрута.

Example

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


// Configure API key authorization: CookieTokenAuth
$config = MagDv\Cargomart\Configuration::getDefaultConfiguration()->setApiKey('token', 'YOUR_API_KEY');
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
// $config = MagDv\Cargomart\Configuration::getDefaultConfiguration()->setApiKeyPrefix('token', 'Bearer');

// Configure API key authorization: HeaderAuthorizationAuth
$config = MagDv\Cargomart\Configuration::getDefaultConfiguration()->setApiKey('Authorization', 'YOUR_API_KEY');
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
// $config = MagDv\Cargomart\Configuration::getDefaultConfiguration()->setApiKeyPrefix('Authorization', 'Bearer');


$apiInstance = new MagDv\Cargomart\Api\ExpeditorProposalItemApi(
    // 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
);
$id = 'id_example'; // string | Идентификатор заказа Экспедитора.

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

Parameters

Name Type Description Notes
id string Идентификатор заказа Экспедитора.

Return type

\MagDv\Cargomart\Dto\ItineraryListResponse

Authorization

CookieTokenAuth, HeaderAuthorizationAuth

HTTP request headers

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

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

apiV2ExpeditorProposalIdSignedDocumentGet()

apiV2ExpeditorProposalIdSignedDocumentGet($id): \MagDv\Cargomart\Dto\ExpeditorProposalSignedDocumentListResponse

Получение списка документов заявки со списком титулов

Example

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


// Configure API key authorization: CookieTokenAuth
$config = MagDv\Cargomart\Configuration::getDefaultConfiguration()->setApiKey('token', 'YOUR_API_KEY');
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
// $config = MagDv\Cargomart\Configuration::getDefaultConfiguration()->setApiKeyPrefix('token', 'Bearer');

// Configure API key authorization: HeaderAuthorizationAuth
$config = MagDv\Cargomart\Configuration::getDefaultConfiguration()->setApiKey('Authorization', 'YOUR_API_KEY');
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
// $config = MagDv\Cargomart\Configuration::getDefaultConfiguration()->setApiKeyPrefix('Authorization', 'Bearer');


$apiInstance = new MagDv\Cargomart\Api\ExpeditorProposalItemApi(
    // 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
);
$id = 'id_example'; // string | Идентификатор заявки Экспедитора.

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

Parameters

Name Type Description Notes
id string Идентификатор заявки Экспедитора.

Return type

\MagDv\Cargomart\Dto\ExpeditorProposalSignedDocumentListResponse

Authorization

CookieTokenAuth, HeaderAuthorizationAuth

HTTP request headers

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

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

apiV2ExpeditorProposalIdSimpleDocumentsGet()

apiV2ExpeditorProposalIdSimpleDocumentsGet($id): \MagDv\Cargomart\Dto\ProposalSimpleDocumentsResponse

Получение списка документов заявки со списком титулов

Example

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


// Configure API key authorization: CookieTokenAuth
$config = MagDv\Cargomart\Configuration::getDefaultConfiguration()->setApiKey('token', 'YOUR_API_KEY');
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
// $config = MagDv\Cargomart\Configuration::getDefaultConfiguration()->setApiKeyPrefix('token', 'Bearer');

// Configure API key authorization: HeaderAuthorizationAuth
$config = MagDv\Cargomart\Configuration::getDefaultConfiguration()->setApiKey('Authorization', 'YOUR_API_KEY');
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
// $config = MagDv\Cargomart\Configuration::getDefaultConfiguration()->setApiKeyPrefix('Authorization', 'Bearer');


$apiInstance = new MagDv\Cargomart\Api\ExpeditorProposalItemApi(
    // 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
);
$id = 'id_example'; // string | Идентификатор заявки Экспедитора.

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

Parameters

Name Type Description Notes
id string Идентификатор заявки Экспедитора.

Return type

\MagDv\Cargomart\Dto\ProposalSimpleDocumentsResponse

Authorization

CookieTokenAuth, HeaderAuthorizationAuth

HTTP request headers

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

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

apiV2ExpeditorProposalIdVisitorGet()

apiV2ExpeditorProposalIdVisitorGet($id): \MagDv\Cargomart\Dto\ProposalUsersListResponse

Список пользователей, просмотревших заказ перевозчика.

Example

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


// Configure API key authorization: CookieTokenAuth
$config = MagDv\Cargomart\Configuration::getDefaultConfiguration()->setApiKey('token', 'YOUR_API_KEY');
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
// $config = MagDv\Cargomart\Configuration::getDefaultConfiguration()->setApiKeyPrefix('token', 'Bearer');

// Configure API key authorization: HeaderAuthorizationAuth
$config = MagDv\Cargomart\Configuration::getDefaultConfiguration()->setApiKey('Authorization', 'YOUR_API_KEY');
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
// $config = MagDv\Cargomart\Configuration::getDefaultConfiguration()->setApiKeyPrefix('Authorization', 'Bearer');


$apiInstance = new MagDv\Cargomart\Api\ExpeditorProposalItemApi(
    // 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
);
$id = 'id_example'; // string | Идентификатор заказа Экспедитора.

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

Parameters

Name Type Description Notes
id string Идентификатор заказа Экспедитора.

Return type

\MagDv\Cargomart\Dto\ProposalUsersListResponse

Authorization

CookieTokenAuth, HeaderAuthorizationAuth

HTTP request headers

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

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

getProposalActNonDeliveryCar()

getProposalActNonDeliveryCar($uuid): \MagDv\Cargomart\Dto\OrderActNonDeliveryCarResponse

Получить данные электронного акта о неподаче машины на погрузку

Example

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


// Configure API key authorization: CookieTokenAuth
$config = MagDv\Cargomart\Configuration::getDefaultConfiguration()->setApiKey('token', 'YOUR_API_KEY');
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
// $config = MagDv\Cargomart\Configuration::getDefaultConfiguration()->setApiKeyPrefix('token', 'Bearer');

// Configure API key authorization: HeaderAuthorizationAuth
$config = MagDv\Cargomart\Configuration::getDefaultConfiguration()->setApiKey('Authorization', 'YOUR_API_KEY');
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
// $config = MagDv\Cargomart\Configuration::getDefaultConfiguration()->setApiKeyPrefix('Authorization', 'Bearer');


$apiInstance = new MagDv\Cargomart\Api\ExpeditorProposalItemApi(
    // 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
);
$uuid = 'uuid_example'; // string | UUID объекта

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

Parameters

Name Type Description Notes
uuid string UUID объекта

Return type

\MagDv\Cargomart\Dto\OrderActNonDeliveryCarResponse

Authorization

CookieTokenAuth, HeaderAuthorizationAuth

HTTP request headers

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

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

updateExpeditorProposalCarrierTrackingNumber()

updateExpeditorProposalCarrierTrackingNumber($id, $tracking_number_request): \MagDv\Cargomart\Dto\ProposalCardResponse

Редактирование трек-номера перевозчика

Example

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


// Configure API key authorization: CookieTokenAuth
$config = MagDv\Cargomart\Configuration::getDefaultConfiguration()->setApiKey('token', 'YOUR_API_KEY');
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
// $config = MagDv\Cargomart\Configuration::getDefaultConfiguration()->setApiKeyPrefix('token', 'Bearer');

// Configure API key authorization: HeaderAuthorizationAuth
$config = MagDv\Cargomart\Configuration::getDefaultConfiguration()->setApiKey('Authorization', 'YOUR_API_KEY');
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
// $config = MagDv\Cargomart\Configuration::getDefaultConfiguration()->setApiKeyPrefix('Authorization', 'Bearer');


$apiInstance = new MagDv\Cargomart\Api\ExpeditorProposalItemApi(
    // 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
);
$id = 'id_example'; // string | Идентификатор заказа Экспедитора.
$tracking_number_request = new \MagDv\Cargomart\Dto\TrackingNumberRequest(); // \MagDv\Cargomart\Dto\TrackingNumberRequest

try {
    $result = $apiInstance->updateExpeditorProposalCarrierTrackingNumber($id, $tracking_number_request);
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling ExpeditorProposalItemApi->updateExpeditorProposalCarrierTrackingNumber: ', $e->getMessage(), PHP_EOL;
}

Parameters

Name Type Description Notes
id string Идентификатор заказа Экспедитора.
tracking_number_request \MagDv\Cargomart\Dto\TrackingNumberRequest

Return type

\MagDv\Cargomart\Dto\ProposalCardResponse

Authorization

CookieTokenAuth, HeaderAuthorizationAuth

HTTP request headers

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

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