Request mock
name string Required format: "^[\w -]+$"
The name of the mock task
serviceType enum Required
Whether or not the mock is for an adapter or application service
Allowed values: Application Adapter
serviceName string Required
The adapter or application service name that contains the method to mock
method string Required
The name of the method that is being mocked
finishState enum Required
The finish state of the mock
Allowed values: success failure error
description string Optional Defaults to
A description of the mock task
delay integer Optional >=0Defaults to 0
The number of seconds to delay the completion of the mock
response list of any or boolean or integer or double or map from strings to any or string or null Optional
The response for the mock that matches the return value for the task method
Response The newly created task mock object
_id string format: "uuid"
The unique identifier for the mock task
name string format: "^[\w -]+$"
The name of the mock task
description string
A description of the mock task
serviceType enum
Whether or not the mock is for an adapter or application service
Allowed values: Application Adapter
serviceName string
The adapter or application service name that contains the method to mock
method string
The name of the method that is being mocked
finishState enum
The finish state of the mock
Allowed values: success failure error
delay integer
The number of seconds to delay the completion of the mock
response list of any or boolean or integer or double or map from strings to any or string or null
The response for the mock that matches the return value for the task method
created string format: "date-time"
The date and time when the mock was created
createdBy string
The id of user who created the mock task
lastUpdated string format: "date-time"
The date and time when the mock was last updated
lastUpdatedBy string
The id of user who last updated the mock task