Skip to content

Latest commit

 

History

History
61 lines (44 loc) · 2.3 KB

PropertyClaimsStatusApi.md

File metadata and controls

61 lines (44 loc) · 2.3 KB

Swagger\Client\PropertyClaimsStatusApi

All URIs are relative to /

Method HTTP request Description
v1PropertyClaimsClaimIdStatusPut PUT /v1/property/claims/{claimId}/status Updates status for property claim

v1PropertyClaimsClaimIdStatusPut

v1PropertyClaimsClaimIdStatusPut($body, $claim_id)

Updates status for property claim

Example

<?php
require_once(__DIR__ . '/vendor/autoload.php');
// Configure API key authorization: ApiKey
$config = Swagger\Client\Configuration::getDefaultConfiguration()->setApiKey('x-api-key', 'YOUR_API_KEY');
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
// $config = Swagger\Client\Configuration::getDefaultConfiguration()->setApiKeyPrefix('x-api-key', 'Bearer');

$apiInstance = new Swagger\Client\Api\PropertyClaimsStatusApi(
    // If you want use custom http client, pass your client which implements `GuzzleHttp\ClientInterface`.
    // This is optional, `GuzzleHttp\Client` will be used as default.
    new GuzzleHttp\Client(),
    $config
);
$body = new \Swagger\Client\Model\ClaimStatusChangeRequest(); // \Swagger\Client\Model\ClaimStatusChangeRequest | The claim status change request
$claim_id = "38400000-8cf0-11bd-b23e-10b96e4ef00d"; // string | The claim id

try {
    $apiInstance->v1PropertyClaimsClaimIdStatusPut($body, $claim_id);
} catch (Exception $e) {
    echo 'Exception when calling PropertyClaimsStatusApi->v1PropertyClaimsClaimIdStatusPut: ', $e->getMessage(), PHP_EOL;
}
?>

Parameters

Name Type Description Notes
body \Swagger\Client\Model\ClaimStatusChangeRequest The claim status change request
claim_id string The claim id

Return type

void (empty response body)

Authorization

ApiKey

HTTP request headers

  • Content-Type: application/_*+json, application/json, text/json
  • Accept: application/json, text/json

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