@tillhub/javascript-sdk
Options
All
Public
Public/Protected
All
Inherited
Externals
Only exported
Menu
Reasons
constructor
endpoint
http
options
uri
Helper
base
Endpoint
create
delete
get
get
All
put
Reasons
Creation
Failed
Reasons
Delete
Failed
Reasons
Fetch
Failed
Reasons
Fetch
One
Failed
Reasons
Put
Failed
Behavior
Reason
Reason
Response
Reasons
Options
Reasons
Query
Reasons
Response
Hierarchy
ThBaseHandler
Reasons
Index
Constructors
constructor
Properties
endpoint
http
options
uri
Helper
base
Endpoint
Methods
create
delete
get
get
All
put
Constructors
constructor
new
Reasons
(
options
:
ReasonsOptions
, http
:
Client
)
:
Reasons
Parameters
options:
ReasonsOptions
http:
Client
Returns
Reasons
Properties
endpoint
endpoint
:
string
http
http
:
Client
options
options
:
ReasonsOptions
uri
Helper
uri
Helper
:
UriHelper
Static
base
Endpoint
base
Endpoint
:
string
= '/api/v0/reasons'
Methods
create
create
(
reason
:
Reason
)
:
Promise
<
ReasonResponse
>
Parameters
reason:
Reason
Returns
Promise
<
ReasonResponse
>
delete
delete
(
reasonId
:
string
)
:
Promise
<
ReasonResponse
>
Parameters
reasonId:
string
Returns
Promise
<
ReasonResponse
>
get
get
(
reasonId
:
string
)
:
Promise
<
ReasonResponse
>
Parameters
reasonId:
string
Returns
Promise
<
ReasonResponse
>
get
All
get
All
(
queryOrOptions
?:
ReasonsQuery
)
:
Promise
<
ReasonsResponse
>
Parameters
Optional
queryOrOptions:
ReasonsQuery
Returns
Promise
<
ReasonsResponse
>
put
put
(
reasonId
:
string
, reason
:
Reason
)
:
Promise
<
ReasonResponse
>
Parameters
reasonId:
string
reason:
Reason
Returns
Promise
<
ReasonResponse
>
Generated using
TypeDoc