| GET,OPTIONS | /v1/aps/config |
|---|
import datetime
import decimal
from marshmallow.fields import *
from servicestack import *
from typing import *
from dataclasses import dataclass, field
from dataclasses_json import dataclass_json, LetterCase, Undefined, config
from enum import Enum, IntEnum
@dataclass_json(letter_case=LetterCase.CAMEL, undefined=Undefined.EXCLUDE)
@dataclass
class ApsConfigResponse:
response_status: Optional[ResponseStatus] = None
connected: bool = False
client_id_masked: Optional[str] = None
has_secret: bool = False
bucket_key: Optional[str] = None
connected_at: Optional[str] = None
last_check: Optional[str] = None
test_ok: Optional[bool] = None
test_message: Optional[str] = None
@dataclass_json(letter_case=LetterCase.CAMEL, undefined=Undefined.EXCLUDE)
@dataclass
class ApsConfigGetRequest:
pass
Python ApsConfigGetRequest DTOs
To override the Content-type in your clients, use the HTTP Accept Header, append the .csv suffix or ?format=csv
The following are sample HTTP requests and responses. The placeholders shown need to be replaced with actual values.
GET /v1/aps/config HTTP/1.1 Host: api.dev.dynamics.trendsic.com Accept: text/csv
HTTP/1.1 200 OK
Content-Type: text/csv
Content-Length: length
{"ResponseStatus":{"ErrorCode":"String","Message":"String","StackTrace":"String","Errors":[{"ErrorCode":"String","FieldName":"String","Message":"String","Meta":{"String":"String"}}],"Meta":{"String":"String"}},"Connected":false,"ClientIdMasked":"String","HasSecret":false,"BucketKey":"String","ConnectedAt":"String","LastCheck":"String","TestOk":false,"TestMessage":"String"}