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($filter_index_from, $filter_index_to, $filter_type, $filter_status_group, $filter_status, $page, $per_page): \MagDv\Cargomart\Dto\OrderEcnListResponse
Получение списка ЭТрН
<?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;
}
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] |
\MagDv\Cargomart\Dto\OrderEcnListResponse
CookieTokenAuth, HeaderAuthorizationAuth
- Content-Type: Not defined
- Accept:
application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
apiV2ExpeditorEcnIdGet($id): \MagDv\Cargomart\Dto\OrderEcnResponse
Получение ЭТрН по ID
<?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;
}
Name | Type | Description | Notes |
---|---|---|---|
id | string | Идентификатор ЭТРН. |
\MagDv\Cargomart\Dto\OrderEcnResponse
CookieTokenAuth, HeaderAuthorizationAuth
- Content-Type: Not defined
- Accept:
application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
apiV2ExpeditorEcnIdHistoryGet($id): \MagDv\Cargomart\Dto\OrderEcnHistoryResponse
История ЭТрН
<?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;
}
Name | Type | Description | Notes |
---|---|---|---|
id | string | Идентификатор Этрн. |
\MagDv\Cargomart\Dto\OrderEcnHistoryResponse
CookieTokenAuth, HeaderAuthorizationAuth
- Content-Type: Not defined
- Accept:
application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
apiV2ExpeditorEcnIdSignPost($id, $expeditor_ecn_sign_request): \MagDv\Cargomart\Dto\OrderEcnResponse
Подписать ЭТрН
<?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;
}
Name | Type | Description | Notes |
---|---|---|---|
id | string | Идентификатор Этрн. | |
expeditor_ecn_sign_request | \MagDv\Cargomart\Dto\ExpeditorEcnSignRequest |
\MagDv\Cargomart\Dto\OrderEcnResponse
CookieTokenAuth, HeaderAuthorizationAuth
- Content-Type:
application/json
- Accept:
application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
apiV2ExpeditorProposalIdBidGet($id): \MagDv\Cargomart\Dto\BidListResponse
Список ставок от перевозчиков.
<?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;
}
Name | Type | Description | Notes |
---|---|---|---|
id | string | Идентификатор заказа Экспедитора. |
\MagDv\Cargomart\Dto\BidListResponse
CookieTokenAuth, HeaderAuthorizationAuth
- Content-Type: Not defined
- Accept:
application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
apiV2ExpeditorProposalIdDenyBankingDetailsPost($id, $deny_banking_details_request)
Пометить банковские реквизиты ошибочными.
<?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;
}
Name | Type | Description | Notes |
---|---|---|---|
id | string | Идентификатор заказа Экспедитора. | |
deny_banking_details_request | \MagDv\Cargomart\Dto\DenyBankingDetailsRequest | [optional] |
void (empty response body)
CookieTokenAuth, HeaderAuthorizationAuth
- Content-Type:
application/json
- Accept: Not defined
[Back to top] [Back to API list] [Back to Model list] [Back to README]
apiV2ExpeditorProposalIdEcnGet($id, $filter_index_from, $filter_index_to, $filter_type, $filter_status_group, $filter_is_active, $page, $per_page): \MagDv\Cargomart\Dto\OrderEcnListResponse
Получение списка ЭТрН у заказа
<?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;
}
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] |
\MagDv\Cargomart\Dto\OrderEcnListResponse
CookieTokenAuth, HeaderAuthorizationAuth
- Content-Type: Not defined
- Accept:
application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
apiV2ExpeditorProposalIdEcnPost($id, $ecn_additional_data): \MagDv\Cargomart\Dto\OrderEcnResponse
Создание ЭТрН для заказа.
<?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;
}
Name | Type | Description | Notes |
---|---|---|---|
id | string | Идентификатор заказа Экспедитора. | |
ecn_additional_data | \MagDv\Cargomart\Dto\EcnAdditionalData |
\MagDv\Cargomart\Dto\OrderEcnResponse
CookieTokenAuth, HeaderAuthorizationAuth
- Content-Type:
application/json
- Accept:
application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
apiV2ExpeditorProposalIdExpeditorOfferGet($id): \MagDv\Cargomart\Dto\ProposalOffersListResponse
Список предложений от перевозчиков для экспедитора.
<?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;
}
Name | Type | Description | Notes |
---|---|---|---|
id | string | Идентификатор заказа Экспедитора. |
\MagDv\Cargomart\Dto\ProposalOffersListResponse
CookieTokenAuth, HeaderAuthorizationAuth
- Content-Type: Not defined
- Accept:
application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
apiV2ExpeditorProposalIdGet($id): \MagDv\Cargomart\Dto\ProposalCardResponse
Получение информации для карточки заказа Экспедитора.
<?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;
}
Name | Type | Description | Notes |
---|---|---|---|
id | string | Идентификатор заказа Экспедитора. |
\MagDv\Cargomart\Dto\ProposalCardResponse
CookieTokenAuth, HeaderAuthorizationAuth
- Content-Type: Not defined
- Accept:
application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
apiV2ExpeditorProposalIdPatchPost($id, $order_patch_request): \MagDv\Cargomart\Dto\OrderPatchResponse
Создание запроса на изменение заказа экспедитором.
<?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;
}
Name | Type | Description | Notes |
---|---|---|---|
id | string | Идентификатор заказа Экспедитора. | |
order_patch_request | \MagDv\Cargomart\Dto\OrderPatchRequest |
\MagDv\Cargomart\Dto\OrderPatchResponse
CookieTokenAuth, HeaderAuthorizationAuth
- Content-Type:
application/json
- Accept:
application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
apiV2ExpeditorProposalIdPinGet($id): \MagDv\Cargomart\Dto\ProposalUsersListResponse
Список пользователей, пометивших флагом заказ перевозчика.
<?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;
}
Name | Type | Description | Notes |
---|---|---|---|
id | string | Идентификатор заказа Экспедитора. |
\MagDv\Cargomart\Dto\ProposalUsersListResponse
CookieTokenAuth, HeaderAuthorizationAuth
- Content-Type: Not defined
- Accept:
application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
apiV2ExpeditorProposalIdRoadmapGet($id): \MagDv\Cargomart\Dto\OrderRoadmapListResponse
Получение роадмап
<?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;
}
Name | Type | Description | Notes |
---|---|---|---|
id | string | Идентификатор шаблона или базового заказа. |
\MagDv\Cargomart\Dto\OrderRoadmapListResponse
CookieTokenAuth, HeaderAuthorizationAuth
- Content-Type: Not defined
- Accept:
application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
apiV2ExpeditorProposalIdRoutePathGet($id): \MagDv\Cargomart\Dto\ItineraryListResponse
Получение данных по точкам маршрута.
<?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;
}
Name | Type | Description | Notes |
---|---|---|---|
id | string | Идентификатор заказа Экспедитора. |
\MagDv\Cargomart\Dto\ItineraryListResponse
CookieTokenAuth, HeaderAuthorizationAuth
- Content-Type: Not defined
- Accept:
application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
apiV2ExpeditorProposalIdSignedDocumentGet($id): \MagDv\Cargomart\Dto\ExpeditorProposalSignedDocumentListResponse
Получение списка документов заявки со списком титулов
<?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;
}
Name | Type | Description | Notes |
---|---|---|---|
id | string | Идентификатор заявки Экспедитора. |
\MagDv\Cargomart\Dto\ExpeditorProposalSignedDocumentListResponse
CookieTokenAuth, HeaderAuthorizationAuth
- Content-Type: Not defined
- Accept:
application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
apiV2ExpeditorProposalIdSimpleDocumentsGet($id): \MagDv\Cargomart\Dto\ProposalSimpleDocumentsResponse
Получение списка документов заявки со списком титулов
<?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;
}
Name | Type | Description | Notes |
---|---|---|---|
id | string | Идентификатор заявки Экспедитора. |
\MagDv\Cargomart\Dto\ProposalSimpleDocumentsResponse
CookieTokenAuth, HeaderAuthorizationAuth
- Content-Type: Not defined
- Accept:
application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
apiV2ExpeditorProposalIdVisitorGet($id): \MagDv\Cargomart\Dto\ProposalUsersListResponse
Список пользователей, просмотревших заказ перевозчика.
<?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;
}
Name | Type | Description | Notes |
---|---|---|---|
id | string | Идентификатор заказа Экспедитора. |
\MagDv\Cargomart\Dto\ProposalUsersListResponse
CookieTokenAuth, HeaderAuthorizationAuth
- Content-Type: Not defined
- Accept:
application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
getProposalActNonDeliveryCar($uuid): \MagDv\Cargomart\Dto\OrderActNonDeliveryCarResponse
Получить данные электронного акта о неподаче машины на погрузку
<?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;
}
Name | Type | Description | Notes |
---|---|---|---|
uuid | string | UUID объекта |
\MagDv\Cargomart\Dto\OrderActNonDeliveryCarResponse
CookieTokenAuth, HeaderAuthorizationAuth
- Content-Type: Not defined
- Accept:
application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
updateExpeditorProposalCarrierTrackingNumber($id, $tracking_number_request): \MagDv\Cargomart\Dto\ProposalCardResponse
Редактирование трек-номера перевозчика
<?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;
}
Name | Type | Description | Notes |
---|---|---|---|
id | string | Идентификатор заказа Экспедитора. | |
tracking_number_request | \MagDv\Cargomart\Dto\TrackingNumberRequest |
\MagDv\Cargomart\Dto\ProposalCardResponse
CookieTokenAuth, HeaderAuthorizationAuth
- Content-Type:
application/json
- Accept:
application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]