Getting Handbook "refuse reason"
Method: POST
Url: https://test.ninjalender.online/refuse-reason/list
Headers:
header_key
content
Content-Type:
application/json;
Authorization
Bearer {{Token}}
Ninja-Lang
locale to witch we will translate titles (pl_PL, en_GB)
Where {{Token}} - token obtained during authorization
Request body:
Key
Type
Required
Description
Response:
Key
Type
Description
code
int
Response code
message
string
Response message
data
JSON.object
Response data
data:
Key
Type
Description
id
int
id of refuse reason
label
string
name of refuse reason
title
string
title of refuse reason
Request example:
Response example:
Success:
Error:
Error list:
Key
Message
-96
invalid key
-97
invalid token
-98
expired token
-99
system error
-100
access denied
Last updated