Update Existing Promise to Pay Type
put
/obedm-ptp-services/ptptype/{id}
This endpoint is used to Update an existing Promise To Pay Type.
Request
Supported Media Types
- application/json
- application/xml
Path Parameters
-
id: string
Key of the Promise to Pay Type Maintenance.
Header Parameters
-
appId: string
Application identifier for identification.
-
branchCode: string
Branch code of the user or request origin.
-
contentType(optional): string
Content type of the request payload.
-
tenantId(optional): string
Tenant identifier for request payload.
-
userId: string
User identifier for authentication and authorization.
Request Body that contains data required for updating an existing Promise To Pay Type.
Nested Schema : GenericDto
Match All
Show Source
-
object
GenericDto-allOf[0]
Discriminator:
resource_type
Nested Schema : GenericDto-allOf[0]
Type:
objectDiscriminator:
resource_typeNested Schema : DmTmPTPTypeDTO-allOf[1]
Type:
Show Source
object-
DmTmPtpTypeAlertConfigDTO(optional):
array DmTmPtpTypeAlertConfigDTO
An array of alert configurations associated with the PTP (Promise to Pay) type.
-
DmTmPtpTypeSegmentsDTO(optional):
array DmTmPtpTypeSegmentsDTO
An array of segments associated with the PTP (Promise to Pay) type.
-
graceDays(optional):
integer
The number of grace days allowed for the PTP (Promise to Pay) type.
-
ptpTypeCd(optional):
string
The code for the PTP (Promise to Pay) type.
-
ptpTypeDescr(optional):
string
The description for the PTP (Promise to Pay) type.
-
ruleCd(optional):
string
The code for the rule associated with the PTP (Promise to Pay) type.
-
thresholdPer(optional):
number
The threshold percentage for the PTP (Promise to Pay) type.
Nested Schema : DmTmPtpTypeAlertConfigDTO
Type:
arrayAn array of alert configurations associated with the PTP (Promise to Pay) type.
Show Source
Nested Schema : DmTmPtpTypeSegmentsDTO
Type:
arrayAn array of segments associated with the PTP (Promise to Pay) type.
Show Source
Nested Schema : DmTmPtpTypeAlertConfigDTO
Type:
Show Source
object-
commMode(optional):
string
Communication mode
-
eventType(optional):
string
Event type
-
id(optional):
string
ID
-
ptpTypeMasterId(optional):
string
PTP type master ID
-
recipientType(optional):
string
Recipient type
-
remDays(optional):
integer
Remaining days
-
ruleCd(optional):
string
Rule code
-
sequence(optional):
integer
Sequence
-
templateCd(optional):
string
Template code
Nested Schema : DmTmPtpTypeSegmentsDTO
Type:
Show Source
object-
id(optional):
string
ID
-
ptpTypeMasterId(optional):
string
PTP type master ID.
-
segmentCd(optional):
string
Segment code
Response
Supported Media Types
- application/json
- application/xml
200 Response
Returns updated Promise to Pay Type.
Nested Schema : ResponseResourceSupport
Type:
objectNested Schema : items
Type:
object400 Response
Malformed syntax.
401 Response
Request does not have sufficient credentials.
403 Response
Request is not authorized.
405 Response
Invalid input
500 Response
Internal error