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(required): string
Key of the Promise to Pay Type Maintenance.
Header Parameters
-
appId(required): string
Application identifier for identification.
-
branchCode(required): string
Branch code of the user or request origin.
-
contentType: string
Content type of the request payload.
-
tenantId: string
Tenant identifier for request payload.
-
userId(required): 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:
object
Discriminator:
resource_type
Nested Schema : DmTmPTPTypeDTO-allOf[1]
Type:
Show Source
object
-
DmTmPtpTypeAlertConfigDTO:
array DmTmPtpTypeAlertConfigDTO
An array of alert configurations associated with the PTP (Promise to Pay) type.
-
DmTmPtpTypeSegmentsDTO:
array DmTmPtpTypeSegmentsDTO
An array of segments associated with the PTP (Promise to Pay) type.
-
graceDays:
integer
The number of grace days allowed for the PTP (Promise to Pay) type.
-
ptpTypeCd:
string
The code for the PTP (Promise to Pay) type.
-
ptpTypeDescr:
string
The description for the PTP (Promise to Pay) type.
-
ruleCd:
string
The code for the rule associated with the PTP (Promise to Pay) type.
-
thresholdPer:
number
The threshold percentage for the PTP (Promise to Pay) type.
Nested Schema : DmTmPtpTypeAlertConfigDTO
Type:
array
An array of alert configurations associated with the PTP (Promise to Pay) type.
Show Source
Nested Schema : DmTmPtpTypeSegmentsDTO
Type:
array
An array of segments associated with the PTP (Promise to Pay) type.
Show Source
Nested Schema : DmTmPtpTypeAlertConfigDTO
Type:
Show Source
object
-
commMode:
string
Communication mode
-
eventType:
string
Event type
-
id:
string
ID
-
ptpTypeMasterId:
string
PTP type master ID
-
recipientType:
string
Recipient type
-
remDays:
integer
Remaining days
-
ruleCd:
string
Rule code
-
sequence:
integer
Sequence
-
templateCd:
string
Template code
Nested Schema : DmTmPtpTypeSegmentsDTO
Type:
Show Source
object
-
id:
string
ID
-
ptpTypeMasterId:
string
PTP type master ID.
-
segmentCd:
string
Segment code
Response
Supported Media Types
- application/json
- application/xml
200 Response
Returns updated Promise to Pay Type.
Nested Schema : ResponseResourceSupport
Type:
object
Nested Schema : ResponseDto
Type:
Show Source
object
-
codes:
array codes
An array of response codes.
-
getResponse:
object NotesCollection
Collection of Notes.
-
id:
string
The ID of the response.
-
requestId:
string
The ID of the request associated with the response.
-
saveResponse:
object inlineResponse201
ID of the newly created order.
-
status:
string
The status of the response.
Nested Schema : codes
Type:
array
An array of response codes.
Show Source
-
Array of:
object ResponseCode
Response code for account.
Nested Schema : ResponseCode
Type:
object
Response code for account.
Show Source
-
arg:
string
The argument used in the response message.
-
args:
array args
The arguments used in the response message.
-
Code:
string
The code representing the response status.
-
Desc:
string
The description of the response status.
-
Language:
string
The language used for the response message.
-
Type:
string
The type of the response status.
Nested Schema : items
Type:
object
Nested Schema : NotesModel
Type:
object
Notes model
Show Source
-
accountId:
string
The unique identifier of the account for which the note is created.
-
actionId:
string
Action ID linked to the Note
-
alert:
string
Alert Flag
-
applyToAllAccounts:
boolean
Apply To All Accounts Flag
-
capturedBy:
string
The unique identifier of the user who captured the note.
-
caseId:
string
Case Id
-
createdDate:
string
Created Date
-
desc:
string
A description of the note.
-
notesId:
string
The unique identifier of the note.
-
notesType:
string
The type of the note.
-
status:
string
The status of the note.
400 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