Add a new promise
post
/obedm-ptp-services/ptp/create/{accountNumber}
This endpoint is used to add a new promise.
Request
Supported Media Types
- application/json
- application/xml
Path Parameters
-
accountNumber(required): string
Account Number
Header Parameters
-
appId(required): string
Application ID of promise
-
branchCode(required): string
Branch Code of promise
-
contentType: string
Content Type of promise.
-
tenantId: string
Tenant ID of promise.
-
userId(required): string
User ID of promise.
Request Body that contains data required for creating a new promise.
Root Schema : DmPTPDto
Type:
Show Source
object
-
accountId:
string
Account ID for promise
-
cancelReasonCode:
string
Cancelled Reason code for PTP
-
caseId:
string
Case ID for promise
-
createdBy:
string
PTP Created by user id
-
createdDtTm:
string
Created PTP date and time
-
currencyCode:
string
Currency Code promise
-
id:
string
ID of promise
-
lastBy:
string
Last updated PTP user
-
lastUpdateDtTm:
string
Last time and date update PTP
-
notes:
string
Notes of PTP
-
promiseAmount:
string
Promise amount promise
-
promiseDate:
string
Promise date for PTP
-
ptpTransactionDto:
array ptpTransactionDto
PTP transactional Object
-
ptpTypeCode:
string
PTP type code promise
-
receivedAmount:
string
Received amount promise
-
status:
string
Status of PTP
-
taskId:
string
Task ID for promise
-
taskTypeCd:
string
Task Type Code of the associated task.
Nested Schema : PTPTransactionDto
Type:
Show Source
object
-
id:
string
The unique identifier for the PTP Transaction.
-
origReferenceNumber:
string
The original reference number for the PTP transaction.
-
ptpMasterId:
string
The unique identifier for the PTP master record.
-
referenceNumber:
string
The reference number for the PTP transaction.
-
transactionAmount:
string
The amount of the PTP transaction.
-
transactionDate:
string
The date the PTP transaction occurred.
-
transactionType:
string
The type of PTP transaction that occurred.
Response
Supported Media Types
- application/json
- application/xml
201 Response
Returns message of promise is success or failure.
Headers
-
Location: string
URL of newly created promise
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