SpringImport\Swagger\Magento2\Client\RmaCommentManagementV1Api

May 18, 2017 ยท View on GitHub

All URIs are relative to http://t213.vg/rest/default

MethodHTTP requestDescription
rmaCommentManagementV1AddCommentPostPOST /V1/returns/{id}/comments
rmaCommentManagementV1CommentsListGetGET /V1/returns/{id}/comments

rmaCommentManagementV1AddCommentPost

bool rmaCommentManagementV1AddCommentPost(id,id, body)

Add comment

Example

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

$api_instance = new SpringImport\Swagger\Magento2\Client\Api\RmaCommentManagementV1Api();
$id = "id_example"; // string | 
$body = new \SpringImport\Swagger\Magento2\Client\Model\Body134(); // \SpringImport\Swagger\Magento2\Client\Model\Body134 | 

try {
    $result = $api_instance->rmaCommentManagementV1AddCommentPost($id, $body);
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling RmaCommentManagementV1Api->rmaCommentManagementV1AddCommentPost: ', $e->getMessage(), PHP_EOL;
}
?>

Parameters

NameTypeDescriptionNotes
idstring
body\SpringImport\Swagger\Magento2\Client\Model\Body134[optional]

Return type

bool

Authorization

No authorization required

HTTP request headers

  • Content-Type: Not defined
  • Accept: Not defined

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

rmaCommentManagementV1CommentsListGet

\SpringImport\Swagger\Magento2\Client\Model\RmaDataCommentSearchResultInterface rmaCommentManagementV1CommentsListGet($id)

Comments list

Example

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

$api_instance = new SpringImport\Swagger\Magento2\Client\Api\RmaCommentManagementV1Api();
$id = 56; // int | 

try {
    $result = $api_instance->rmaCommentManagementV1CommentsListGet($id);
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling RmaCommentManagementV1Api->rmaCommentManagementV1CommentsListGet: ', $e->getMessage(), PHP_EOL;
}
?>

Parameters

NameTypeDescriptionNotes
idint

Return type

\SpringImport\Swagger\Magento2\Client\Model\RmaDataCommentSearchResultInterface

Authorization

No authorization required

HTTP request headers

  • Content-Type: Not defined
  • Accept: Not defined

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