Edit defense sectionsAsk AIput https://api.staging.payrails.io/dispute/disputes/{disputeId}/evidences/representment-sectionsReplace all defense sections for a dispute. The representment plan must be in EvidencesReady status.Path ParamsdisputeIduuidrequiredIdentifier of the resource in Payrails.Body Paramssectionsarray of objectsrequiredlength ≥ 1Complete list of defense sections. Replaces all existing sections for the dispute.sections* objectpositionintegerrequired≥ 0Position of the section in the defense document.indentintegerrequired≥ 0Indentation level of the section.sectionTypestringenumrequiredType of defense section.TextPictureAllowed:TextPicturetextSectionTitlestringTitle of the text section. Required when sectionType is Text.textSectionContentstringContent of the text section. Required when sectionType is Text.pictureSectionEvidenceIduuidLinked evidence identifier. Required when sectionType is Picture.pictureSectionLabelstringLabel for the picture section.ADD objectHeadersx-idempotency-keyuuidrequiredIdempotency key to be used. Sending again the same key would return the same result without re-executing the update.Responses 200Defense sections replaced successfully. 400Bad Request. 401Unauthorized. 403Forbidden. 404Not Found. 409Conflict. 429Too Many Requests. 500Internal Server Error.Updated about 1 month ago