This API retrieves the details of all types of progress pay event present in the given agreement from a project. You can retrieve a single event using Id or multiple events from an agreement.
Required Privilege: API_AGREEMENT
Headers
Header Name |
Description |
Required |
Values |
---|---|---|---|
Authorization |
Access token |
Required |
Bearer <access_token> |
Content-Type |
Request type format |
Required |
application/JSON |
Body
URL Format: Get https://{host}/Smat/V1/Projects(‘:project’)/Disciplines(‘:discipline’)/Nls(‘:language’)/PurchaseOrders(‘:key1’)/ProgressPayEvents(':key2')
Specify values for the project, discipline, language, and key parameters in the URL. The project, discipline, and language together, define the project environment. The key1 parameter defines the purchase order ID (PohId) and key2 defines the progress pay events ID (AttpId).
To retrieve all the payment events, use the following URL.
Get https://{host}/Smat/V1/Projects(‘:project’)/Disciplines(‘:discipline’)/Nls(‘:language’)/PurchaseOrders(‘:key1’)/ProgressPayEvents
Sample Code
GET http://localhost:63180/SMAT/V1/Projects('RS')/Disciplines('PIPING')/Nls('English')/PurchaseOrders(10000142039)/ProgressPayEvents(10000137116)
Success Response
Status: 200 OK
{
"@odata.context": "http://localhost:57101/SMAT/V1/$metadata#Projects('RS')/Disciplines('PIPING')/Nls('English')/PurchaseOrders(10000142039)/ProgressPayEvents/$entity",
"AttpId": 10000137116,
"PohId": 10000142039,
"DpId": 5020,
"ProjId": "RS",
"OrderSeq": 1,
"PpeId": 10000004855,
"PpeCode": "DEMO_PPE",
"ShortDesc": null,
"Description": null,
"PlanCompletionDate": null,
"PaymentPercent": 0,
"PaymentWeeks": 0,
"CostValue": 0,
"PaymentDate": null,
"LockedInd": "N",
"ManualInd": "N",
"DeliveryInd": "N",
"ActualPaymentDate": null
}
Element |
Description |
Type |
---|---|---|
DpId |
Unique ID of the discipline to which the given progress pay event belongs. |
Integer |
ProjId |
Unique ID of the project to which the given progress pay event belongs. |
String |
OrderSeq |
Order sequence |
Integer |
PpeId |
Unique ID of the progress pay event |
Integer |
PpeCode |
Code of the progress pay event. |
String |
ShortDesc |
Language dependent short description of progress pay event. |
String |
Description |
Language dependent description of the progress pay event. |
String |
PlanCompletionDate |
Planned completion date for the progress pay event. |
DateTimeOffset |
PaymentPercent |
Payment percentage associated with the progress pay event. |
Integer |
PaymentWeeks |
Refers to the number of weeks for payment related to the progress pay event. |
Integer |
CostValue |
The cost value of the progress pay event. It provides information about the financial value associated with the PPE. |
Integer |
PaymentDate |
The date when the payment for the progress pay event is scheduled or will be made. |
DateTimeOffset |
LockedInd |
Indicates whether the progress pay event is locked or not, Available values are Y and N and default value is N. |
String |
ManualInd |
Indicates whether the progress pay event is manually managed or automated. Available values are Y and N and default value is N. |
String |
DeliveryInd |
Indicates whether the progress pay event is successfully delivered or not. Available values are Y and N and default value is N. |
String |
ActualPaymentDate |
The actual date when the payment for the progress pay event was made. |
DateTimeOffset |