Batch Update Rules of Credit

put

/api/restapi/ruleOfCredit/batch

Send a request to this endpoint to update one or more rules of credit. For each JSON object provided in the request body, an application object with a matching ID value will be updated to reflect the JSON contents.

Request

There are no request parameters for this operation.

Supported Media Types
Request Body - application/json ()
Root Schema : List<ApiEntityRuleOfCreditInput>
Type: array
Title: List<ApiEntityRuleOfCreditInput>
Show Source
  • ApiEntityRuleOfCreditInput
    Title: ApiEntityRuleOfCreditInput
    This entity represents a RuleOfCredit object, a unique RuleOfCredit object can be identified by the following combinations of the fields.
    • rocId
    • rocName,workspaceId
    • rocName,workspaceCode
Nested Schema : ApiEntityRuleOfCreditInput
Type: object
Title: ApiEntityRuleOfCreditInput
This entity represents a RuleOfCredit object, a unique RuleOfCredit object can be identified by the following combinations of the fields.
  • rocId
  • rocName,workspaceId
  • rocName,workspaceCode
Show Source
  • Allowed Values: [ "OWNED", "INHERITED" ]
    Deprecated. As of 23.12.
    The type of association in the relationship between the rule of credit and the workspace. Possible values are Owned and Inherited.
  • Read Only: true
    Deprecated. As of 23.10.
    The self-link to the object. This field is populated only in the responses generated by the batch create APIs.
  • milestones
    The milestones associated with the rule of credit.
  • Allowed Values: [ "MANUAL", "AUTOMATIC" ]
    The push down type of the rule of credit.
  • Unique identifier of the rule of credit.
  • Minimum Length: 1
    Maximum Length: 255
    The name of the rule of credit.
  • Allowed Values: [ "MANUAL", "ZERO_TO_ONE_HUNDRED" ]
    Determines how each milestone in a rule of credit can be progressed.
    Manual: Allows partial completion of a milestone, entered as a percentage.
    0/100%: Partial progress cannot be made when progressing a milestone. As soon as the milestone is selected, the milestone is 100% complete.
  • Read Only: true
    Deprecated. As of 23.10.
    Date when the record was last updated.
  • Minimum Length: 0
    Maximum Length: 60
    The user-specified identifier of a workspace.
  • The unique identifier for the workspace.The workspace object can also be identified by its unique criteria.
Nested Schema : milestones
Type: array
The milestones associated with the rule of credit.
Show Source
Nested Schema : ApiEntityRuleOfCreditMilestoneInput
Type: object
Title: ApiEntityRuleOfCreditMilestoneInput
Show Source
Examples

Back to Top

Response

200 Response

A collection of object IDs mapped to a canonical link of the object. For example - {"links":{"1":"https://[host]:[port]/api/restapi/[object]/1","2":"https://[host]:[port]/api/restapi/[object]/2"}}

400 Response

Invalid input for the rule of credit service. Verify the request contains valid data, then resubmit the request.
Back to Top