Rejection reasons
Authorizations
Query parameters
containsstringOptional
Header parameters
X-TL-CompanyIdguidOptional
Company Id
X-TL-SubdomainguidOptional
Account subdomain
X-TL-UserIdguidOptional
Team member id
Responses
200
Success
application/json
401
Unauthorized
application/json
403
Forbidden
application/json
500
Server Error
application/json
get
GET /v2/rejection_reasons HTTP/1.1
Host:
Authorization: YOUR_API_KEY
Accept: */*
[
{
"Id": 1,
"Name": "text",
"Type": "NoneSpecified",
"Actions": [
{
"Id": 1,
"Type": "SendEmail",
"Action": null
}
]
}
]
Authorizations
Header parameters
X-TL-CompanyIdguidOptional
Company Id
X-TL-SubdomainguidOptional
Account subdomain
X-TL-UserIdguidOptional
Team member id
Body
Idinteger · int32Optional
Namestring · max: 50Required
Typestring · enumOptionalPossible values:
Responses
201
Created
application/json
401
Unauthorized
application/json
403
Forbidden
application/json
422
Client Error
application/json
500
Server Error
application/json
post
POST /v2/rejection_reasons HTTP/1.1
Host:
Authorization: YOUR_API_KEY
Content-Type: application/json-patch+json
Accept: */*
Content-Length: 99
{
"Id": 1,
"Name": "text",
"Type": "NoneSpecified",
"Actions": [
{
"Id": 1,
"Type": "SendEmail",
"Action": null
}
]
}
{
"Id": 1,
"Name": "text",
"Type": "NoneSpecified",
"Actions": [
{
"Id": 1,
"Type": "SendEmail",
"Action": null
}
]
}
Authorizations
Path parameters
idinteger · int32Required
Header parameters
X-TL-CompanyIdguidOptional
Company Id
X-TL-SubdomainguidOptional
Account subdomain
X-TL-UserIdguidOptional
Team member id
Responses
200
Success
application/json
401
Unauthorized
application/json
403
Forbidden
application/json
404
Not Found
application/json
500
Server Error
application/json
get
GET /v2/rejection_reasons/{id} HTTP/1.1
Host:
Authorization: YOUR_API_KEY
Accept: */*
{
"Id": 1,
"Name": "text",
"Type": "NoneSpecified",
"Actions": [
{
"Id": 1,
"Type": "SendEmail",
"Action": null
}
]
}
Authorizations
Path parameters
idinteger · int32Required
Header parameters
X-TL-CompanyIdguidOptional
Company Id
X-TL-SubdomainguidOptional
Account subdomain
X-TL-UserIdguidOptional
Team member id
Body
Idinteger · int32Optional
Namestring · max: 50Required
Typestring · enumOptionalPossible values:
Responses
204
No Content
401
Unauthorized
application/json
403
Forbidden
application/json
422
Client Error
application/json
500
Server Error
application/json
put
PUT /v2/rejection_reasons/{id} HTTP/1.1
Host:
Authorization: YOUR_API_KEY
Content-Type: application/json-patch+json
Accept: */*
Content-Length: 99
{
"Id": 1,
"Name": "text",
"Type": "NoneSpecified",
"Actions": [
{
"Id": 1,
"Type": "SendEmail",
"Action": null
}
]
}
No content
Authorizations
Path parameters
idinteger · int32Required
Query parameters
targetReasoninteger · int32Optional
Header parameters
X-TL-CompanyIdguidOptional
Company Id
X-TL-SubdomainguidOptional
Account subdomain
X-TL-UserIdguidOptional
Team member id
Responses
204
No Content
401
Unauthorized
application/json
403
Forbidden
application/json
422
Client Error
application/json
500
Server Error
application/json
delete
DELETE /v2/rejection_reasons/{id} HTTP/1.1
Host:
Authorization: YOUR_API_KEY
Accept: */*
No content