Get All Promise to Pay Detail by Account ID
get
/obedm-ptp-services/ptp/{type}
This endpoint is used to Get all Promise to Pay details by account ID.
Request
Supported Media Types
- application/json
- application/xml
Path Parameters
-
type: string
Type to define detail or history.
Query Parameters
-
accountId: string
Account ID for getting all Promise To Pay detail.
Header Parameters
-
appId: string
Application ID for getting all Promise To Pay detail.
-
branchCode: string
Branch Code for getting all Promise To Pay detail.
-
contentType(optional): string
Content Type for getting all Promise To Pay detail.
-
tenantId(optional): string
Tenant ID for getting all Promise To Pay detail.
-
userId: string
User ID for getting all Promise To Pay detail.
Response
Supported Media Types
- application/json
- application/xml
200 Response
Returns the quick Promise To Pay detail based on given account id.
Root Schema : PTPCollection
Type:
object
Collection of Promise to Pay.
Show Source
-
data(optional):
array data
-
lookupDtoMap(optional):
object lookupDtoMap
Additional Properties Allowed: DmTmLookupTypeDTO
Nested Schema : DmPTPDto
Type:
Show Source
object
-
accountId(optional):
string
Account ID for DM PTP DTO
-
cancelReasonCode(optional):
string
Cancelled Reason code for PTP
-
createdBy(optional):
string
PTP Created by user id
-
createdDtTm(optional):
string
Created PTP date and time
-
currencyCode(optional):
string
Currency Code for PTP DTO
-
id(optional):
string
ID of DM PTP DTO
-
lastBy(optional):
string
Last updated PTP user
-
lastUpdateDtTm(optional):
string
Last time and date update PTP
-
notes(optional):
string
Notes of PTP
-
promiseAmount(optional):
string
Promise amount for PTP DTO
-
promiseDate(optional):
string
Promise date for PTP
-
ptpTransactionDto(optional):
array ptpTransactionDto
PTP transactional DTO
-
ptpTypeCode(optional):
string
PTP type code for PTP DTO
-
receivedAmount(optional):
string
Received amount for PTP DTO
-
status(optional):
string
Status of PTP
-
taskId(optional):
string
Task ID for DM PTP DTO
Nested Schema : PTPTransactionDto
Type:
Show Source
object
-
id(optional):
string
The unique identifier for the PTP Transaction.
-
origReferenceNumber(optional):
string
The original reference number for the PTP transaction.
-
ptpMasterId(optional):
string
The unique identifier for the PTP master record.
-
referenceNumber(optional):
string
The reference number for the PTP transaction.
-
transactionAmount(optional):
string
The amount of the PTP transaction.
-
transactionDate(optional):
string
The date the PTP transaction occurred.
-
transactionType(optional):
string
The type of PTP transaction that occurred.
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 : DmTmLookupTypeDTO-allOf[1]
Type:
Show Source
object
-
DmTmLookupCodeDTO(optional):
array DmTmLookupCodeDTO
-
lookupTypeCd(optional):
string
The code representing the type of the lookup.
-
lookupTypeDesc(optional):
string
A description of the type of the lookup.
-
sysDefFlg(optional):
boolean
A flag indicating whether this lookup is a system default.
-
sysDefStatus(optional):
string
The status of the system default lookup.
Nested Schema : DmTmLookupCodeDTO
Type:
Show Source
object
-
enabledFlg(optional):
boolean
The flag indicating if the lookup is enabled.
-
id(optional):
string
The unique identifier for the lookup.
-
lookupCd(optional):
string
The code for the lookup.
-
lookupDesc(optional):
string
The description for the lookup.
-
lookupTypeMasterId(optional):
string
The unique identifier for the lookup type of this lookup.
-
seqNo(optional):
integer
Minimum Value:
0
Maximum Value:999
The sequence number of the lookup. -
subCodeOne(optional):
string
The first sub-code for the lookup.
-
subCodeTwo(optional):
string
The second sub-code for the lookup.
-
sysDefFlg(optional):
boolean
The flag indicating if the lookup is system-defined.
400 Response
Malformed syntax.
401 Response
Request does not have sufficient credentials.
403 Response
Request is not authorized.
500 Response
Internal error