Clones an existing pay condition rule set. The cloned rule set will have the same rules and settings as the original, but will not be associated with any award package. If no name is provided, the name will be '{original name} - Copy'.

Request

POST http:///api/v2/business/{businessId}/payconditionruleset/clone

Path parameters

Parameter name Value Description Additional
businessId string Required

Request body

The request body takes a complete ClonePayConditionRuleSetRequest resource, containing the following writable properties:

{
    "id": "int32",
    "name": "string"
}

Properties

Name Type Description
id int32 Int32
name string String

Response

The following HTTP status codes may be returned, optionally with a response resource.

Status code Description Resource
201 Created

Created

NzPayConditionRuleSetApiModel
404 Not Found

Not Found

ProblemDetails