Entity Service
Entity Type - Custom Code Conf...
register custom code configurations of a entity type
1min
POST
https://{tenantSubdomain}.io/core/api/v2/entity/apps/{appId}/entity-type/{entityTypePluralName}/config/handlers
Path Parameters
appId
string
*
entityTypePluralName
EntityTypePluralName
*
Header Parameters
X-COREOS-REQUEST-ID
string
*
X-COREOS-TID
string
*
X-COREOS-ACCESS
string
*
X-COREOS-USERINFO
string
Body Parameters
body
CustomCodeCreateRequest
*
Description
Create new custom code for entityType
url
string
*
requestHeader
object
*
method
Method
*
wait
boolean
*
acceptableStatusCodes
number[]
raiseErrorOnStatusMismatch
boolean
methodName
string<create:onError | update:onError | apply_event:onError | create:onRequest | update:onRequest | apply_event:onRequest>
*
Responses
201
OK
SuccessResponse
data
object
*
request
Request
*
400
Bad request - The server is unable to process the request due to something that is perceived to be a client error.
ErrorResponse
error
Error
*
request
Request
*
401
Unauthorized - The client's identity is unknown to the server. Verify that you are accessing the correct tenant and that your client ID and client secret are valid on that Tenant.
ErrorResponse
error
Error
*
request
Request
*
404
Not found - The server can not find the requested resource.
ErrorResponse
error
Error
*
request
Request
*
Updated 25 Jun 2024
Did this page help you?